Is firstChoice != null?

Regards
Rene

On Tue, 31 Oct 2006 20:32:40 +0800
 "Damar Thapa" <[EMAIL PROTECTED]> wrote:
Hi,

I have following classes:

Class Course(
        String title,
        String startDate.
        …..
        ….

}

and

Class Apply{

String studnetName;
Course firstChoice;
.....
…….
…..
}

In the apply form (page), I havae a field to accept course title from
the applicant  ie <h:inputText id="firstChoice"
value="#{applicant.firstChoice.title}"/>. Since title is unique, I can retrieve Course object for firstChoice properties later before saving Apply object. But, I am getting ""firstChoice": Error during model data update." error on "#{applicant.firstChoice.title} . Can somebody
on the list point me what am I missing?

Any pointers would be highly appreciated.

Thanks,

Damar

Reply via email to