Nested variables

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Nested variables

Horoshiy
Hi all!
I need some construction in template:
[[${@someService.findSomebodyForUserAndAge(58, 36)}]]
How I can replace arguments by ${user.id} and ${user.age}?
I tried include [[..]], but catch exception
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Nested variables

Metroids
[[${@someService.findSomebodyForUserAndAge(user.id, user.age)}]]

No need for extra brackets once you're already in a ${} expression.
Loading...