This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Type Conversion Error Handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Type Conversion Error Handling" Watch "Type Conversion Error Handling" New topic
Author

Type Conversion Error Handling

Shamsul Kamal
Greenhorn

Joined: Dec 05, 2008
Posts: 2
Hi there.

I've create a custom converter. When I submit an invalid value, the invalid.fieldvalue message is pop so I think my converter is working. But when i submit a null or whitespace, i got this "ognl.NoConversionPossible" message back into my textfield box. Why it dont use the same invalid.fieldvalue message. What is the "ognl.NoConversionPossible" ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type Conversion Error Handling
 
Similar Threads
CONVERSION ERROR
<h:selectOneMenu problem. Please, Gurus, I need Your help.
Using selectBooleanCheckbox backed with an int
need help with J2EE sdk 1.3.1 deployment tool
Problem with Date field and selectOneMenu