Hi Serge,

> Is there any guarantee that the hidden form value (contactId) would be set
> on the ActionBean before getContact is called? Is it the form order that
> determines this? I have no idea.

The way this is used, there is a guarantee in that first, parameters are
bound and that includes the hidden form value. So setContactId is called.
getContact() can then be used in the event handler to get the contact,
and/or in the JSP to render the result, because event handling occurs
after parameter binding, and rendering the view (resolution execution
which is a forward to the JSP) occurs after event handling.

Hope that helps.

Cheers,
Freddy




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to