Re: extending a template

2007-09-25 Thread Lally Singh
Similar question as above, I'm extending a theme. Only problem is that the classloader can't seem to find the existing themes for inheritance. For the simple reason that my code works when I leave the theme to xhtml, I know that the jar's in the classpath. My theme extends xhtml, which extends s

Re: extending a template

2007-06-24 Thread Zarar Siddiqi
You might want to post your JSP code. But I thinks specifying the 'template' and 'theme' attributes of your JSP tag should do the trick. I blogged about this a while back: http://arsenalist.com/2007/04/11/struts-2-form-control-templates/ Also make sure that when you extract your template/theme

Re: extending a template

2007-06-24 Thread Mansour
I am not sure if that's what I need. As I mentioned in my original post, I have extracted the ajax them to /template/ajax and modified the template submit.ftl. The problem now is how to reference this template from my JSP. I DON'T want to change the theme. I need it to be ajax for this page.

Re: extending a template

2007-06-24 Thread Musachy Barroso
http://cwiki.apache.org/WW/extending-themes.html musachy On 6/23/07, Mansour <[EMAIL PROTECTED]> wrote: Hello every one: I couldn't find an answer to this simple question on struts doc site. I need to modify the template for the submit button and remove the tag surrounding it in ajax theme. I

extending a template

2007-06-23 Thread Mansour
Hello every one: I couldn't find an answer to this simple question on struts doc site. I need to modify the template for the submit button and remove the tag surrounding it in ajax theme. I extracted submit.ftl from struts jar (I am using 2.0.6). Did the modification I need, and now can not ref