On 11 May 2015 at 13:01, Flavio Cysne <[email protected]> wrote: > As sebb said you can use __V() similarly to __P().
Not yet, you cannot. __V() does not (currently) provide a default if the variable is undefined. > There's also the > __javaScript as one of the alternatives. Another, is using __eval() as it > will process the content of the named variable and return the resulted > variable content. I don't see how __eval() could be used to return a default if the variable is not defined, but perhaps I'm missing something. > As Erez said there's the alternative of using a BeanShell > pre-proceasor and, as well, the __BeanShell() function. > > __javaScript() function is the least performatic of the alternatives, > followed closely by BeanShell. There is also a Jexl funtion, which may be more efficient, as well as JSR223 elements that can use other scripting languages such as Groovy. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
