Emil.I wrote:
Hello
i have a textfield with the name="firstName"
and a textfield with the name="address.city" etc..
the action is model driven where firstName is the property of model.
Since address is a property of action (not property of model)

how come address.city does not get set it doesn't eve go to the setter???
p.s model properties get set eg. firstName.value etc..

Is it possible that you don't have a getter for address?
OGNL will first check your model for an address property, shouldn't find it, then checks your action for an address property (and deeper in the stack). If you don't have a getter (getAddress()) it can't call the setter (getAddress().setCity(String)). Also ensure it can instantiate an address and set it (or that your action has created it)

Other than that I don't see why you can't do what you're attempting.

Hope that helps,
Jeromy Evans

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


Reply via email to