Re: Struts 2 Access messages with JSTL instead of s:text

2014-06-02 Thread Alireza Fattahi
As mentioned the ${action.getText('sample')} will work, but this is JSTL method invocation and you need JSTL 2.2 (ex: tomcat 7)   ~Regards, ~~Alireza Fattahi On Friday, 30 May 2014, 16:20, Yaragalla Muralidhar wrote: you have to use fmt tags in jstl. Using jstl is a good idea. *Thanks an

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-30 Thread Yaragalla Muralidhar
you have to use fmt tags in jstl. Using jstl is a good idea. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, May 28, 2014 at 10:04 AM, Alireza Fattahi wrote: > In struts 2 the > > > > (is equivalent to...) > > JSTL:

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-27 Thread Lukasz Lenart
2014-05-28 6:34 GMT+02:00 Alireza Fattahi : > Meanwhile, I tried to find a way to pass textprovider to jsp. But I could not > find a way > > public class BaseActionSupport extends ActionSupport{ > > //Same as ActionSupport > private TextProvider Provider; //with setter and getter

Struts 2 Access messages with JSTL instead of s:text

2014-05-27 Thread Alireza Fattahi
In struts 2 the      (is equivalent to...)     JSTL: ${pageTitle} I use JSTL version which is more compact. Can we do the same thing with application messages?! To get text from message resources we do as below:     Now, is there any JSTL version insteadof `` ?  -- Meanwhile,

Access messages with JSTL instead of s:text

2014-05-24 Thread Alireza Fattahi
In struts 2 the (is equivalent to...) JSTL:${pageTitle} I use JSTL version which is more compact. Can we do the same thing with application messages?! To get text from message resources we do as below: Now, is there any JSTL version instead of  ? Meanwhile, I