struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Null values for Nested object properties after Form submission.
Date Wed, 26 Nov 2014 12:12:50 GMT
2014-11-26 12:36 GMT+01:00 Arpan <arpan.debroy@gmail.com>:
> Hi,
>
> I have a nested bean object, whose properties I am able to load in my jsp
> and I can see the values.
> But after Form submission, I am getting null values of the properties of
> the nested object in my action.
> I am implementing ModelDriven<ConfigBean> interface.
> ConfigBean has 'application' as its nested bean, which has 'portNumber'
> property.
> I am using all the getter and setter methods.
>
> <s:textfield name="application.portNumber" />
>
> Can anyone suggest anything.

Missing default constructor of 'application' ?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message