Project Documentation
Foundation

Description

Renders any HTML tag as specified in value attribute. Additional tag attributes can be supplied by nested <f:param> tags (only on tomahawk12).

Screen Shot

Not available

API

since 1.1.0
author Sylvain Vieujot
component-family javax.faces.Output
renderer-type "org.apache.myfaces.HtmlTagRenderer
component-class org.apache.myfaces.custom.htmlTag.HtmlTag
renderer-class org.apache.myfaces.custom.htmlTag.HtmlTagRenderer
tag-class org.apache.myfaces.custom.htmlTag.HtmlTagTag

Usage

<t:htmlTag [{all standard UIOutput attributes}]>
  <f:param name="AttributeName" value="AttributeValue" />
</t:htmlTag>
            

Syntax

<t:htmlTag>

value - the tag to output.

Example

<t:htmlTag value="br" />

OR
<t:htmlTag value="div" > [Other JSF tags/content] </t:htmlTag>

OR
<t:htmlTag value="link">
<f:param name="rel" value="stylesheet"/>
<f:param name="type" value="text/css"/>
<f:param name="href" value="#{userPrefs.stylesheet}"/>
</t:htmlTag>