Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type Conversion Error Handling

 
Shamsul Kamal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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" ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic