Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Thanks David, That has fixed my problem. I can now extend a template. I'll look forward to new inheritance implementation. Kind regards, Paul. On 3 Apr 2007, at 15:38, David H. DeWolf wrote: [EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with Stru

Re: [S2] Problems extending a theme

2007-04-03 Thread David H. DeWolf
[EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with Struts 2.0.6. I am in the process of creating my own theme and have added templates for various tree-*.ftl files. I've tried adding a theme.properties file with: parent = ajax However on ever page that

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Yes, my page is referencing the other templates e.g. actionerror. If you look at http://struts.apache.org/2.0.6/docs/extending- themes.html it states that: 'An extended theme does not need to implement every single template that the Struts Tags expect. It only needs to implement the templates

Re: [S2] Problems extending a theme

2007-04-03 Thread Ian Roughley
Wait - I think I see the issue. Have you extended the actionerror template as well as the tree-* templates? Is this template being referenced from within the tree-* template or as another tag on the page? /Ian [EMAIL PROTECTED] wrote: Hi Ian, I tried adding my theme in both the root of the

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Hi Ian, I tried adding my theme in both the root of the application and inside the WEB-INF/classes directory as from reading the source code both are used for pulling in themes/templates. I was going to try a build from the head of svn to see if the problem has been fixed along the way.

Re: [S2] Problems extending a theme

2007-04-03 Thread Ian Roughley
Is the template directory (from "/template/galleryadmin/actionerror.ftl") at the root of the web applications content files? /Ian [EMAIL PROTECTED] wrote: Hello again, After a day of still getting nowhere in trying to extend a template and having no response from the list. Should I add thi

Re: [S2] Problems extending a theme

2007-04-03 Thread paul . edmondson
Hello again, After a day of still getting nowhere in trying to extend a template and having no response from the list. Should I add this as a bug in Jira? Thanks, Paul. On 2 Apr 2007, at 12:37, [EMAIL PROTECTED] wrote: Hello all, I'm having problems extending a default theme with S

[S2] Problems extending a theme

2007-04-02 Thread paul . edmondson
Hello all, I'm having problems extending a default theme with Struts 2.0.6. I am in the process of creating my own theme and have added templates for various tree-*.ftl files. I've tried adding a theme.properties file with: parent = ajax However on ever page that I try and use any of the