Philip Constantinou
2007-09-22 22:25:32 UTC
Hi folks -
I'm wondering what the best solution is for supporting multiple forms on
one page. To make the requirements a little more complex, I'd like to
support the following:
* Forms operate independently and the design does not prohibit
action beans used in other places.
* Forms should be pre-populated when you enter the page based on the
default event handlers.
* Form validation should work so errors appear on the correct fields
but not on the form that was not submitted.
* The form that was not validated/was not submitted should continue
to be pre-populated with the defaults.
Can stripes do this somehow?
I always find myself hacking around my inability to do this elegantly.
Sometimes I just create one big ActionBean, sometimes I use el to plug
in values in non-stripes elements but I think the time has come for to
do defer to the experts to see how this is really done.
Thanks in advance -
Phil
I'm wondering what the best solution is for supporting multiple forms on
one page. To make the requirements a little more complex, I'd like to
support the following:
* Forms operate independently and the design does not prohibit
action beans used in other places.
* Forms should be pre-populated when you enter the page based on the
default event handlers.
* Form validation should work so errors appear on the correct fields
but not on the form that was not submitted.
* The form that was not validated/was not submitted should continue
to be pre-populated with the defaults.
Can stripes do this somehow?
I always find myself hacking around my inability to do this elegantly.
Sometimes I just create one big ActionBean, sometimes I use el to plug
in values in non-stripes elements but I think the time has come for to
do defer to the experts to see how this is really done.
Thanks in advance -
Phil