I am using
sun-appserver9.1
Sun's JavaServer Faces implementation (1.2_04-b20-p03)
trinidad libs v 1.2.8

Am 30.06.2008 um 12:00 schrieb Burghard Britzke:

I provide the following jsp

<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0"
          xmlns:f="http://java.sun.com/jsf/core";
          xmlns:h="http://java.sun.com/jsf/html";
          xmlns:tr="http://myfaces.apache.org/trinidad";>
        <jsp:directive.page contentType="text/html; charset=UTF-8"/>
<jsp:text><![CDATA[<?xml version="1.0" encoding="UTF-8" ?>]]></ jsp:text>
  <f:view>
    <tr:document title="Rulesets">
            <tr:form>
<tr:table var="row" value="#{ManagedBean.list}" rows="4"> <tr:column sortProperty="id" sortable="true" align="right"> <f:facet name="header"><h:outputText value="id"/ ></f:facet>
                     <tr:outputText value="#{row.id}"></tr:outputText>
                  </tr:column>
                  <tr:column sortProperty="name" sortable="true">
<f:facet name="header"><h:outputText value="Name"/></f:facet> <tr:outputText value="#{row.name}"></ tr:outputText>
                  </tr:column>
               </tr:table>
            </tr:form>
    </tr:document>
   </f:view>
</jsp:root>

the list() method of ManagedBean delivers a list of seven rows with an int id and String name. the table renders 4 rows and put the row navigator widgets on the top of the table. but when I click on the navigator widgets it does not navigate to the next page. but it requests a new list from the ManagedBean. even when I try to sort - only a new list ist requested from the ManagedBean but it is not sorted.
did I miss something?


Reply via email to