problem with datascroller
scphantm.scphantm.gmail.com Jun 11, 2009 12:02 AMim not sure if this is a seam thing or a richfaces thing but here goes.
<rich:dataGrid id="coupList" var="promos" value="#{regBackingEJB.promoResponseTO.promos}" rows="1"> <h:outputText value="#{promos.title}" /> <h:outputText value="#{promos.detail}" /> <h:outputText value="#{promos.screenTerms}" /> </rich:dataGrid> <rich:datascroller id="coupscroll" for="coupList" pageIndexVar="currentPage" pagesVar="totalPages"> <f:facet name="first"> <h:outputText value="First" styleClass="scrollerCell" /> </f:facet> <f:facet name="first_disabled"> <h:outputText value="First" styleClass="scrollerCell" /> </f:facet> <f:facet name="last"> <h:outputText value="Last" styleClass="scrollerCell" /> </f:facet> <f:facet name="last_disabled"> <h:outputText value="Last" styleClass="scrollerCell" /> </f:facet> <f:facet name="previous"> <h:outputText value="Previous" styleClass="scrollerCell" /> </f:facet> <f:facet name="previous_disabled"> <h:outputText value="Previous" styleClass="scrollerCell" /> </f:facet> <f:facet name="next"> <h:outputText value="Next" styleClass="scrollerCell" /> </f:facet> <f:facet name="next_disabled"> <h:outputText value="Next" styleClass="scrollerCell" /> </f:facet> </rich:datascroller>
it renders my list fine and the scroll bars are fine. problem is it won't navigate the list. from firefox i get this in my error console
Error: J.dispatchEvent is not a function Source File: http://localhost:8080/_master/a4j/g/3_2_2.SR1/org/ajax4jsf/framework.pack.js Line: 1706
ideas?