inputCalendar validator

2006-12-01 Thread Whitmire, Tracy Carroll
Hi, I'm using t:inputCalendar and have a question I'm sure someone has already addressed. But a google search was futile. If a user decides to enter the input in manually What's the best way to validate this input? I have a user who loves to enter the date as MM/dd/YY ignoring the help

Re: inputCalendar validator

2006-12-01 Thread Holger Prause
Whitmire, Tracy Carroll schrieb: Hi, I'm using t:inputCalendar and have a question I'm sure someone has already addressed. But a google search was futile. If a user decides to enter the input in manually …. What's the best way to validate this input? I have a user who loves to enter the

RE: inputCalendar validator

2006-12-01 Thread Yaron Spektor
, December 01, 2006 2:09 PM To: users@myfaces.apache.org Subject: inputCalendar validator Hi, I'm using t:inputCalendar and have a question I'm sure someone has already addressed. But a google search was futile. If a user decides to enter the input in manually What's the best way

Re: inputCalendar validator

2006-12-01 Thread Jeff Bischoff
, that should do the trick. Good luck :- From: Whitmire, Tracy Carroll [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 2:09 PM To: users@myfaces.apache.org Subject: inputCalendar validator Hi, I'm using t:inputCalendar and have a question I'm

Re: inputCalendar validator

2006-12-01 Thread Mario Ivankovits
Hi! I have a user who loves to enter the date as MM/dd/YY ignoring the help text But the expected is MM/dd/ So when he enters 12/01/06 …. Might not be much of help, but I implemented a rather complicated converter ... well not that complicated, just uses tons of simple date formats ...

RE: inputCalendar validator

2006-12-01 Thread Nebinger, David
. -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 4:29 PM To: MyFaces Discussion Subject: Re: inputCalendar validator Hi! I have a user who loves to enter the date as MM/dd/YY ignoring the help text But the expected is MM/dd

RE: inputCalendar validator

2006-12-01 Thread Whitmire, Tracy Carroll
Discussion Subject: RE: inputCalendar validator We're going along this same route but for different reasons... We don't want to force the user to follow a specific format; if we can convert it, we'll take it in any format. That way our users spend less time learning required formats to use the page

inputCalendar validator exception

2005-04-13 Thread Rob Decker
I added a custom validator on the inputCalendar component. In particular, the validator I used was the LaterThanValidator from Hans Bergsten's JSF book. When there is no validation problem everything is fine. When there is a validation problem the validator sets a faces message in a

Re: inputCalendar validator exception

2005-04-13 Thread Enrique Medina
This is a bug I discovered and was fixed here: http://issues.apache.org/jira/browse/MYFACES-167 On 4/13/05, Rob Decker [EMAIL PROTECTED] wrote: I added a custom validator on the inputCalendar component. In particular, the validator I used was the LaterThanValidator from Hans Bergsten's JSF