[richfaces-issues] [JBoss JIRA] Commented: (RF-3614) Sorting a dataTable changes seam-link
Bernard Labno (JIRA)
jira-events at lists.jboss.org
Mon Sep 1 12:23:39 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-3614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12427665#action_12427665 ]
Bernard Labno commented on RF-3614:
-----------------------------------
The same happens when filtering is turned on :
------ xhtml snippet ---------------------------------------------------------------------------------------------------
<rich:dataTable value="#{users}" var="listUser" id="usersList" rows="5">
<rich:column filterBy="#{listUser.username}" filterEvent="onkeyup">
<f:facet name="header">#{messages.username}</f:facet>
#{listUser.username}
</rich:column>
<rich:column>
<s:link value="#{messages.block}" action="#{userManager.block}" rendered="#{listUser.active}"/>
<s:link value="#{messages.unblock}" action="#{userManager.unblock}" rendered="#{not listUser.active}"/>
</rich:column>
</rich:dataTable>
<rich:datascroller for="usersList" maxPages="20"/>
------------------------------------------------------------------------------------------------------------------------------
> Sorting a dataTable changes seam-link
> -------------------------------------
>
> Key: RF-3614
> URL: https://jira.jboss.org/jira/browse/RF-3614
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Environment: RichFaces 3.2.1.GA
> JBoss Seam 2.0.2.SP1
> JSF 1.2 + Facelets 1.1.14
> JBoss 4.2.2.GA
> JDK 1.5.0_11
> Reporter: Rainer Flicker
> Assignee: Tsikhon Kuprevich
> Fix For: 3.2.2
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Sorting a dataTable changes seam-link. Before sorting the list, seam-link opens the appropriate
> item. After sorting, seam-link always opens the last item of the unsorted list. Selecting for example
> item 10 of 20 opens after sorting always item 20.
> ------ xhtml snippet ---------------------------------------------------------------------------------------------------
> <rich:dataTable value="#{hazards}" var="hazard">
> <rich:column sortBy="#{hazard.name}">
> <f:facet name="header">
> <h:outputText styleClass="headerText" value="name" />
> </f:facet>
> <h:outputText value="#{hazard.name}"></h:outputText>
> </rich:column>
> <s:link action="#{hazardDetailsManager.select(hazard)}" >
> <h:graphicImage url="/img/buttons/edit.gif"></h:graphicImage>
> </s:link>
> </rich:column>
> </rich:dataTable>
> ------------------------------------------------------------------------------------------------------------------------------
--
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
More information about the richfaces-issues
mailing list