[forge-issues] [JBoss JIRA] (FORGE-914) Rework the handling of 1:M relationships by the Faces/RichFaces scaffold

Vineet Reynolds (JIRA) jira-events at lists.jboss.org
Wed May 22 10:37:06 EDT 2013


Vineet Reynolds created FORGE-914:
-------------------------------------

             Summary: Rework the handling of 1:M relationships by the Faces/RichFaces scaffold
                 Key: FORGE-914
                 URL: https://issues.jboss.org/browse/FORGE-914
             Project: Forge
          Issue Type: Task
          Components: Scaffold
    Affects Versions: 1.3.0.Final, 1.0.5.Final
            Reporter: Vineet Reynolds


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.

This task is a holder to fix such kind of issues in handling associations in the generated scaffold. Create sub-tasks as necessary for the individual issues that need fixing.


--
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


More information about the forge-issues mailing list