Can you use nested properties with the Struts HTML custom tags
such that they populate a valueobject nested inside a ActionForm type.
<html:form name="/LoginAction.do" >
<table>
<tr>
<td>Username<td>
<td>
<html:text name="ejb.valueobject.username" maxlength="16" />
</td>
</tr>
<td>Password<td>
<td>
<html:password name="ejb.valueobject.password" maxlength="16" />
</td>
</tr>
</table>
</form>
I would like my action form populated like so:
getEjb().getValueObject().setPassword( "password-entered" );
Does this work ?
--
Peter Pilgrim | | ++44 (0)207-545-9923
.... \ \ ___ / / ... .
- ---- ( * ) --- --
_____________________________Cafe_Savannah,_San Antonio,Ibiza__
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.