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 Very strange behavior: 'Ghost' Converter treats text-input as Enum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Very strange behavior: Watch "Very strange behavior: New topic
Author

Very strange behavior: 'Ghost' Converter treats text-input as Enum

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 86
JBoss 6 M5 (out of the box, nothing added)


I have a poject with JSF 2.0 Facelets. I have several EnumConverter classes to bind enums directly to the view like:





I use them in <h:selectOneMenu>

and that works just fine.


However after I have added a simple <h:inputText without an converter I cannot enter any free text. Even on a new test page:





After entering 'blubber' I get the conversion error











---------------------------------------------------------------------------------------------------------------------------

I have NO faces-config.xml

Does anybody have an idea what might cause this behavior?

This is absolutely driving me nuts.


Thanks,


Hans
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Very strange behavior: 'Ghost' Converter treats text-input as Enum
 
Similar Threads
context.getRequest()).getRequestDispatcher("/j_spring_security_check") returns null
selectManyCheckbox
@ConversationScoped
JSF not rendering properly
Curios: JSF tries to evaluate a <h:inputText as an Enum