JSTL fmt:message and Struts 2 Tags Handling of MessageProperties

2010-11-23 Thread Nenad Kovacevic
I am using both JSTL (reference implementation of 1.2 spec) and struts 2.2.1 in my Web application, and I am noting incompatibilities in the way JSTL's fmt:message tag and corresponding Struts tags handle i18n. I have all i18n messages in MessageResources_locale.property files. Both JSTL fmt tags

Specify template to use for struts tag

2010-11-23 Thread Harsh C
Is there a way to specify a template to use for a struts tag, on a per tag basis e.g. I am trying to change the checkboxlist default LF so that it renders in a table. This is working fine. But if I want to use the default LF also, how do I do that. As of now, I copied the struts provided .ftl

Re: Specify template to use for struts tag

2010-11-23 Thread Dave Newton
Use the theme attribute. Dave On Tue, Nov 23, 2010 at 2:32 PM, Harsh C hchau...@gmail.com wrote: Is there a way to specify a template to use for a struts tag, on a per tag basis e.g. I am trying to change the checkboxlist default LF so that it renders in a table. This is working fine. But

Re: Specify template to use for struts tag

2010-11-23 Thread Harsh C
Thanks! Actually, I used the template attribute and it worked great. Now, I have access to the default ftl as well as to the templates that I am creating. On Tue, Nov 23, 2010 at 3:23 PM, Dave Newton davelnew...@gmail.com wrote: Use the theme attribute. Dave On Tue, Nov 23, 2010 at 2:32

Re: Specify template to use for struts tag

2010-11-23 Thread Dave Newton
That'll work too :) Glad you worked it out! Dave On Tue, Nov 23, 2010 at 3:39 PM, Harsh C hchau...@gmail.com wrote: Thanks! Actually, I used the template attribute and it worked great. Now, I have access to the default ftl as well as to the templates that I am creating. On Tue, Nov 23,

Re: Spring context for package

2010-11-23 Thread Josep María Formentí Serra
Scott, it's interesting, I didn't know that, but i would like to have different application context in the same war, specifically, i would like to have an application context for each package that is defined in struts.xml. Thanks, Josep Maria 2010/11/17 stanl...@gmail.com Josep -- I