All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.faces.metadata.taglib.faces.html.taglib.xml Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version




    Jakarta Faces HTML Tag Library

This tag library contains Jakarta Faces component tags for all UIComponent + HTML RenderKit Renderer combinations as defined in section 9.5 "Standard HTML RenderKit Tag Library" of the Jakarta Faces Specification Document.

]]>
jakarta.faces.html Render an HTML "input" element of type "button". The value of the component is rendered as the button text and the outcome of the component is used to determine the target URL which is activated by onclick. If "image" attribute is specified, render it as the value of the "src" attribute after passing it to the getResourceURL() method of the ViewHandler for this application, and passing the result through the encodeResourceURL() method of the ExternalContext. Any child UIParameter components are appended to the String to be used as the target URL as query parameters before rendering. The entire target URL string must be passed through a call to the encodeResourceURL() method of the ExternalContext. The name of the UIParameter goes on the left hand side, and the value of the UIParameter on the right hand side. The name and the value must be URLEncoded. Each UIParameter instance is separeted by an ampersand, as dictated in the URL spec. The final encoded result will be written out to the onclick attribute of the button as "window.location.href = ''". If the developer has specified a custom onlclick the window.location.href name/value pair will be appended at the end of the developer specified script. If the "fragment" attribute is specified, the value will be included at the end of the resulting URL preceded by a hash mark. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute. If the "id" attribute is specified, follow the same steps as mentioned in the "General Notes on Encoding" regarding the "id" attribute for UIInput components. If the "disabled" attribute is specified, do not render the "onclick" element and assign the "disabled" attribute a value of true.
]]> button jakarta.faces.HtmlOutcomeTargetButton jakarta.faces.Button Flag indicating that this element must never receive focus or be included in a subsequent submit.

]]>
disabled false boolean
Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to.

It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute.

]]>
role false java.lang.String
id false java.lang.String includeViewParams false java.lang.Boolean outcome false java.lang.String rendered false boolean value false java.lang.Object accesskey false java.lang.String This attribute is ignored when the image attribute is not specified.]]> alt false java.lang.String dir false java.lang.String fragment false java.lang.String Absolute or relative URL of the image to be displayed for this button. If specified, this "input" element will be of type "image". Otherwise, it will be of the type specified by the "type" property with a label specified by the "value" property. Note that if the value of this attribute starts with "/", the rendered value for this attribute will be prefixed with the context-root for this application.

]]>
image false java.lang.String
lang false java.lang.String onblur false java.lang.String onclick false java.lang.String ondblclick false java.lang.String onfocus false java.lang.String onkeydown false java.lang.String onkeypress false java.lang.String onkeyup false java.lang.String onmousedown false java.lang.String onmousemove false java.lang.String onmouseout false java.lang.String onmouseover false java.lang.String onmouseup false java.lang.String style false java.lang.String styleClass false java.lang.String tabindex false java.lang.String title false java.lang.String The ValueExpression linking this component to a property in a backing bean binding false jakarta.faces.component.UIComponent Disable appending the ClientWindow on the rendering of this element.

]]>
disableClientWindow false java.lang.Boolean
Render an HTML "a" anchor element. The value of the component is rendered as the anchor text and the outcome of the component is used to determine the target URL rendered in the "href" attribute. Any child UIParameter components are appended to the String to be output as the value of the "href" attribute as query parameters before rendering. The entire "href" string must be passed through a call to the encodeResourceURL() method of the ExternalContext. The name of the UIParameter goes on the left hand side, and the value of the UIParameter on the right hand side. The name and the value must be URLEncoded. Each UIParameter instance is separated by an ampersand, as dictated in the URL spec. If the "fragment" attribute is specified, the value will be included at the end of the resulting URL preceded by a hash mark. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute. If the "id" attribute is specified, follow the same steps as mentioned in the "General Notes on Encoding" regarding the "id" attribute for UIInput components. If the "disabled" attribute is specified, do not render the HTML "a" anchor element or the "href" element. Instead, render a "span" element. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute on the "span". Render any pass-through attributes on the "span".]]> link jakarta.faces.HtmlOutcomeTargetLink jakarta.faces.Link Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to.

It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute.

]]>
role false java.lang.String
Disable appending the ClientWindow on the rendering of this element.

]]>
disableClientWindow false java.lang.Boolean
id false java.lang.String includeViewParams false java.lang.Boolean outcome false java.lang.String rendered false boolean value false java.lang.Object accesskey false java.lang.String charset false java.lang.String coords false java.lang.String dir false java.lang.String disabled false boolean fragment false java.lang.String hreflang false java.lang.String lang false java.lang.String onblur false java.lang.String onclick false java.lang.String ondblclick false java.lang.String onfocus false java.lang.String onkeydown false java.lang.String onkeypress false java.lang.String onkeyup false java.lang.String onmousedown false java.lang.String onmousemove false java.lang.String onmouseout false java.lang.String onmouseover false java.lang.String onmouseup false java.lang.String rel false java.lang.String rev false java.lang.String shape false java.lang.String style false java.lang.String styleClass false java.lang.String tabindex false java.lang.String target false java.lang.String title false java.lang.String type false java.lang.String The ValueExpression linking this component to a property in a backing bean binding false jakarta.faces.component.UIComponent
Render the markup for a <head> element.

Decode Behavior

    No action is required during decode for this renderer.

Encode Behavior