File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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