The moose likes JSF and the fly likes Weird Conversion Error inputText behavior with Dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Weird Conversion Error inputText behavior with Dates" Watch "Weird Conversion Error inputText behavior with Dates" New topic
Author

Weird Conversion Error inputText behavior with Dates

K Enriquez
Greenhorn

Joined: Dec 15, 2005
Posts: 1

I have two inputText fields that accept a start date and an end date that are used to retrieve data from the database and display the results in a dataTable after clicking a search button.

Both fields are coded the same, however, on either clicking search button again or paginating the result set, the first inputText is returning a Conversion Error. If I add a third inputText field, with some hard coded value, to render prior to the start date, there is no Conversion Error.

This code results in a Conversion Error


This code does NOT result in a Conversion Error and page works as intended?


Has anyone encountered this and give some info on possible solutions?
Using RSA 7.5 and JSF

Thanks you.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Weird Conversion Error inputText behavior with Dates
 
It's not a secret anymore!