Re: [OT] Looking for a util to set parameters on an object

2008-04-23 Thread Adam Hardy
Greg Lindholm on 23/04/08 20:36, wrote: I have an object and a Map of parameter/values and I'm looking for a utility that will match up the parameters with the setters on the object, call the setters and handle conversions for primitive types. I know that OGNL is being used to do this on action

Re: [OT] Looking for a util to set parameters on an object

2008-04-23 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, ognl isn't that complicated as it seems. Look at http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html If you don't like it, try using java.reflection-api ;) Greg Lindholm schrieb: > I have an object and a Map of parameter/va

[OT] Looking for a util to set parameters on an object

2008-04-23 Thread Greg Lindholm
I have an object and a Map of parameter/values and I'm looking for a utility that will match up the parameters with the setters on the object, call the setters and handle conversions for primitive types. I know that OGNL is being used to do this on actions from the ParametersInterceptor. I t