Hi Oliver,

I don't. If I have a value object in a form bean and I and only wish to
alter a couple of its properties how can I do it. It would appear that
Struts will set any fields not referenced to null. If a property of the
valueObject returns a complex type ie a Map then I can't use the html:hidden
work round I'm currently using; so I just have to except that I'll loose my
map. Not very acceptable. 

Jon.

-----Original Message-----
From: Oliver Reflé [mailto:[EMAIL PROTECTED]] 
Sent: 02 April 2002 15:47
To: Struts Users Mailing List
Subject: RE: BeanUtils/RequestUtils Populate question

I think this is right, cause your form on the jsp represents the
form bean. So if you miss some data this data is set to null cause
the view represantion hasn't included the information



-----Original Message-----
From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 4:42 PM
To: 'Struts Users Mailing List'
Subject: BeanUtils/RequestUtils Populate question


Hi All,

I have a form bean that uses a value object. A specific form only access a
couple of the value objects properties. I would expect those not accessed to
be left alone upon form submittal. However I am finding that Struts (vi
RequestUtils.populate) is setting those fields not referenced in the JSP to
null.

This doesn't seem right to me, am I missing something? Has anyone else
experienced similar problems?

Jon.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to