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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.5.Final, 1.3.0.Final
    • Fix Version/s: 1.3.1.Final
    • Component/s: Scaffold
    • Labels:
      None
    • Workaround Description:
      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.

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vineet.reynolds Vineet Reynolds
                  Reporter:
                  vineet.reynolds Vineet Reynolds
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: