You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2008/05/01 21:17:10 UTC
Re: Add pipes to a datascroller pagination
I don't know for sure if this is enough to help you, but dataScroller
can take an optional output element. Perhaps you can output your own
formatted values using that technique:
For example, you can use this instead of (or in addition to) the
standard paginated list:
<h:outputFormat value="{0} records found, displaying
{1} records, from {2} to {3}. Page {4} / {5}" styleClass="standard" >
<f:param value="#{rowsCount}" />
<f:param value="#{displayedRowsCountVar}" />
<f:param value="#{firstRowIndex}" />
<f:param value="#{lastRowIndex}" />
<f:param value="#{pageIndex}" />
<f:param value="#{pageCount}" />
</h:outputFormat>
On 4/28/08, tejapraveen <ja...@gmail.com> wrote:
>
>
>
> tejapraveen wrote:
> >
> > Hi everybody
> >
> > Iam new to Jsf and Myfaces.Is there possibility to get the Pipe or Divider
> > in DataScroller?
> >
> > Iam using datascroller in that scroller i want to use pipe(|)symbol.In jsf
> > or myfaces how to implement that.If any body know the solution for this
> > please send reply as soon as possible
> >
> > example: Like such type of pipe symbol(|) i want to use in between those
> > number
> >
> > < 1 | 2 | 3 | 4| 5 | >
> >
> > So please kindly response my request
> >
> > Venkat
> >
> >
> >
> >
> >
>
>
> Thanks for your reply.
>
>
> But iam unable to write custom datascroller.Iam new to jsf so please can you
> provide any samples regarding implementing custom datascroller
>
>
>
> Venkat
>
>
> --
> View this message in context: http://www.nabble.com/Add-pipes-to-a-datascroller-pagination-tp16833974p16936675.html
>
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>