Prev: | Control-flow Chloe tags |
t:a | Renders a link; extends the standard XHTML a tag by providing some integration with other web framework features. The following attributes are supported:
Any attributes not in the Chloe XML namespace are passed on to the generated a tag. An example: <t:a t:href="$wiki/view/"
t:rest="title"
class="small-link">
View
</t:a> The above might render as <a href="http://mysite.org/wiki/view/Factor"
class="small-link">
View
</a> | ||||||||
t:base | Outputs an HTML <base> tag. The attributes are interpreted in the same manner as the attributes of t:a. | ||||||||
t:form | Renders a form; extends the standard XHTML form tag by providing some integration with other web framework features, for example by adding hidden fields for authentication credentials and session management allowing those features to work with form submission transparently. The following attributes are supported:
Any attributes not in the Chloe XML namespace are passed on to the generated form tag. | ||||||||
t:button | Shorthand for a form with a single button, whose label is the text child of the t:button tag. Attributes are processed as with the t:form tag, with the exception that any attributes not in the Chloe XML namespace are passed on to the generated button tag, rather than the form tag surrounding it. An example: <t:button t:method="POST"
t:action="$wiki/delete"
t:for="id"
class="link-button">
Delete
</t:button> | ||||||||
t:validation-errors | Renders validation errors in the current form which are not associated with any field. Such errors are reported by invoking validation-error. |