I've been bashing my head against a brick wall on this one so maybe someone can help ease the pain... Within a single form I have several buttons. Each button has an ID associated with it and a name. What I would like to do is show the name to the user and submit the ID to my action when it's clicked. IE is the browser of choice here, so please don't offer any Opera/FireFox/Safari/etc./etc./etc. specific work arounds because the people I'm demonstrating this to are an IE house. Any ideas? Al
For those interested I've already tried; <s:iterator value="formDetails.buttons"> <s:submit type="button" name="buttonId" value="%{id}" cssStyle="width:150px"><s:property value="%{name}"/></s:submit> </s:iterator> but that just submits the button name. I've tried; <s:iterator value="formDetails.buttons"> <s:submit type="button" label="%{name}" name="buttonId" value="%{id}" cssStyle="width:150px"/> </s:iterator> but that has the same result :(. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]