Hi Wendy Thanks for the reply.
The problem is that in the form bean you only set the values of the <html:multibox /> or <html:checkbox /> that are selected, not all of them. So to draw all of them you need to take the values from somewhere else, tipically an object that is in request or session context. Regards, Néstor Boscán -----Mensaje original----- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: Sunday, August 14, 2005 4:37 PM Para: Struts Users Mailing List Asunto: Re: How to use <html:multibox /> with values stored in the request or page context 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]