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.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Armin Töpfer
created issue -
Armin Töpfer
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | TestIdProject.rar [ 11851 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8.2 [ 10190 ] | |
Assignee Priority | P3 | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Invalid [ 6 ] |
Ken Fyten
made changes -
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Salesforce Case | [] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P3 |