Examples:
1 |
2 |
3 |
4 |
5
Configuration example 5
Configuration:
- At the level of the root node, no opening or closing icon is drawn (linesAtRoot="false").
- The instance of the TreeControls is sought in the Formbean assigned to the action. Therefore, instead of the name attrribute, the property-attribute is specified.
- For more settings, see Configuration example A.
<html:form action="/sample201/productBrowse">
<ctrl:tree
id="prod1"
property="products"
root="true"
linesAtRoot="false"
labelProperty="name"
imageProperty="type"
expandMode="multiple"
groupselect="true"
checkboxes="false"/>
</html:form>
|