selectOneMenu « JPA « JSF Q&A

1.  and lazy loading from hibernate

In my JSF application I have quite simple piece of code. I want user to choose one value from collection in <h:selectOneMenu>:

<h:selectOneMenu value="#{bean.value}">
  <f:selectItems value="#{dao.valuesFromDb}" />
#{bean.value} is of type Region, ...

2. selectOneMenu do not render/display value

Made a post earlier about this topic (Display values in drill-down SelectOneMenus). The problem that have is not connected to the Object converters as I first thought. I have two selectOneMenu ...

3. JSF selectonemenu question

Hi All, I need some help with JSF selectonemenu used along with Hibernate. I was trying an example of populating a selectonemenu from a database table. The database has two tables, one with students, and other with their advisors. The student table has advisors as a foregin key. I am populating my JSF page with list of advisors from the advisor ...