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]

Reply via email to