[S2] using

2007-04-05 Thread paul . edmondson
Hello, I've been trying to use but come across a problem when using it with to set parameters on the action url. From the documentation there is an example: Which should results in However the actual result when trying this example from the browser is: id="link1"

Re: [S2] using

2007-04-05 Thread paul . edmondson
Thanks for the advice. Your example does work and is a little bit neater than the example. I'll use you suggested way from now on. It might be an idea to either update the documentation to use this method or to raise a bug as the documented example does not work. Thanks again, Paul.

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 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 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 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