Hi Lukasz,

Even after adding no-arg constructor, the properties of  nested
object(application) remains null.
But I am getting values of the properties of upper level object
'ConfigBean' properly.

Is there anything I am missing!

Thanks


On Wed, Nov 26, 2014 at 5:42 PM, Lukasz Lenart <lukaszlen...@apache.org>
wrote:

> 2014-11-26 12:36 GMT+01:00 Arpan <arpan.deb...@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-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to