File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Type Conversion Error Handling" Watch "Type Conversion Error Handling" New topic

Type Conversion Error Handling

Shamsul Kamal

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:
subject: Type Conversion Error Handling
It's not a secret anymore!