Alec Leamas wrote:
> - The paging policy with a fixed number of numbered pages is hardcoded
> and can't be changed. Other policies e. g., overlap between pages 
>
Isn't that something you can handle inside your own GridDataSource? With the
page number, the number of results per page, the number of overlapping
items (ok, you need a separate parameter for that) it should be possible
return the correct entries.

> pages started at random points in the input vector is not possible. 
>
Maybe this works: 
Inject the Grid component into your page using
 @Component
 private Grid grid;
When setting up the result you set a random page - something like this:
 int numberOfPages = (int)(result.size()/grid.getRowsPerPage());
 grid.setCurrentPage( (int)(Math.random() * numberOfPages) );

> - It is not possible to change the overall rendering of a row e. g,, to
> to embed each <TR>...</TR> in a <DIV class=xxx> <TR>...</TR></DIV>. 
>
That is not valid XHTML 1.0 Strict

I do not know enough about the Grid component to write something about the
other questions. What I miss is the "columns" attribute from T4's Table
component...

Jesper

-- 
Jesper Zedlitz                   Dept. for Computer Science, CAU of Kiel
Room 1108                        Communication Systems Research Group
                                 Phone:    +49-(0)431-880-7279
Christian-Albrechts-Platz 4      Fax:      +49-(0)431-880-7615
24098 Kiel - Germany             [EMAIL PROTECTED]


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

Reply via email to