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
        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: