struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Accessing message resources
Date Thu, 05 Apr 2007 11:44:44 GMT
--- David Harland <harlander3000@yahoo.com> wrote:
> How do you use ognl to access resources outside of a
> class that extends ActionSupport. eg the struts 2
> equivalent to Resources.getMessage  but
> getText() instead

I'm not aware that you'd normally use OGNL for that;
the <s:text.../> and <s:i18n.../> tags are what (I
think?) would be used on a JSP page.

The last I heard there were some issues with
<s:i18n.../> for 2.0.6; searching JIRA may shed some
light on current status.

d.



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message