Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.8.1
-
Fix Version/s: 1.8.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Maven 2.1.0,
ICEfaces 1.8.1,
Facelets
-
ICEsoft Forum Reference:
Description
If you try to pass the var of an <ice:panelSeries> element to the id parameter of its children, the var gets ignored.
Code snippet to reproduce:
private String[] id = new String[]{"1","2","3","asdf"};
<ice:panelSeries value="#{storageBean.id}" var="item">
<ice:panelGroup id="asdf#{item}">
<ice:outputText id="out#{item}" value="#{item}" />
</ice:panelGroup>
</ice:panelSeries>
I am expecting this after the first iteration:
<div id="j_id8:j_id9:0:asdf1" class="icePnlGrp">
<span id="j_id8:j_id9:0:out1" class="iceOutTxt">1</span>
</div>
This is what gets rendered:
<div id="j_id8:j_id9:0:asdf" class="icePnlGrp">
<span id="j_id8:j_id9:0:out" class="iceOutTxt">1</span>
</div>
Sample project attached to the forum post.
Code snippet to reproduce:
private String[] id = new String[]{"1","2","3","asdf"};
<ice:panelSeries value="#{storageBean.id}" var="item">
<ice:panelGroup id="asdf#{item}">
<ice:outputText id="out#{item}" value="#{item}" />
</ice:panelGroup>
</ice:panelSeries>
I am expecting this after the first iteration:
<div id="j_id8:j_id9:0:asdf1" class="icePnlGrp">
<span id="j_id8:j_id9:0:out1" class="iceOutTxt">1</span>
</div>
This is what gets rendered:
<div id="j_id8:j_id9:0:asdf" class="icePnlGrp">
<span id="j_id8:j_id9:0:out" class="iceOutTxt">1</span>
</div>
Sample project attached to the forum post.
Sample project to reproduce bug.