[richfaces-issues] [JBoss JIRA] Created: (RF-3614) Sorting a dataTable changes seam-link

Rainer Flicker (JIRA) jira-events at lists.jboss.org
Mon Jun 2 11:52:20 EDT 2008


Sorting a dataTable changes seam-link
-------------------------------------

                 Key: RF-3614
                 URL: http://jira.jboss.com/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


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list