Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

InputText is used for ...

 

Info

 

Tag<crm:inputText>
  
  
  
  

Component Class org.primefaces.component.inputtext.InputText

Component Type org.primefaces.component.InputText

Component Family org.primefaces.component

Renderer Type org.primefaces.component.InputTextRenderer

Renderer Class org.primefaces.component.inputtext.InputTextRender

 

The following example shows a composite component that accepts an email address as input:

 

The local composite component library is defined in the xmlns namespace with the declaration xmlns:em="http://java.sun.com/jsf/composite/emcomp". The component itself is accessed through the em:email tag. The preceding example content can be stored as a web page named emuserpage.xhtml under the web root directory. When compiled and deployed on a server, it can be accessed with the following URL:

 

Attributes

NameRequiredDefaultTypeDescription
     

Getting Started with InputText

InputText usage is same as standard inputText; public class Bean { private String propertyName; //getter and setter } Client Side A