-
Book Overview & Buying
-
Table Of Contents
PrimeFaces Beginner's Guide
By :
InputTextarea is an extension to the standard JSF <h:inputTextarea> component with support for AutoComplete, autoResize, remaining characters counter, and theming features:
<p:inputTextarea cols="50" rows="5" value="#{userController.loginUser.bio}"/>The <p:inputTextarea> component provides the following additional attributes in addition to the JSF <h:inputTextarea> attributes:
autoResize: Specifies auto growing when being typed. Default is true.
maxlength: Maximum number of characters that can be entered in this field.
counter: ID of the output component to display remaining characters.
counterTemplate: Template text to display in counter.
completeMethod: Method to provide AutoComplete suggestions.
minQueryLength: Minimum number of characters to be typed to run a query. Default is 3.
queryDelay: Delay in milliseconds before sending each query. Default is 700.
scrollHeight: Height of the viewport for AutoComplete suggestions.
In our TechBuzz...
Change the font size
Change margin width
Change background colour