Oops. Ognl method calls need the full name:

ognl:messages.getMessage('message.' + value)

Cheers,
Nick.


Paul Stanton wrote:
I couldn't get the ognl call to work. I got the exception:

Method "message" failed for object [EMAIL PROTECTED] java.lang.NoSuchMethodException
message(java.lang.String)

Could be a 4.1.1 thing vs 4.1.2

getMessages().getMessage(String) in my java class works however, so I'll use that.

Nick Westgate wrote:
I'm not working with T4, but if you control "value" carefully:

ognl:messages.message('message.' + value)

Cheers,
Nick.

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

Reply via email to