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,