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
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
, 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
, 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
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 ...
.
-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
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
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
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
9 matches
Mail list logo