Hi Dan,
${bundle.messages[pageInput.helloWorld]}
should work perfectly, we use this syntax in a similar context.
Giovanni.
2007/3/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Grabbing internationalized values for static strings is straight forward
from a resource bundle. How do I grab an i18n string for a token that
would be returned from an object?
For instance,
${bundle.messages.helloWorld} for static hello String.
But let's say the value comes from pageInput:
${bundle.messages[${pageInput.helloWorld}]} and helloWorld can return
any number of tokens that are retrieved from the bundle.
I do not think scriplets play well either with this:
${bundle.messages[<%= helloWorld %>]}. Which processes first - the
scriplet of the ${}?
Any help would be gratefully appreciated.
Dan