Re: [T5] using GridPager without a grid

2007-06-29 Thread Howard Lewis Ship
I don't see why it couldn't be refactored that way, in terms of current page and number of pages. As always, adding a bug to JIRA is the best way to keep these from getting misplaced. On 6/29/07, Dan Adams <[EMAIL PROTECTED]> wrote: GridPager looks like it could be used without Grid if it weren

[T5] using GridPager without a grid

2007-06-29 Thread Dan Adams
GridPager looks like it could be used without Grid if it weren't for its dependence on GridDataSource (which it looks like is only used for getting the number of rows). Could this component be changed to be more generally useful? I have a pager component from T4 that isn't quite as nice but very ve

Re: T5: Using GridPager

2007-06-22 Thread Joshua Jackson
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 witho

Re: T5: Using GridPager

2007-06-21 Thread Howard Lewis Ship
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 th

Re: T5: Using GridPager

2007-06-21 Thread Joshua Jackson
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

Re: T5: Using GridPager

2007-06-20 Thread Howard Lewis Ship
The TypeCoercer service translates a List parameter to a GridDataSource for the Grid. The Grid then passes the GridDataSource to the GridPager. On 6/19/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: Dear all, Can anyone give me a hint on how to use GridPager? There is a property called source w

T5: Using GridPager

2007-06-19 Thread Joshua Jackson
Dear all, Can anyone give me a hint on how to use GridPager? There is a property called source which is a GridDataSource. With Grid we can use a List object or array for the source. If I have a List object to be placed in GridPager, does this I have to make another class that implements GridDataS