<html-el:hidden property="command" value="save" /> the property is just a normal property defined in your form, and you can set a value... or via javascript: function submitForm(var) { self.document.yourform.command.value=var; self.document.yourform.submit(); } <html:button onclick="javascript:submitForm('save');" value="Save" title="Click to Save"... /> <html:button onclick="javascript:submitForm('add');" value="Add" title="Click to Add"... />
________________________________ From: Heidy Gutiérrez Guzmán [mailto:[EMAIL PROTECTED] Sent: Sat 16/09/2006 6:49 AM To: Struts Users Mailing List Subject: set value to an html:hidden in jsp page Hi I need to put value to an <html:hidden /> field in the own page jsp. Thanks ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]