Then it must be me, then, because my Struts is not finding the form.
In the Action.perform() method "form" parameter is a NullPointerException!
--
Peter Pilgrim          |  |        ++44 (0)207-545-9923
            .... \  \  ___   /  / ... .
            -   ----  ( * )  ---   --
_____________________________Cafe_Savannah,_San Antonio,Ibiza__



---------------------------------------- Message History 
----------------------------------------


From: Matt Raible <[EMAIL PROTECTED]> on 25/09/2001 07:52 MST

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Nested properties and HTML custom tags


We are doing this successfully - we just put getters/setters in the Form for
the VO.

Matt

--- Peter Pilgrim <[EMAIL PROTECTED]> wrote:
>
> 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.
>
>


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com





--

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.


Reply via email to