f:attribute |
|
The Attribute tag is a name/value pair that sets the value of a named attribute on the component associated with the enclosing tag. The body content of this tag must be empty.
Example
<h:commandButton id="button1">
<f:attribute name="value" value="Click Me"></f:attribute>
</h:commandButton>
HTML Output
<input id="form1:button1" name="form1:button1" type="submit"
value="Click Me" onclick="clear_form1();"/>
|