component

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

...

Note
Wiki Markup
{snippet:id=note|javadoc=true|url=org.apache.struts2.components.GenericUIBean}
Warning
titletemplateDir and theme attribute

The final path to the template will be built using the templateDir and template attributes, like ${templateDir}/${theme}/${template}. If for example your component is under /components/html/option.jsp, you would have to set templateDir="components", theme="html" and template="options.jsp".

For any Struts tag that you use in your component, make sure that you set its templateDir="template"

Parameters

Wiki Markup
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/component.html}

...