Element Id inside datalist do not render correctly
--------------------------------------------------
Key: TOMAHAWK-1316
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1316
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Data List
Affects Versions: 1.1.6
Environment: - jdk 1.6
- Server: glassfish 2
Reporter: Nguyen Vu Tuan Nam
The element id were rendered incorrect the first time but render correctly from
the second time.
The first time:
<span id="investorList">
<span id="orderList[0]">
<input type="checkbox" name="orderList[0]_6:unHoldCash"
id="orderList[0]_6:unHoldCash" value="false" />
</span>
</span>
The second time:
<span id="form:investorList">
<span id="form:investorList:0:orderList">
<input type="checkbox" name="form:investorList:0:orderList:6:unHoldCash"
id="form:investorList:0:orderList:6:unHoldCash" value="true">
</span>
</span>
Source:
<t:dataList id="investorList" layout = "simple"
value="#{EODOrderSummary.investorOrders}" var="investorOrder"
rowIndexVar="parentIndex" forceIdIndex="true" forceId="true">
<t:dataList id ="orderList" layout="simple"
value="#{investorOrder.placedOrders}" var="orderSummaryInfo"
rowIndexVar="childIndex" forceIdIndex="true" forceId="true">
<t:selectBooleanCheckbox id="unHoldCash"
value="#{orderSummaryInfo.unHoldEnabled}"
rendered="#{orderSummaryInfo.buyingOrder && orderSummaryInfo.diffAmount > 0 &&
EODOrderSummary.today}" />
EODOrderSummary scope is request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.