I have the following in a jsp, I'm creating hidden forms to submit with
javascript when someone clicks on a table row:
<s:iterator value="people">
<s:set name="form_id" value="[0].id"/>
<s:form id="#form_id" action="personProfile">
<s:hidden theme="checkbox-fix" key="id"/>
</s:form>
</s:iterator>
I get the following HTML generated:
<form id="_form_id" name="personProfile"
action="/smc-appsuite/my-employees/personProfile" method="post">
<table class="wwFormTable">
<tr style="display: none"><td colspan="2">
<input type="hidden" name="id" value="3"
id="_form_id_id"/>/></td></tr>
</table></form>
Is there any way to do it other than not using s:form and using <form
id="<s:property..."?
This jsp is the same for 2 different namespaces, and I like the fact that I
can share it and struts automatically gives the correct namespace so the
correct profile page is shown...
Thanks,
Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]