You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Zimowski <zi...@gmail.com> on 2008/03/17 17:23:04 UTC

T5: 5.0.11 Grid's getRowsPerPage() is gone

After upgrading 5.0.10 to 5.0.11 Grid's getRowsPerPage() method is now
gone. What is the replacement, or alternative way at getting this
information?

-adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: 5.0.11 Grid's getRowsPerPage() is gone

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
The rowsPerPage getter/setter has probably been replaced by @Property - 
I'm sure it can be changed if you add an issue to JIRA.

-Filip

On 2008-03-17 17:23, Adam Zimowski wrote:
> After upgrading 5.0.10 to 5.0.11 Grid's getRowsPerPage() method is now
> gone. What is the replacement, or alternative way at getting this
> information?
> 
> -adam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: 5.0.11 Grid's getRowsPerPage() is gone

Posted by Adam Zimowski <zi...@gmail.com>.
https://issues.apache.org/jira/browse/TAPESTRY-2271

On Mon, Mar 17, 2008 at 12:42 PM, Adam Zimowski <zi...@gmail.com> wrote:
> Yes, I started looking at source and that's exactly what happened. I
>  believe in this case we probably want classic getter-setter combo for
>  outside code which may need to read/set these. I will add JIRA.
>
>     /**
>      * The number of rows of data displayed on each page. If there are
>  more rows than will fit, the Grid will divide up
>      * the rows into "pages" and (normally) provide a pager to allow
>  the user to navigate within the overall result
>      * set.
>      */
>     @Parameter("25")
>     @Property
>     private int _rowsPerPage;
>
>  This works fine when Tapestry uses grid internally
>
>
>
>  On Mon, Mar 17, 2008 at 11:23 AM, Adam Zimowski <zi...@gmail.com> wrote:
>  > After upgrading 5.0.10 to 5.0.11 Grid's getRowsPerPage() method is now
>  >  gone. What is the replacement, or alternative way at getting this
>  >  information?
>  >
>  >  -adam
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: 5.0.11 Grid's getRowsPerPage() is gone

Posted by Adam Zimowski <zi...@gmail.com>.
Yes, I started looking at source and that's exactly what happened. I
believe in this case we probably want classic getter-setter combo for
outside code which may need to read/set these. I will add JIRA.

    /**
     * The number of rows of data displayed on each page. If there are
more rows than will fit, the Grid will divide up
     * the rows into "pages" and (normally) provide a pager to allow
the user to navigate within the overall result
     * set.
     */
    @Parameter("25")
    @Property
    private int _rowsPerPage;

This works fine when Tapestry uses grid internally

On Mon, Mar 17, 2008 at 11:23 AM, Adam Zimowski <zi...@gmail.com> wrote:
> After upgrading 5.0.10 to 5.0.11 Grid's getRowsPerPage() method is now
>  gone. What is the replacement, or alternative way at getting this
>  information?
>
>  -adam
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org