Hi,

  datascroller shows the page number when number of
total rows in the table exceeds the rows attribute of
datatable.

regards....
Arvind


--- Aneesha Govil <[EMAIL PROTECTED]> wrote:

> How many total rows do you have in the table? And
> what is the rows attribute
> of your datatable?
> 
> Regards,
> Aneesha
> 
> On 11/14/06, ying lcs <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > I am trying to build a dataScroller with page
> number like it here:
> >
> > http://www.irian.at/myfaces/dataScroller.jsf
> >
> > Here is my code, but when I test it, I can only
> see the buttons not
> > the page numbers in the above links. I think I
> have followed what is
> > done in the example as close as possible. Can you
> please tel me what
> > am I missing?
> >
> > Thank you.
> >
> >
> > <h:panelGrid columns="1"
> styleClass="scrollerTable"
> > columnClasses="standardTable_ColumnCentered" >
> >     <t:dataScroller id="scroll" for="#{tableName}"
> fastStep="10"
> >         pageCountVar="pageCount"
> pageIndexVar="pageIndex" immediate="true"
> >         styleClass="scroller" paginator="true"
> paginatorMaxPages="9"
> >        
> paginatorActiveColumnStyle="font-weight:bold;"
> >         paginatorTableClass="paginator">
> >         <f:facet name="first" >
> >             <t:graphicImage
> url="/images/arrow-first.gif"/>
> >         </f:facet>
> >         <f:facet name="last">
> >             <t:graphicImage
> url="/images/arrow-last.gif"/>
> >         </f:facet>
> >         <f:facet name="previous">
> >             <t:graphicImage
> url="/images/arrow-previous.gif"/>
> >         </f:facet>
> >         <f:facet name="next">
> >             <t:graphicImage
> url="/images/arrow-next.gif"/>
> >         </f:facet>
> >         <f:facet name="fastforward">
> >             <t:graphicImage
> url="/images/arrow-ff.gif"/>
> >         </f:facet>
> >         <f:facet name="fastrewind">
> >             <t:graphicImage
> url="/images/arrow-fr.gif"/>
> >         </f:facet>
> >     </t:dataScroller>
> > </h:panelGrid>
> >
> 



                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to