[
https://issues.jboss.org/browse/FORGE-697?page=com.atlassian.jira.plugin....
]
George Gastaldi updated FORGE-697:
----------------------------------
Fix Version/s: 2.0.0.Beta2
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
Components: Scaffold
Affects Versions: 1.1.1.Final
Environment: JBoss 7.1.1, forge 1.1.1
Reporter: Esteve Aviles
Priority: Minor
Labels: jpa2
Fix For: 2.0.0.Beta2
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira