DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Description
Unknown macro: {snippet}
Unknown macro: {snippet}
templateDir 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
Unknown macro: {snippet}
Examples
Unknown macro: {snippet}
2 Comments
Unknown User (behrang)
The velocity tag is:
#wwcomponent("template=/my/custom/component.vm" )
#wwparam( "name=key1" "value=value1" )
#wwparam( "name=key2" "value=value2" )
#end
Unknown User (behrang)
We can also use:
#wwcomponent("template=/my/custom/component.vm" "key=value1" "key2=value2" )
#end