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 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Autocomplete bug (with primefaces)