Attention: This component is still under progress and experimental.
b:maskedText The text tag renders an HTML input element of the type "text" using jQuery input mask as jQuery plugin.
Tag attributes
label
hideLabel
readonly
required
disabled
rendered
styleClass
HTML5 tag attributes
placeholder
type
pattern
min
max
autofocus
Tag controls
ajax
tooltip
facets
validate
inputMask
Rendered output
tooltip
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
Value:
Readable value:
                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>
    <h:form id="formId">
        <b:maskedText id="input"
                      label="label"
                      hideLabel="false"
                      value="null"
                      placeholder="Enter text..."
                      type="null"
                      pattern="null"
                      min="null"
                      max="null"
                      styleClass="null"
                      readonly="false"
                      required="false"
                      disabled="false"
                      autoFocus="false"
                      maskedInput="(99) 9999[9]-9999"
                      rendered="true">
            <b:tooltip>
                tooltip
            </b:tooltip>
        </b:maskedText>
    </h:form> 
</body> 
</html>