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
message resources --- 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

Accessing message resources

2007-04-05 Thread David Harland
Hi, 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 Thanks Dave. Need Mail bonding? Go to

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

accessing message resources from tile definitions

2004-11-18 Thread Jeff Bowes
Hi, Is there a way to access message-resources that you would normally access with a jsp tag in a tile definition in the tile-defs file. I am using the tiles version included with Struts 1.1. Thanks, Jeff Bowes -- Jeff Bowes M.Sc. DBA/Technical Architect, Xenbase Department of Biological Scie