Hello All,
I'm tring to display datagrid with scrolling capability. I'm able to display values on the first page of dataGrid. However, when I click on the ">>" button, I get blank table.
Please have a look at my code and tell me what am I missing?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> . . . <rich:panel> <f:facet name="header"> <h:outputText value="Some Test"></h:outputText> </f:facet> <h:form> <rich:dataGrid value="#{echo.res}" var="res1" columns="2" elements="4"> <rich:panel> <f:facet name="header"> <h:outputText value="#{res1.contentCategoryCode} #{res1.contentCategoryName}"></h:outputText> </f:facet> <h:panelGrid columns="2"> <h:outputText value="URL:" styleClass="label"></h:outputText> <h:outputText value="#{res1.linkUrl}" /> </h:panelGrid> </rich:panel> <f:facet name="footer"> <rich:datascroller></rich:datascroller> </f:facet> </rich:dataGrid> </h:form> </rich:panel>
Any clues/answers? Or it is not working in RichFaces 3.1.4 SR1 and PortletBridge 1.0.0.x and is a known issue? If yes, what are the alternatives?
Thanks for the help.