This tag is used to render html "textarea" element . It creates input text area where text can be entered in multiple lines.
Code Description :
| <%@ page contentType="text/html" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <f:view> <html> <head><title>jsf h:outputLink example</title></head> <body> <h:inputTextarea id="name"></h:inputTextarea><br/> <h:outputLink value="../index.jsp"> <h:outputText value="Go to index page."/> </h:outputLink> </body> </html> </f:view> |
Rendered Output :

Html Source Code :
| <html> <head><title>jsf h:outputLink example</title></head> <body> <textarea id="name" name="name"></textarea><br/> <a href="../index.jsp">Go to index page.</a> </body> </html> |
This tag contains some attributes that are discussed below :
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: JSF inputTextarea tag View All Comments
Post your Comment