Jishnu Viswanath wrote:
Hi all,
        I would like to achieve something like this <s:text name=<s:
property value="someProperty" /> />

If your action extends ActionSupport, or implements TextProvider, or a TextProvider is in the ValueStack, then you can call one of the various getText() methods to access resources.

Something like the following should work:

<s:property value="getText(someProperty)"/>

ie. evaluate someProperty, then invoke the getText(String) method to get the resource with that name.



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

Reply via email to