]
George Gastaldi closed FORGE-697.
---------------------------------
Fix Version/s: (was: 1.x Future)
Resolution: Cannot Reproduce Bug
Couldn't reproduce the issue. Please reopen if still occurs in the Forge 2.x versions.
Thanks
For Faces scaffold selectOneMenu not working with LAZY properties
-----------------------------------------------------------------
Key: FORGE-697
URL:
https://issues.jboss.org/browse/FORGE-697
Project: Forge
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Scaffold
Affects Versions: 1.1.1.Final
Environment: JBoss 7.1.1, forge 1.1.1
Reporter: Esteve Aviles
Priority: Minor
Labels: jpa2
When using JSF scaffold we get the following generated code for @ManyToOne relation:
<h:selectOneMenu converter="#{clubBean.converter}"
id="clubFacilityBeanClubFacilityClub"
value="#{clubFacilityBean.clubFacility.club}">
<f:selectItem/>
<f:selectItems value="#{clubBean.all}"/>
</h:selectOneMenu>
When we annotate the property LAZY @ManyToOne(fetch=FetchType.LAZY) the selectOneMenu is
not selected with the current value in the create.xhtml file.
Is there any way to solve this situation?
Thanks in advance.
Regards