This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Auto Complete attribute in jsf ?  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i use the autocomplete attrubute in input text field?
 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If autocomplete provided by browser itself is not desirable for you, you can turn it off. This is a primary reason for this attribute. Do not mismatch it with autocomplete functionality like in Google Suggestion.

Read more about browser autocomplete here:
http://www.geocities.com/technofundo/tech/web/ie_autocomplete.html
 
saivenkat venkatesan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just i want to turn it off auto complete option when i enter login screen.i was trying to give as below.but it seems there is no property like this in jsf. can you suggest me ?


<h:inputSecret styleClass="inputSecret" id="secret1" value="#{pc_Logon.password}" size="15" style="width: 75px" autocomplete = "off" maxlength="15">
</h:inputSecret>
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it depends of the jsf version. autocomplete has been introduced with JSF 1.2 specification.

Take a look the diff between tld docs:

JSF 1.1:
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/h/inputSecret.html
JSF 1.2:
http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/inputSecret.html
 
saivenkat venkatesan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sergey
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sergey
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!