Of the several alternatives that may be used to extend your HTML DOM, we have settled for the 'data-' prefixed attributes included in the HTML 5 draft. Loom will use these attributes to add metadata not supported by the current HTML spec.
This mechanism can be also used by the application developer to fulfill his own purposes. All Loom tags allow the user to add his own data-prefixed attributes:
<l:inputText data-help-text="Please introduce your name" name="firstName"/>
All tags that generate URLs (url, menuItem, tabs, forms, etc) accept parameters to be appended to the URL. These parameters will get embedded in the URL if they are included in the @UrlPath, or as normal GET parameters if not.
The user may specify these parameters as nested l:param tags or as param-{name} attributes:
<l:url action="Dummy" event="foo" param-param1="value1"> <l:param name="param2" value="bar"/> </l:url>
Almost all JSP tags include an if attribute. If the attribute value evaluates to false, the tag body will be skipped entirely:
<l:tab id="foo" if="${displayFoo}">
<l:inputText if="${!empty foo.name}"/>
</l:tab>