Name

<h:inputSecret>

Synopsis

This action represents an instance of the component type registered with the type ID javax.faces.HtmlInputSecret (by default, an instance of the javax.faces.component.html.HtmlInputSecret class), combined with a renderer registered with the renderer type ID javax.faces.Secret.

The component is rendered as an HTML <input> element with a type attribute set to password, a name attribute set to the component’s client ID and a value attribute set to the component’s value only if the action’s redisplay attribute is set to true.

Syntax

<h:inputSecret [id="id"] [binding="componentBinding"] [rendered="true|false"]
  [value="value"] [redisplay="true|false"] [converter="converter"]
  [required="true|false"] [validator="validatorMethod"]
  [valueChangeListener="listenerMethod"] [immediate="true|false"]
  <!-- HTML attributes -->
  [accesskey="accessKey"] [alt="altText"] [dir="ltr|rtl"]
  [disabled="true|false"] [lang="lang"] [maxlength="maxLength"]
  [onblur="code"] [onchange="code"] [onclick="code"] [ondblclick="code"] 
  [onfocus="code"] [onkeydown="code"] [onkeypress="code"] [onkeyup="code"]
  [onmousedown="code"] [onmousemove="code"] [onmouseout="code"]
  [onmouseover="code"] [onmouseup="code"] [onselect="code"]
  [readonly="true|false"] [size="size"] [style="style"] [styleClass="styleClass"]
  [tabindex="tabIndex"] [title="title"]
/>

Attributes

Attribute name

Java type

EL expression type

Description

binding
String

VB

Must be a value binding expression for a property the component ...

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.