Fork me on GitHub
Attention: This component is still under progress and experimental.
b:text The text tag renders an HTML input element of the type "text".
Tag attributes
HTML5 tag attributes
Tag controls
Adds f:ajax as child to component.

Change it and see JSF example.
component
tooltip

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:text id="input"
                label="label"
                hideLabel="false"
                value="#{myBean.value}"
                placeholder="Enter text..."
                type="null"
                pattern="null"
                min="null"
                max="null"
                readonly="false"
                required="false"
                disabled="false"
                autoFocus="false"
                rendered="true">
            <b:tooltip>
                tooltip
            </b:tooltip>
        </b:text>
    </h:form> 
</body> 
</html>
                        
                            package org.butterfaces.text.demo;

@ViewScoped
@Named
public class MyBean implements Serializable {

   private String value;

   public String getValue() {
       return value;
   }
   public void setValue(String value) {
       this.value = value;
   }

}
                        
                            <?xml version="1.0" encoding="UTF-8"?> 
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
                             http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 
         version="3.0"> 
  <!-- Auto trim function for input components -->
  <!-- default is 'true' -->
  <context-param>
     <param-name>org.butterfaces.autoTrimInputFields</param-name>
     <param-value>true</param-value>
  </context-param>
</web-app>