Hello:

I am experiencing the same problem. Basically on a post to the form. the
nested beans are set to null. Is this right? Are we doing something wrong or
misunderstanding something here?????

<!-- here is the code fragment -->
<html:form>
...
<html:text name="userprofileForm" property="name" styleClass="select"/>
...
<html:text name="userprofileForm" property="profileWebAddress.mail"
styleClass="select"/> 
...
</html:form>
<!-- end code fragment -->

On the post, the object 'profileWebAddress' is null. Is this valid? Can
someone shine some light into this?

Please help.

Simon



-----Original Message-----
From: Chuck Stern [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 1:24 AM
To: Struts-User
Subject: Nested Beans on form not being updated


Hi,

I have a form with multiple beans on it but the nested beans are not getting
updated when I change the data and submit.  I use dot notation to display
the data from the beans and populate the form, that works great.  After
submitting, the nested beans are set to null.

I've tried putting the form bean in both request and session but get the
same results.  Any ideas?


Thanks,
Chuck


============================================================================
This message is intended only for the use of the Addressee(s) and may
contain information that is PRIVILEGED and CONFIDENTIAL. If you are not
the intended recipient, dissemination of this communication is prohibited.
If you have received this communication in error, please erase all copies
of the message and its attachments and notify [EMAIL PROTECTED]
immediately.
============================================================================

Reply via email to