Re: [OS-webwork] ModelDriven and ParametersInterceptor

2003-08-21 Thread roughley
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

RE: [OS-webwork] ModelDriven and ParametersInterceptor

2003-08-21 Thread Jason Carreira
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

[OS-webwork] ModelDriven and ParametersInterceptor

2003-08-21 Thread Marko Lahma
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