Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

The ajax head template builds upon the xhtml head template by providing additional JavaScript includes for the Dojo Toolkit, which is used by the ajax a template, ajax div template , and the ajax tabbedPanel template. It is required to use this tag, <ww:head theme="ajax"/>, in your HTML <head> block if you wish to use AJAX feature. The contents of head.ftl are:

Wiki Markup
{snippet:id=all|lang=xml|url=action2struts2/plugins/coredojo/src/main/resources/template/ajax/head.ftl}

...

Wiki Markup
{snippet:id=common-include|lang=xml|url=action2struts2/apps/showcase/src/main/webapp/ajax/commonInclude.jsp}
Info

The above sample is from Struts trunk; for 2.0.6 you should use <s:head debug="true"/>.