Re: Sitemesh and Ajax
Ian Roughley <[email protected]> Mon, 11 Dec 2006 10:03:44 -0500
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <[email protected]> |
I'm a little surprised that the clean-up filter goes before the webwork filter. Are you using the ActionContext in custom written decorators? /Ian Jay Bose wrote: > I am using WebWork-2.2.4 and the Sitemesh-2.2.1. > > In the Webwork2 documentation for Sitemesh integration (http://wiki.opensymphony.com/display/WW/SiteMesh), users are directed to place the [b]ActionContextCleanUp[/b] 1st. Then the [b]SiteMesh filter[/b], and then the [b]FilterDispatcher[/b]. > > I was having a problem getting requests to work within filtered pages, and as an experiment I moved the [b]Sitemesh filter[/b] [i]above[/i] the [b]ActionContextCleanUp[/b]. This gave me the filter chain below. After this, my ajax calls began to connect. Any ideas why this order works, and not the documented version? > > [code] > <filter-mapping> > <filter-name>sitemesh</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > <filter-mapping> > <filter-name>webwork-cleanup</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > <filter-mapping> > <filter-name>webwork</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > [/code] > --------------------------------------------------------------------- > Posted via Jive Forums > http://forums.opensymphony.com/thread.jspa?threadID=52858&messageID=106447#106447 > > --------------------------------------------------------------------- > 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]