Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-697

For Faces scaffold selectOneMenu not working with LAZY properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 1.1.1.Final
    • Scaffold

      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

            Unassigned Unassigned
            esteve_jira Esteve Aviles (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: