Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added link to new page: Creating a custom Dojo profile for Struts 2.0.9

...

Code Block
xml
xml
<ww:date name="%{new java.util.Date()}" format="%{getText('my.java.datetime.format')}" id="date"/>
<ww:datepicker value="%{#date}" showstime="%{true}" format="%{getText('my.javascript.datetime.format')}"/>

Improving Dojo Performance

In Struts 2 Dojo is configured with a small dojo.js file that load other javascript resources only as required. Slow page-loads can be experienced when using the Struts 2 ajax theme as Dojo sequentially issues the series of resource requests. Performance may be significantly improved by creating a custom Dojo profile that bundles more resources directly into dojo.js.

Creating a custom Dojo profile for Struts 2.0.9

Application servers

S2 hot-redeployment problem with Tomcat 5.5

...