File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Displaying Default text inside </h:inputText> tag: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Displaying Default text inside </h:inputText> tag:" Watch "Displaying Default text inside </h:inputText> tag:" New topic
Author

Displaying Default text inside </h:inputText> tag:

Aashish Davee
Greenhorn

Joined: Apr 15, 2010
Posts: 2
Friends:

I want to display Default text in </h:inputText>. Which gives idea about "What to input in textbox".



But the problem is I don't want to use value attribute of </h:inputText> tag. Since I am using validation on these textboxes.
Is there any other way to set Defult Text using CSS or JavaScirpt or JQuery or Third Party Tool available.

Please help me out.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying Default text inside </h:inputText> tag:
 
Similar Threads
inputtext- illegal syntax for set operation
<h:inputText tag in JSF not updating the managed bean values when attribute is readonly=true.
inputtext Valuchangelistener ISSUE
how to use autocomplete in jsf
how to use selectOneRadio with javascript?