You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by John <jo...@jak.com> on 2006/06/27 22:58:00 UTC

[Tobago] - question on deprecated pageingLength in Sheet

If this method is deprecated, what is the preferred method of
dynamically setting the number of rows per page to be displayed based on
a value in a backing bean?
 
BTW: This doesn't seem to work when you set this to a backing bean
method. It results in a classCastException. Funny thing is it's an error
casting String to String.
 
Thanks,
 
John

Re: [Tobago] - question on deprecated pageingLength in Sheet

Posted by Udo Schnurpfeil <ud...@schnurpfeil.de>.
Hi John,

"pagingLenth" was renamed to "rows", because it is the "standard name" 
in JSF.

Do you have a stacktrace for the funny thing? It seems to work in the 
tobago-example-demo.

Regards

Udo

John schrieb:
> If this method is deprecated, what is the preferred method of 
> dynamically setting the number of rows per page to be displayed based on 
> a value in a backing bean?
>  
> BTW: This doesn't seem to work when you set this to a backing bean 
> method. It results in a classCastException. Funny thing is it's an error 
> casting String to String.
>  
> Thanks,
>  
> John