From: "Néstor Boscán" <[EMAIL PROTECTED]>
How can I use <html:multibox /> or <html:checkbox /> with values that are
stored in the request or page context?. I would like to do something like
<html:multibox value="<%= request.getAttribute (\"value\") %>"/> without
using the <% %> tags. Is there a way to use the JSTL Expression Language
or
tell the <html:multibox /> tag to get the value from an attributo?.
You can... but the typical way to handle this is to put those values into
your form bean. Do this in the Action, then forward to the JSP and let the
framework render the correct values in the HTML form elements.
If you use the 'value' attribute directly in the tags, you lose the ability
to re-display the user's incorrect input if the form fails validation.
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]