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

Faces scaffolding omits fields in the create/edit/search views when they do not have setter methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.1.Final
    • 1.0.5.Final, 1.3.0.Final
    • Scaffold
    • None
    • Hide

      A possible workaround involves providing setters to all fields of the JPA entities being scaffolded. But this would not necessarily work in all cases.

      Show
      A possible workaround involves providing setters to all fields of the JPA entities being scaffolded. But this would not necessarily work in all cases.

      This is from the TicketMonster model. The create,edit and search views for the SectionAllocation and Ticket classes only list the current values of the entities. Creating new entities or editing of existing entities of such classes with user-specified values is not possible. Likewise, searching with a criteria is not possible.

      Both these JPA entities have one thing in common, in that they do not have setters for their fields.

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: