struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Crossley <jcross...@ifleet.com>
Subject Re: BeanUtils/RequestUtils Populate question
Date Tue, 02 Apr 2002 14:50:29 GMT
Hi Jon.  This would happen if your formbean was in "request" scope
(specified in struts-config.xml), but I wouldn't expect it to happen
in "session" scope.

Do you have a reset method defined on the formbean?  Could it be
causing problems?

-- Jim

"Jon.Ridgway" <Jon.Ridgway@upco.co.uk> writes:

> 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?

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message