Always same id created for embedded tags while interating over table entries
----------------------------------------------------------------------------
Key: RF-8340
URL:
https://jira.jboss.org/jira/browse/RF-8340
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-ScrollableDataTable
Affects Versions: 3.3.2.SR1
Environment: MS Vista 64bit, IE8
Reporter: Manuel Fehlhammer
While iterating over the collection entries and creating rows, ScrollableDataTable always
assigns the same id to embedded images.
Example:
<rich:scrollableDataTable value="#{userReportManager.allUserReports}"
var="userReport">
<rich:column id="type"> <f:facet
name="header"><h:outputText styleClass="headerText"
value="#{bundle.tableHeaderReportType}"/></f:facet>
<h:graphicImage
id="employeeWorkdayReportIcon" value="images/time_sheet_16.png"/>
<rich:toolTip
for="employeeWorkdayReportIcon"
value="#{bundle.employeeWorkdayReportTitle}" />
</rich:column>
for all rows the id=j_id26:userReportList:0:employeeWorkdayReportIcon for the graphicImage
is created. I expect the counter in the middle of the id-String to be incremented.
Because of this bug the rich:tooltip for the image does not function.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira