Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

richfaces Autocomplete off in a form

 
Sandeep Dwivedi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i disable the autocomplete feature in a richfaces form?

In HTML it can be done in a simple easy way but it is not working in richfaces.

For example

Web authors can disable autocomplete for a single input element or all the input elements of a form. Examples are as follows (reference:

1) <INPUT TYPE = password NAME = Password AUTOCOMPLETE = "off">

2) <FORM AUTOCOMPLETE = "off">
:
</FORM>
 
Sandeep Dwivedi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got a solution.
 
Mohammad Hamoda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you find a solution for this issue ??
I use this code:
<h:form id="wizardForm" autocomplete="off">
...
</h:form>
but I got this warning:
autocomplete="off" Property 'autocomplete' is not on type: javax.faces.component.html.HtmlForm
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic