Template Instructions / Template Instructions |
This instruction dynamically sets a value to an attribute of the current tag. If the attribute does not exist, it will be created. If it exists, its value will be changed.
<tag gwc:attributes="att expression [; ...] " ...> ... </tag>
<form action="..." method="post" gwc:attributes="action document/URL ; method 'get'">
The action attribute is set to the document URL and the method attribute to get.