|
Has anyone done this? Can it be done?
Thanks |
|
Yes.
On Fri, Apr 13, 2012 at 2:01 PM, jlopes151 <[hidden email]> wrote: > Has anyone done this? Can it be done? > > Thanks |
|
For primitive values , you refer to them directly in the mappers e.g #{value}
For objects , you refer to object fields directly .... e.g #{age} if there is only one parameter .if there is more than one object parameters you can qualify them with the parameter name .e.g #{person.age}
regards. Josh.
On Fri, Apr 13, 2012 at 11:11 PM, Larry Meadors <[hidden email]> wrote: Yes. |
|
In reply to this post by jlopes151
Thanks
Sent from my Verizon Wireless Phone Larry Meadors <[hidden email]> wrote: >Yes. > >On Fri, Apr 13, 2012 at 2:01 PM, jlopes151 <[hidden email]> wrote: >> Has anyone done this? Can it be done? >> >> Thanks |
|
In reply to this post by jlopes151
Thanks for the help.
Sent from my Verizon Wireless Phone Josh Kamau <[hidden email]> wrote: >For primitive values , you refer to them directly in the mappers e.g >#{value} > >For objects , you refer to object fields directly .... e.g #{age} if there >is only one parameter .if there is more than one object parameters you can >qualify them with the parameter name .e.g #{person.age} > >regards. >Josh. > >On Fri, Apr 13, 2012 at 11:11 PM, Larry Meadors <[hidden email]>wrote: > >> Yes. >> >> On Fri, Apr 13, 2012 at 2:01 PM, jlopes151 <[hidden email]> wrote: >> > Has anyone done this? Can it be done? >> > >> > Thanks >> |
|
In reply to this post by jlopes151
What would the method signature lool like?
CallMyMethod(@Param("names") String names, MyObject myobject) Sent from my Verizon Wireless Phone Josh Kamau <[hidden email]> wrote: >For primitive values , you refer to them directly in the mappers e.g >#{value} > >For objects , you refer to object fields directly .... e.g #{age} if there >is only one parameter .if there is more than one object parameters you can >qualify them with the parameter name .e.g #{person.age} > >regards. >Josh. > >On Fri, Apr 13, 2012 at 11:11 PM, Larry Meadors <[hidden email]>wrote: > >> Yes. >> >> On Fri, Apr 13, 2012 at 2:01 PM, jlopes151 <[hidden email]> wrote: >> > Has anyone done this? Can it be done? >> > >> > Thanks >> |
|
CallMyMethod(@Param("names") String names, @Param("MyObject")MyObject myobject)
then you refer to the object in the mapper as #{myobject.property} When ever you use more than 1 parameter, put @Param on both parameters
Josh
On Fri, Apr 13, 2012 at 11:37 PM, James Lopes <[hidden email]> wrote: What would the method signature lool like? |
|
In reply to this post by jlopes151
Thanks
Sent from my Verizon Wireless Phone Josh Kamau <[hidden email]> wrote: >CallMyMethod(@Param("names") String names, @Param("MyObject")MyObject >myobject) > >then you refer to the object in the mapper as #{myobject.property} > >When ever you use more than 1 parameter, put @Param on both parameters > >Josh > >On Fri, Apr 13, 2012 at 11:37 PM, James Lopes <[hidden email]> wrote: > >> What would the method signature lool like? >> CallMyMethod(@Param("names") String names, MyObject myobject) >> >> Sent from my Verizon Wireless Phone >> >> Josh Kamau <[hidden email]> wrote: >> >> >For primitive values , you refer to them directly in the mappers e.g >> >#{value} >> > >> >For objects , you refer to object fields directly .... e.g #{age} if there >> >is only one parameter .if there is more than one object parameters you can >> >qualify them with the parameter name .e.g #{person.age} >> > >> >regards. >> >Josh. >> > >> >On Fri, Apr 13, 2012 at 11:11 PM, Larry Meadors <[hidden email] >> >wrote: >> > >> >> Yes. >> >> >> >> On Fri, Apr 13, 2012 at 2:01 PM, jlopes151 <[hidden email]> >> wrote: >> >> > Has anyone done this? Can it be done? >> >> > >> >> > Thanks >> >> >> |
| Powered by Nabble | Edit this page |
