Details
- 
        Type: Improvement Improvement
- 
        Status: Closed
- 
            Priority: Major 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.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Attachment | TestIdProject.rar [ 11851 ] | 
| Salesforce Case | [] | |
| Fix Version/s | 1.8.2 [ 10190 ] | |
| Assignee Priority | P3 | |
| Assignee | Mark Collette [ mark.collette ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Resolution | Invalid [ 6 ] | 
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] | 
| Salesforce Case | [] | 
| Status | Resolved [ 5 ] | Closed [ 6 ] | 
| Assignee Priority | P3 | 
 
                            
Sample project to reproduce bug.