Ok so I don't need to manually fill the rowsPerPage property in my html page.

Another question: Why does my search results dissapear everytime I
click the page link? And when I do a search again, the result goes to
that page I clicked previously. How do I maintain the state of search
result without having to lose it everytime I click the page link?

On 6/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Grid defines a rowsPerPage parameter, and a rowsPerPage property that
is bound to to an indentically named parameter of GridPager (if memory
serves).

You can think of Grid as a facade around all the other GridXXX
components. It often duplicates the underlying components' parameters
and rewired them to its own parameters.

On 6/21/07, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Thanks for the reply Howard.
>
> It's working now. Only that I still can't figure out how to pass a
> parameter for the rowsPerPage property for GridPager. Do I have to
> process this rowsPerPage by myself in my Page, or is it already
> available and ready to use in other Component?
>
> Thanks in advance
>
> On 6/20/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > The TypeCoercer service translates a List parameter to a
> > GridDataSource for the Grid.
> >
> > The Grid then passes the GridDataSource to the GridPager.
>
> --
> Let's create a highly maintainable and efficient code
>
> YM!: thejavafreak
> Blog: http://www.nagasakti.or.id/roller/joshua/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Let's create a highly maintainable and efficient code

YM!: thejavafreak
Blog: http://www.nagasakti.or.id/roller/joshua/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to