Hi,
I was wondering if anyone had any good suggestions or patterns on how to
process a form without using Form.onSubmit and model objects?
The reason I want to do this is that my pages are stateless, and I want to
process the submitted form before all the components on the page are
initialised, incase I need to load different data models, or redirect the
request to another page, thus saving unnecessary database calls and
component initialisation.
At the moment what I am doing is processing the form by directly reading the
page parameters in the constructor before I add any components to the page,
and then redirecting the request or initializing the page as appropriate
(bypassing the use of Form.onSubmit).
It would strike me that for mainly stateless pages this would be useful, I
believe it is something Tapestry 5 supports quite nicely.
Rgs,
Joel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]