Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1849

subform in table not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha-2
    • 2.0.0-beta-1
    • Components
    • None

    Description

      The subform is setting a value on its facesBean to determine if it's the submitted subform.
      See org.apache.myfaces.trinidad.component.UIXSubform.setSubmitted()

      So when the subform is stamped, the value of the last row wins, since that's the final value saved to the facesBean. That means if you submit the last row everything is considered submitted, if you submit from other rows nothing is saved.

      Attachments

        1. 1849.patch
          11 kB
          Gabrielle Crawford

        Activity

          People

            gabrielle Gabrielle Crawford
            gabrielle Gabrielle Crawford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: