If debugging is the process of removing software bugs, then programming must be the process of putting them in.

InputTextarea is an extension to standard inputTextara with skinning capabilities and auto growing.

 

Info
Tag inputTextarea
Component Class org.primefaces.component.inputtextarea.InputTextarea
Component Type org.primefaces.component.InputTextarea
Component Family org.primefaces.component
Renderer Type org.primefaces.component.InputTextareaRenderer
Renderer Class org.primefaces.component.inputtextarea.InputTextareaRender
 
Attributes
Name Default Type Description
id null String Unique identifier of the component
rendered TRUE Boolean Boolean value to specify the rendering of the component,
when set to false component will not be rendered.
binding null Object An el expression that maps to a server side UIComponent
instance in a backing bean
value null Object Value of the component than can be either an EL
expression of a literal text
converter null Convert
er/String
An el expression or a literal text that defines a converter
for the component. When it’s an EL expression, it’s
resolved to a converter instance. In case it’s a static text, it
must refer to a converter id
immediate FALSE Boolean When set true, process validations logic is executed at
apply request values phase for this component.
required FALSE Boolean Marks component as required
validator null Method
Expr
A method binding expression that refers to a method
validationg the input
valueChangeListener null Method
Expr
A method binding expression that refers to a method for
handling a valuchangeevent
requiredMessage null String Message to be displayed when required field validation
fails.
converterMessage null String Message to be displayed when conversion fails.
validatorMessage null String Message to be displayed when validation fields.
widgetVar null String Name of the client side widget.
autoResize TRUE Boolean Specifies auto growing when being typed.
accesskey null String Access key that when pressed transfers focus to the input
element.
alt null String Alternate textual description of the input field.
autocomplete null String Controls browser autocomplete behavior.
dir null String Direction indication for text that does not inherit
directionality. Valid values are LTR and RTL.
disabled FALSE Boolean Disables input field
label null String A localized user presentable name.
lang null String Code describing the language used in the generated
markup for this component.
maxlength null Integer Maximum number of characters that may be entered in
this field.
onblur null String Client side callback to execute when input element loses
focus.
onchange null String Client side callback to execute when input element loses
focus and its value has been modified since gaining focus.
onclick null String Client side callback to execute when input element is
clicked.
ondblclick null String Client side callback to execute when input element is
double clicked.
onfocus null String Client side callback to execute when input element
receives focus.
onkeydown null String Client side callback to execute when a key is pressed
down over input element.
onkeypress null String Client side callback to execute when a key is pressed and
released over input element.
onkeyup null String Client side callback to execute when a key is released over
input element.
onmousedown null String Client side callback to execute when a pointer button is
pressed down over input element
onmousemove null String Client side callback to execute when a pointer button is
moved within input element.
onmouseout null String Client side callback to execute when a pointer button is
moved away from input element.
onmouseover null String Client side callback to execute when a pointer button is
moved onto input element.
onmouseup null String Client side callback to execute when a pointer button is
released over input element.
onselect null String Client side callback to execute when text within input
element is selected by user.
readonly FALSE Boolean Flag indicating that this component will prevent changes
by the user.
size null Integer Number of characters used to determine the width of the
input element.
style null String Inline style of the input element.
styleClass null String Style class of the input element.
tabindex null Integer Position of the input element in the tabbing order.
title null String Advisory tooltip informaton.
 
Getting Started with InputTextarea
InputTextarea usage is same as standard inputTextarea;
<p:inputTextarea value="#{bean.propertyName}" />
 
AutoResize
When textarea is being typed, if content height exceeds the allocated space, textarea can grow
automatically. Use autoResize option to turn on/off this feature.


Skinning
style and styleClass options apply to the textarea element. As skinning style classes are global, see
the main Skinning section for more information.

  What is PrimeFaces?

  • Setup

  •   Download
      Dependencies
      Configuration
      Hello World

  • Component Suite

  •   AccordionPanel
      Getting Started with Accordion Panel
      Dynamic Content Loading
      Client Side Callbacks
      Ajax Behavior Events
      Multiple Selection
      AjaxBehavior
      Listener
      AjaxStatus
      Events
      Client Side API
      Attributes
      Getting Started with AutoComplete
      Minimum Query Length
      Ajax Behavior Events
      BlockUI
      Skinning
      Tips
      Getting Started with Button
      Attributes
      Getting Started with Calendar
      Effects
      Client Side API
      Themes
      Getting Started with Carousel
      Content Display
      Tips
      Getting started with PieChart
      Getting started with LineChart
      Getting Started with Bar Chart
      Getting started with DonutChart
      Getting started with BubbleChart
      Getting started with OhlcChart
      Getting started with MeterGaugeChart
      Skinning Charts
      Charting Tips
      Color Picker
      Skinning
      Column
      Columns
      CommandButton
      Getting started with CommandButton
      Client Side API
      Getting Started with CommandLink
      Getting started with ConfirmDialog
      ContextMenu
      Data Components
      State
      Dashboard Model API
      PageOnly
      DataGrid
      Ajax Pagination
      Client Side API
      Getting started with the DataList
      DataTable
      Getting started with the DataTable
      Sorting
      Row Selection
      RowKey
      Scrolling
      Lazy Loading
      Ajax Behavior Events
      DefaultCommand
      Getting started with the Dialog
      Ajax Behavior Events
      Drag&Drop
      Droppable
      onDrop
      Dock
      Editor
      Custom Toolbar
      Effects
      FeedReader
      Getting started with Fieldset
      FileDownload
      FileUpload
      Getting started with FileUpload
      Focus
      Galleria
      GMap
      Map Controls
      GMapInfoWindow
      GraphicImage
      Growl
      HotKey
      IdleMonitor
      ImageCompare
      ImageCropper
      ImageSwitch
      Inplace
      InputMask
      InputText
      InputTextarea
      Keyboard
      Layout
      LayoutUnit
      LightBox
      Log
      Media
      MegaMenu
      Menu
      Menubar
      MenuButton
      MenuItem
      Message
      Messages
      NotificationBar
      OrderList
      OutputPanel
      OverlayPanel
      Panel
      PanelGrid
      Password
      PhotoCam
      PickList
      Poll
      Printer
      ProgressBar
      Push
      RadioButton
      Rating
      RemoteCommand
      Resizable
      Ring
      Row
      RowEditor
      RowExpansion
      Schedule
      ScrollPanel
      SelectBooleanButton
      SelectBooleanCheckbox
      SelectChecboxMenu
      SelectManyButton
      SelectManyCheckbox
      SelectManyMenu
      SelectOneButton
      SelectOneListbox
      SelectOneMenu
      SelectOneRadio
      Separator
      Sheet
      Slider
      Spacer
      Spinner
      SplitButton
      Submenu
      Stack
      SummaryRow
      TabView
      TagCloud
      Terminal
      ThemeSwitcher
      Toolbar
      ToolbarGroup
      Tree
      TreeNode
      TreeTable
      Watermark
      Wizard

  • Partial Rendering and Processing

  •   Partial Rendering
      Notifying Users
      Keywords

  • PrimeFaces Mobile


  • PrimeFaces Push

  •   Setup
      Samples

  • Javascript API

  •   PrimeFaces Namespace

  • Themes

  •   Applying a Theme
      How Themes Work

  • Utilities

  •   RequestContext
      EL Function

  • Portlets

  •   Dependencies

  • Integration with Java EE


  • IDE Support


  • Project Resources


  • FAQ





  • affiliate_link