Hello,
I'm using the richfaces datascroller component, but when clicking on the page-links nothing happens (only the the table and page-links are rendered). My xhtml-code looks like:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:head>
<meta http-equiv="content-type"
content="application/xhtml+xml;charset=UTF-8" />
<f:view encoding="UTF-8" contentType="application/xhtml+xml" />
<h:outputStylesheet name="portal.css" library="css" />
<title>Test Search</title>
</h:head>
<h:body>
<h1>My Test</h1>
<h:form id="form1">
<h:commandButton value="Search" action="#{testSearchBean.search}" />
</h:form>
<h:panelGrid>
<rich:dataTable value="#{testSearchBean.mydata}" var="model"
id="table1" rows="5">
<rich:column>
<f:facet name="header">
<h:outputText value="vert" />
</f:facet>
<h:outputText value="#{model.vert}" />
</rich:column>
</rich:dataTable>
<rich:dataScroller for="table1" maxPages="20" />
</h:panelGrid>
</h:body>
</html>
The Backing bean ist Request scoped (@Model).
What else do I have to do or what's wrong with it?