Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4203

UIRepeat begin+end doesn't work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • None
    • None

    Description

      As described at https://github.com/javaee/javaserverfaces-spec/issues/1102 , UIRepeat should behave as c:forEach when given a begin and an end parameter, without any model.

      Mojarra impl already does that, as the deployment of the attached xhtml shows (althought it has some issues of her own on rerender).

      There's also a patch built on 2.3.0 version. Due to time restrictions, I couldn't make a unit test for the change, but the patched myfaces versions passes on all other tests and behaves on other jsf projects. Hope you can grab the changes.

      Attachments

        1. patch_4203_nullmodel.diff
          8 kB
          Paulo Cristovão de Araújo Silva Filho
        2. myfaces-spec1102-1.diff
          6 kB
          Paulo Cristovão de Araújo Silva Filho
        3. index.xhtml
          2 kB
          Paulo Cristovão de Araújo Silva Filho

        Issue Links

          Activity

            People

              tandraschko Thomas Andraschko
              pcristof Paulo Cristovão de Araújo Silva Filho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: