You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jesper Zedlitz <jz...@informatik.uni-kiel.de> on 2008/03/15 19:37:27 UTC

detect if a page has been loaded via a grid's pager

Is there a way to detect if a page has been loaded with the context directly
or via a grid's pager?
 /book/entries/10
 /book/entries.grid.pager/2?t:ac=10

In the first case the onActivate method gets invoked only one time, using
the pager it will be invoked two times. But I do not know how to use that
information.

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             jze@informatik.uni-kiel.de


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


trouble with paged grids

Posted by Jesper Zedlitz <jz...@informatik.uni-kiel.de>.
I still have trouble with paged grids...

To make the problem clearer I wrote a minimal testcase.
http://www.comsys.informatik.uni-kiel.de/~jze/tapestry5-table.zip

The app shows several (mocked) addressbooks. The problem is that you do not
get the first tab of a grid after changing to a different tab even on
another addressbook.

1. select one of the addressbooks 
2. go to a different tab of the grid
3. follow the link back to this start page
4. select the other addressbook
=> you do not see the first tab but the one selected before

Does the new Grid.reset() method solve that problem? If yes - where do I
have to put the reset()?

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             jze@informatik.uni-kiel.de


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