I would suggest to cache the data in a property and get it from there. In T4 this can be done by simply declaring an abstract getter in the java class. Also, you might want to add 'volatile=true', as in this case storing the data in the form does not appear to be necessary. This would be optional, of course.

Lucas Grihander wrote:
Hello all,

Due to our pages design constraits, our filter pages
have the following format:

- Filter section
- Filtered data (contrib:Table + IBasicTableModel)
- Form buttons

The table has no form components, it only shows data.
But it's inside a form, so when we push the submit
button, the database is queried twice, one to
regenerate the state of the table, and one to render
it again. How could we avoid the state regeneration? I
guess in Tapestry 3.0 you can select between
contrib:Table and contrib:FormTable, but no in
4.0.10... am I right?

Thank you very much.


                
______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es

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



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

Reply via email to