Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Status Whiteboard:
      Hide

      size_medium importance_small

      Show
      size_medium importance_small

      Description

      UIRepeat and UIData do pretty much the same: iterate over a collection of items. There should be a common base class for this, encapsulating the complicated logic for saving/restoring and iterating the state of the "rows". Something like "UIIterate".

      Writing iterating components is very complicated at the moment. This base class should be easy to extend and also support any kind of data structures, not only "lists". Using an integer for the "row" iterating index is insufficient for creating "tree" components. A string or kind of indexing object would be much more flexible.

      UIRepeat and UIData could extend this class and provide the existing interface on top of it.

        Activity

        Mathias Werlitz created issue -
        Ed Burns made changes -
        Field Original Value New Value
        Status Whiteboard size_medium importance_small
        Ed Burns made changes -
        Assignee super_glassfish [ super_glassfish ] Ed Burns [ edburns ]
        Ed Burns made changes -
        Parent JAVASERVERFACES_SPEC_PUBLIC-935 [ 98258 ]
        Issue Type Improvement [ 4 ] Sub-task [ 5 ]
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Priority Critical [ 2 ] Trivial [ 5 ]
        Manfred Riem made changes -
        Priority Trivial [ 5 ] Major [ 3 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mathias Werlitz
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: