Hi The example demo is working as expected. I don't see anything strange. Could you try with the latest snapshots of myfaces core 2.0.x and tomahawk? I did some changes on the javascript part. It could be helpful to see the html output, to try to detect if there is an error on code generation.
best regards, Leonardo 2010/8/30 fionalee <[email protected]> > > > Leonardo, > > It seems that data scroller is not working on my page. > > http://old.nabble.com/file/p29577991/datascroller.jpg > > <t:dataTable id="sampleData" value="#{employeeBean.employees}" > var="employee" rows="5" preserveSort="true"> > <t:column sortable="true" sortAscending="false" > sortBy="#{employee.empId}"> > <f:facet name="header"> > <t:commandSortHeader > columnName="empid" arrow="true"> > <h:outputText value="Practice ID"/> > </t:commandSortHeader> > </f:facet> > <h:outputText value="#{employee.empId}"/> > </t:column> > <t:column sortable="true" sortBy="#{employee.empName}"> > <f:facet name="header"> > <t:commandSortHeader > columnName="empName" > arrow="true"> > <h:outputText value="Practice Name"/> > </t:commandSortHeader> > </f:facet> > <h:outputText value="#{employee.empName}"/> > </t:column> > <t:column> > <f:facet name="header"> > <h:outputText value="Department"/> > </f:facet> > <h:outputText value="#{employee.dept}"/> > </t:column> > </t:dataTable> > <div id="pagination-digg"> > > <t:dataScroller for="sampleData" fastStep="5" > pageCountVar="pageCount" > pageIndexVar="pageIndex" > paginator="true" > paginatorMaxPages="10" > layout="singleTable" > paginatorActiveColumnStyle="border: solid 1px > #9aafe5; margin:0 5px 0 0;"> > <f:facet name="previous"> > <h:outputText value="first" > firstStyleClass="previous-off" /> > </f:facet> > <f:facet name="previous"> > <h:outputText value="«Previous" > previousStyleClass="previous-off" /> > </f:facet> > <f:facet name="next"> > <h:outputText value="Next" > nextStyleClass="next-off"/> > </f:facet> > <f:facet name="next_disabled"> > <h:outputText value="last" > lastStyleClass="next-off"/> > </f:facet> > </t:dataScroller> > > Please help > Regards > Fiona > -- > View this message in context: > http://old.nabble.com/Incompatibility-of-Tomahawk-%2B-JSF-2-tp29537768p29577991.html > Sent from the My Faces - Dev mailing list archive at Nabble.com. > >
