I would try excluding the following as well: /WEB-INF/pages/pjm/ProjectMain.jsp
Since SiteMesh decorates both REQUEST and FORWARD, it decorates the request when it forwards from the action to the JSP. Matt On Sun, Jun 22, 2008 at 9:31 PM, tonylu880042 <[EMAIL PROTECTED]> wrote: > > I am encountering a strange problem to exclude the decorator. I can't get > rid > of the sitemesh's decorator. > I want to use the dojo script to construct my user interface for an action > call pjm.html. > Here is my action setting: > > <package name="gbike" extends="default" namespace="/gbike"> > <default-interceptor-ref name="autowiring"/> > <action name="pjm" class="com.Gbike.action.ProjectAction" > method="list"> > <result > name="success">/WEB-INF/pages/pjm/ProjectMain.jsp</result> > </action> > </package> > > I also copy the decorators.xml and modified it in the > src/main/webapp/WEB-INF/decorators.xml. > as following > <decorators defaultdir="/decorators"> > <excludes> > <pattern>/40*.jsp</pattern> > <pattern>/*ajax=true*</pattern> > <pattern>/gbike/*</pattern> > <pattern>/gbike/pjm.html</pattern> > <pattern>/gbike/pjm.html*</pattern> > <pattern>/scripts/dojo/*</pattern> > <pattern>/struts/dojo/*</pattern> > <pattern>/resources/*</pattern> > </excludes> > <decorator name="default" page="default.jsp"> > <pattern>/*</pattern> > </decorator> > </decorators> > Does anything I miss ? > -- > View this message in context: > http://www.nabble.com/fail-to-make-sitemesh-to-exclude-the-decorator-tp18061157s2369p18061157.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
