On Today at 9:51am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote:

HR> [..snip..]
HR> 
HR> However, if I start using variables instead of values like 222, 555, e.g.:
HR>     ${stack.findValue("@@min(555, input)")}
HR> where input is defined as:
HR>     <#assign input="222"/>
HR> 
HR> I get the exception:
HR> 
HR> freemarker.core.InvalidReferenceException: Expression
HR> stack.findValue("@@min(555, input)") is undefined
HR> 
HR> Anyone have any similar experiences? Words of wisdom? I must be missing
HR> something simple.
HR> 
HR> I have tried using #input but that didn't work either.
HR> 

Go figure... As soon as I post the email, I figured it out (5 minutes 
later).

Use:
        stack.findValue("@@min(555, ${input})")

Works for me.

Sorry for the noise.
--
Haroon Rafique
<[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to