Finally i implemented my own sortmodel in my gridpage class which is rather a
clone of the grid's
DefaultGridSortModel.
I think, the event where the initial sort should be set is the pageLoaded event...but at that point
of time, the grids sortmodel isnt initialized yet and a NPE is thrown.
Probably Howard could give us some info, when the sort model gets initialized
in the grid class.
from Grid.java:
@Parameter
private GridSortModel _sortModel;
GridSortModel defaultSortModel()
{
return new DefaultGridSortModel();
}
does tapestry bind unset parameters named x (in our case _sortModel) automatically with the values
returned from defaultX() (defaultSortModel()) methods? if so, when?
best regards,
harald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]