ICEfaces
  1. ICEfaces
  2. ICE-10997

create icecore:repeat component which allows components access to repetition and resolved expressions when added to component tree

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ace
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      a looping parent component which allows the user to determine what is to be placed in the component attributes .
      for example (in the case of ace:panelStack)

      <icecore:repeat var="data" value="#{somebean.sequence}" >
          <ace:panelStack selectedId="#{data.selectedId}">
                <ace:stackPane id="pane1">
                     .....
                </ace:stackPane>
               <ace:stackPane id="pane2">
                    ....
               </ace:stackPane>
      </icecore:repeat>

      currently, use of c:forEach is limited in that myfaces causes exception as it requires static data in c:forEach. http://jira.icesoft.org/browse/ICE-10792
      A basic repeat tag could have it's own tag handler allowing it to act both like <ui:repeat> and <c:forEach> so that consideration is given while constructing the tree as well as within the tree

        Activity

        Hide
        Mircea Toma added a comment - - edited

        Implemented icecore:repeat component. It proivides iteration information by means of a additional variable defined by varStatus attribute. It can start iteration at a predefined index by defining the first attribute and/or iterate over a defined number of items when rows attribute is used.

        Show
        Mircea Toma added a comment - - edited Implemented icecore:repeat component. It proivides iteration information by means of a additional variable defined by varStatus attribute. It can start iteration at a predefined index by defining the first attribute and/or iterate over a defined number of items when rows attribute is used.
        Hide
        Mircea Toma added a comment -

        Added test application under icefaces4/trunk/icefaces/samples/core/test/repeat.

        Show
        Mircea Toma added a comment - Added test application under icefaces4/trunk/icefaces/samples/core/test/repeat .
        Hide
        Mircea Toma added a comment -

        Added TLD documentation for icecore:repeat component.

        Show
        Mircea Toma added a comment - Added TLD documentation for icecore:repeat component.
        Hide
        Ken Fyten added a comment -

        Also need a new Wiki topic for this component, under this page: http://www.icesoft.org/wiki/display/ICE/ICECORE+Components

        In the format of the others, etc.

        Show
        Ken Fyten added a comment - Also need a new Wiki topic for this component, under this page: http://www.icesoft.org/wiki/display/ICE/ICECORE+Components In the format of the others, etc.
        Hide
        Mircea Toma added a comment -

        Implemented store/restore EditableValueHolder data while iterating over the grand/children. This overrides UIData's implementation which requires a UIColumn for its direct children.

        Re-enabled row state saving.

        Show
        Mircea Toma added a comment - Implemented store/restore EditableValueHolder data while iterating over the grand/children. This overrides UIData's implementation which requires a UIColumn for its direct children. Re-enabled row state saving.
        Hide
        Mircea Toma added a comment -

        2) 4) Fixed issue by setting up the 'var' object when Faces event is broadcast.

        Show
        Mircea Toma added a comment - 2) 4) Fixed issue by setting up the 'var' object when Faces event is broadcast.
        Hide
        Mircea Toma added a comment -

        5) Fixed client ID matching in TableBean.menuListener method.

        Show
        Mircea Toma added a comment - 5) Fixed client ID matching in TableBean.menuListener method.
        Hide
        Mircea Toma added a comment - - edited
        Show
        Mircea Toma added a comment - - edited Added Wiki documentation: http://www.icesoft.org/wiki/display/ICE/repeat .
        Hide
        Ken Fyten added a comment -

        Re-opened to add a new icecore:repeat demo to the showcase.

        Contents can resemble the attached TextEntryIcecoreRepeat.xhtml file.

        Show
        Ken Fyten added a comment - Re-opened to add a new icecore:repeat demo to the showcase. Contents can resemble the attached TextEntryIcecoreRepeat.xhtml file.
        Hide
        Mircea Toma added a comment -

        Added showcase example.

        Show
        Mircea Toma added a comment - Added showcase example.
        Hide
        Ken Fyten added a comment -

        Showcase Demo Review Notes

        • Change desc text: "The icecore:repeat component is used to iterate child components over the items of a data source, such as java.util.Collection, array or java.sql.ResultSet. It can also provide iteration information by means of a additional variable."
        Show
        Ken Fyten added a comment - Showcase Demo Review Notes Change desc text: "The icecore:repeat component is used to iterate child components over the items of a data source, such as java.util.Collection, array or java.sql.ResultSet. It can also provide iteration information by means of a additional variable."
        Hide
        Mircea Toma added a comment -

        Updated component description.

        Show
        Mircea Toma added a comment - Updated component description.
        Hide
        Carmen Cristurean added a comment -

        Verified Jenkins ICEfaces4 trunk build #2402/ r50572 in all usual browsers.

        Show
        Carmen Cristurean added a comment - Verified Jenkins ICEfaces4 trunk build #2402/ r50572 in all usual browsers.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: