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

UIRepeat offset and size problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.1
    • None
    • Archetype
    • None

    Description

      I have found a problem with parameters offset and size of ui:repeat tag.
      offset sets the first index of the list to iterate over.
      size is the number of element to iterate.

      If you set a offset value greater than size you get an Exception:
      javax.faces.FacesException: iteration offset cannot be greater than collection size

      But it should be possible to iterate over last two elements of a 102 elements list starting from index 100, for example (offset=100,size=1).

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              rmore Ricard Moré
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: