Search code examples
jsficefaces

how to work around the icefaces ice:selectInputDate validation issue


When using the IceFaces ice:selectInputDate a date selection always triggers the form validation.

So when a user selects a date all validation errors are shown. That's especially tedious when the date input is at the beginning of the form and all fields are empty. Then the user will get presented with all the "Value missing" error messages.

It's so frustating and really is a shame for such a widely-used framework like IceFaces.

Anybody got any hints how to handle this bug?

http://jira.icefaces.org/browse/ICE-4535

(immediate="true" does not help)

Thanks.


Solution

  • another and maybe better solution (or workaround) is described in this blog entry: http://jsfbrickyard.wordpress.com/2010/03/11/a-better-alternative-for-the-icefaces-inputselectinputdate-control/

    it describes how to use jquery UI datepicker instead of the ice:selectInputdate control. comments welcome.