Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Harald Geritzer
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. Pr

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Andreas Pursian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Altering the code snippet from the wiki like this @Component ~private Grid taskGrid; @SetupRender ~public void setupGrid() { ~taskGrid.getSortModel().updateSort("columnName"); ~} work for me but produces the nasty side effect, t

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Harald Geritzer
See thanks, but the wiki seems to be outdated. since the sorting changed with 5.0.11 by introducing sortmodels updateSort does not exist anymore. i even tried to setting the sortmodels sortc

Re: [T5] Upload progress, grid sorting

2008-03-26 Thread Jesper Zedlitz
Harald Geritzer wrote: > how can i set the initial sortorder for a grid in tapestry 5.0.11? > See Jesper -- Jesper Zedlitz Dept. for Computer Science, CAU of Kiel Room 1108

[T5] Upload progress, grid sorting

2008-03-25 Thread Harald Geritzer
hi all, is there a way to extend the tapestry 5 upload component for some sort of ajax progress. seems that commons fileupload allows to hook in a ProgressListener for ServletFileUpload. My second question is, how can i set the initial sortorder for a grid in tapestry 5.0.11? thank you for