dale, thanks for the run down and you are right that it is not smart to sit arround and wait. but in my work i have to be smart with spending time. some things i will have to leave as is :(.
the thing is that i have avery thing the way it should be. and i think its a bug or some complicated configuration issue. some kind of put this in front of that and it will work. and i don't mind at al that no one will solve this for me. i will found a quick work arround but it will bug me offcourse. and if i cant get it working probably more people will have this problem. and if i can fix it i can change appfuse so more people will be able to use it. i think the sitemesh is set up so it works correctly. only struts is in the way so when struts kicks in sitemesh will not work any more. and this only for the inlcude part example: <decorators defaultdir="/decorators"> <excludes> <pattern>/*ajax=true*</pattern> <pattern>/*decorate=false*</pattern> <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're not using Struts --> <pattern>/resources/*</pattern> <pattern>/newSubscribe.html*</pattern> <pattern>/newSubscribe.jsp*</pattern> <pattern>/thanks.html*</pattern> <pattern>/thanks.jsp*</pattern> </excludes> <decorator name="default" page="default.jsp"> <pattern>/*</pattern> </decorator> </decorators> newSubscribe.hml and newSubscribe.jsp are not decorated. works fine! other pages are decoreted <decorators defaultdir="/decorators"> <excludes> <pattern>/*ajax=true*</pattern> <pattern>/*decorate=false*</pattern> <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're not using Struts --> <pattern>/resources/*</pattern> <pattern>/thanks.html*</pattern> <pattern>/thanks.jsp*</pattern> </excludes> <decorator name="default" page="default.jsp"> <pattern>/newSubscribe.html*</pattern> <pattern>/newSubscribe.jsp*</pattern> </decorator> </decorators> now newSubscribe.jsp is decorated other page are not decorated this is fine. BUT newSubscribe.html is not decorated. this is either a bug but i exect it is some kind of ordering problem that sitemesh kicks in to late and the url is not matched any more. or the url must be different. or struts takes over and skips sitemesh al together. thanks for reading up to here ;) tibi Dale Newfield wrote: > tibi wrote: >> it seems that i'm not the only one having this problem: >> http://forums.opensymphony.com/thread.jspa?messageID=12404 > > That thread is over 2 years old, and was another example of someone > not configuring sitemesh correctly. > > There are a number of parts to the configuration and it can get tricky > to set up correctly, but once configured it does work. Let me give > you the rundown from the top. You can see where your setup doesn't do > what you expect. All of these should have detailed documentation online. > > web.xml: Tells the application server to use sitemesh. It specifies > a filter (probably > com.opensymphony.module.sitemesh.filter.PageFilter), the patterns on > which that filter will run ("/*" in my setup), and the types of > dispatch to which that filter will apply (REQUEST, FORWARD, INCLUDE > for me). > > sitemesh.xml: Tells sitemesh how to configure itself when filtering. > Specifies which mappers to use (in which order), how to parse the > page, what file to look in to find exclusions, other configuration. > > decorators.xml: Adds specific configuration for specific decorators > to which the mappers defined in sitemesh.xml might refer specific > requests. > >> hope they will come with a solution: >> http://forums.opensymphony.com/thread.jspa?threadID=238623 > > While we all wish you luck in solving your problems, we're all > volunteers here, and it's nobody's job but your own to solve your > problem. I would debug it from the beginning rather than sit around > hoping someone else is going to solve your problems for you. > > -Dale > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]