;Sent: 20 June 2007 17:26
>To: MyFaces Discussion
>Subject: Re: DataScroller - current page?
>
>Besides the fact you are using a way outdated version, there should be
>no reason you can't just show part of the results, I do it all the
>time in our application. You just have to
Besides the fact you are using a way outdated version, there should be
no reason you can't just show part of the results, I do it all the
time in our application. You just have to build a custom DataModel
class. Just extend DataModel.
Tips:
public int getRowCount:
Return the total number of rows
albartell gmail.com> writes:
>
> >Hope this helps you figure out what to focus on though.
>
> Thanks for your response. This gives me refined direction.
>
> >I don't have any solutions for you, since I always load the full data set
> into the table.
> This is also the approach I have taken,
bilities I need then I could justify the
upgrade, but until then I cannot :-(
Aaron Bartell
http://mowyourlawn.com
-Original Message-
From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 12:42 PM
To: MyFaces Discussion
Subject: Re: DataScroller - current page?
Albartell,
> My version of MyFaces is 1.0.7
>
This really isn't supported anymore.
As for your question, when rendering the dataScroller looks at the
"first" attribute of the dataTable. I suspect that since you are
limiting the dataset to 25, "first" always points to the first element
on the
5 matches
Mail list logo