aspose file tools*
The moose likes JSF and the fly likes Curios: JSF tries to evaluate a <h:inputText as an Enum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Curios: JSF tries to evaluate a <h:inputText as an Enum" Watch "Curios: JSF tries to evaluate a <h:inputText as an Enum" New topic
Author

Curios: JSF tries to evaluate a <h:inputText as an Enum

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 105

On JBoss 6 M5



When I enter text in one of the text fields invoke any of the actions, JSF displays an converter error
j_idt7:desc: 'blubber' must be convertible to an enum from the enum that contains the constant 'blubber'.

BUT WHY??
I have worked with <h:inputText before in other projects and never encountered this problem.

ManagedBean:



>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

I don't see it, but the failing control has a system-generated ID. Put an explicit ID attribute on the input control for aez.fasel just to confirm that that's where the problem is.

Incidentally, it's preferable to use JSF constructs rather than raw HTML for all that vertical-spaced stuff, but that's not actually going to affect your problem.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Curios: JSF tries to evaluate a <h:inputText as an Enum