
|
If you were logged in you would be able to see more operations.
|
|
|
|
It appears that Sitemesh and the StaticFilter are working together to forbid the Dojo scripts embedded in struts2.jar to load.
|
|
Description
|
It appears that Sitemesh and the StaticFilter are working together to forbid the Dojo scripts embedded in struts2.jar to load. |
Show » |
Sort Order:
|
- Change the parser in sitemesh.xml to (commented out the 3 lines of HTMLPageParser):
<parser content-type="text/html" class="com.opensymphony.module.sitemesh.parser.FastPageParser"/>
- Added struts/dojo/* to the excludes part in the decorators.xml file.
<excludes>
<pattern>/struts/dojo/*</pattern>
<pattern>/resources/*</pattern>
</excludes>
- And changed back the includes param of the StaticFilter in the web.xml from /scripts/dojo/* to /struts/dojo/*
<init-param>
<param-name>includes</param-name>
<param-value>/struts/dojo/*</param-value>
</init-param>