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

Rework the handling of 1:M relationships by the Faces scaffold

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 3.x Future
    • 1.0.5.Final, 1.3.0.Final
    • Scaffold
    • None

    Description

      The generated Faces scaffold for 1:M relationships does not handle certain usability aspects.

      For example, a new row is automatically added by default when displaying a 1:M relationship upon create. However, unless the add button is clicked, the contents of the row are not added to the underlying managed bean. If the add button is not clicked, the contents of the row are not treated as a new item to be added. This is very confusing.

      Also, if bean validation is performed on the entities (in the rows of the 1:M relationship), and if it fails, then the contents need to be corrected, even though they may not be persisted in the database. Again, this is confusing behavior.

      Additionally, deletion of entities from the collection (1-side of the association) seems to be broken (FORGE-974).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: