This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Richfaces Calendar problem  RSS feed

 
Santhosh Kg
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi richfaces gurus,


I am new to richfaces and currently trying to fix some jsf production issues..:-(
The issue is with Richfaces Calendar.
The problem is like the below,


Manually give an invalid date(say 234234) in the Calendar input box.
It shows an error message which was set with property javax.faces.convert.DateTimeConverter.CONVERSION_detail in applicationResources.properties..
Now we go back to some other page and then come to the page where calendar control is there..
Now it gives an exception - Error 500: java.text.ParseException: Unparseable date: "234234"


What i need is to clear the Calendar value if an invalid date is found..
Attached is the sequence of events.

Please give some insight..

rgds,
Santhosh..
jb.JPG
[Thumbnail for jb.JPG]
 
Santhosh Kg
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess this issue is fixed in 3.2.0..any work around for richfaces 3.1.4(which we are using)..?..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!