I want to get the values of a form in an action but the problem I have is that they get no value at all.
I have a button that submits the form but it is out of it...what can I do to get these values?
the button has to be outside of the form...
this is my code:
<html:form action="/sam/updateEntity">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<nested:iterate property="availableAttributes">
<tr>
<td valign="top" align="left" width="15%">
<img src="../images/spacer.gif" width="20"/><font class="label"><nested:write property="attribute.name"/>:</font>
</td>
<td width="85%">
<nested:nest property="attribute.attributeType">
<nested:equal property="name" value="single line text area">
<nested:text property="../../value" size="35"/>
</nested:equal>
<nested:equal property="name" value="check box">
<nested:checkbox property="../../value"/>
</nested:equal>
<nested:equal property="name" value="drop down menu">
<nested:select property="../../value">
<html
ption value=""> </html
ption>//this is an empty option, do not change it
<nested
ptions property="../possibleValuesAsStringArray"/>
</nested:select>
</nested:equal>
<nested:equal property="name" value="multi line text area">
<nested:textarea property="../../value" rows="4" cols="28"/>
</nested:equal>
</nested:nest>
</td>
</tr>
</nested:iterate>
<tr>
<td height="10"> </td>
</tr>
<tr>
<td colspan="2">
<hr>
</td>
</tr>
</table>
</html:form>
more code in between....
<html:form action="/sam/updateEntity">
<input type="image" src="../images/button_save_bold.gif" alt="Save Entity" title="Save Entity" accesskey="V">
</html:form>