Marko,
I use this same situation for a registration page - where you want a User object
as the model, and an additional field on only the action for the confirmed
password.
In this case, I do not implement the ModelDriven interface but have getUser()
and setUser() methods on the Action. The Par
t; Subject: [OS-webwork] ModelDriven and ParametersInterceptor
>
>
>
> First of all, thanks to everybody involved in WW/XWork for great work!
>
> When I looked into ParametersInterceptor I found this:
>
> // populate model bean's fields if action is ModelDriven
First of all, thanks to everybody involved in WW/XWork for great work!
When I looked into ParametersInterceptor I found this:
// populate model bean's fields if action is ModelDriven, otherwise
populate action's fields
if (action instanceof ModelDriven) {
OgnlUtil.setProperties(ActionContext.g