RE: Accessing message resources

2007-04-05 Thread Dave Newton
--- David Harland <[EMAIL PROTECTED]> wrote: > In struts 1 you could access the resource bundles > using Resources.getMessage from any class. How do you > do the same in struts 2 using getText. http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html#getTexts(ja

RE: Accessing message resources

2007-04-05 Thread David Harland
In struts 1 you could access the resource bundles using Resources.getMessage from any class. How do you do the same in struts 2 using getText. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 05 April 2007 12:45 To: Struts Users Mailing List Subject: Re: Accessing

Re: Accessing message resources

2007-04-05 Thread Dave Newton
--- David Harland <[EMAIL PROTECTED]> 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 and tags are what (I thin