Details
-
Type: New Feature
-
Status: Closed
-
Priority: 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
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
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.