This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Autocomplete bug (with primefaces) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Autocomplete bug (with primefaces)" Watch "Autocomplete bug (with primefaces)" New topic
Author

Autocomplete bug (with primefaces)

Marco Noronha
Ranch Hand

Joined: Oct 30, 2012
Posts: 50
I think I found a bug on the autocomplete component...

a have a view with two fields:
an autocomplete with any entity.
and input text with my numberConverter:



So this are the cases:
1 - valid number and valid autocomplete = OK
2 - invalid number and valid autocomplete = OK, I get my feedback because the number was incorrect.
3 - correcting the number in case 2, and subbiting = ERROR, because the autocomplete LOOSES the VALUE.

Here are the values of the autocomplete in:
case 2: value="1"
case 3: value="Supermercado"

Where "Supermercado" was the "label" value!

Heres the exception on my converter...



So, is it a primefaces bug? How can i correct this?
 
Have you checked out Aspose?
 
subject: Autocomplete bug (with primefaces)
 
It's not a secret anymore!