Hi Daniel,

I'm fighting against Nabble :) I'm not at work now and can't post from my
address subscribed to maillist. The only you need now is to call .setFirst()
with apropriative item index (the first item of page2, calculate as
currentIndex - yourPageSize). It's the bug of DataModel.

daniel ccss wrote:
> 
> On 7/9/07, daniel ccss <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes in my bean I have this method. I have another question, that may help
>> me with this, also, How in my bean I can access the variables of the
>> PagedListDataModel, for example for change the value of the variable
>> _invalidated of that class?
> Well, exactly like any other class member :) Just define getter/setter for
> this property, i.e.
> public boolean isInvalidated(){
>   return _invalidated;
> }
> public void setInvalidated(boolean bInv){
>   this._invalidated = bInv;
> }
> 
> but I'm not sure if you need both... I'd add just
> public void Invalidate(){
>   this.invalidated = true;
> }
> I haven't this because my List is populated from external, but you are
> free to extend the code as you need :)
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomahawk%2BDataScroller%2BWorkingWithLargeTables-tf4016097.html#a11510971
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to