You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luther Baker <lu...@gmail.com> on 2009/03/06 03:11:45 UTC

Date Validation

I have a Hibernate entity - which contains a java.util.Date.

It displays just fine in a BeanEditor ... if I intentionally enter a
mis-formatted date it correctly comes back highlighted in a RED outline etc.

Then, *when I try to click on the CALENDAR icon *- it just keeps telling me
the date is incorrectly formatted. IE: a graphic block fades in above the
field with an arrow and a red X telling me about the problem - but the
CALENDAR never pops back up to let me select.

I have to manually swipe and delete the entry in the textbox - and then
clicking on the CALENDAR icon works again.

Is that intentional? I mean, it works - but I don't think it is intuitive to
have to delete the entry before clicking on the CALENDAR icon.

-Luther

Re: Date Validation

Posted by Ville Virtanen <vi...@cerion.fi>.
Feedback from customers indicate that this sometimes is work blocker, as "the
system won't let me change the date and I cannot do anything" so, I think
this deserves a JIRA.

(Calendar should use the date if it is parsable, if not just ignore it and
replace it when user chooses a date.)

 - Ville


luther.baker wrote:
> 
> I have a Hibernate entity - which contains a java.util.Date.
> 
> It displays just fine in a BeanEditor ... if I intentionally enter a
> mis-formatted date it correctly comes back highlighted in a RED outline
> etc.
> 
> Then, *when I try to click on the CALENDAR icon *- it just keeps telling
> me
> the date is incorrectly formatted. IE: a graphic block fades in above the
> field with an arrow and a red X telling me about the problem - but the
> CALENDAR never pops back up to let me select.
> 
> I have to manually swipe and delete the entry in the textbox - and then
> clicking on the CALENDAR icon works again.
> 
> Is that intentional? I mean, it works - but I don't think it is intuitive
> to
> have to delete the entry before clicking on the CALENDAR icon.
> 
> -Luther
> 
> 

-- 
View this message in context: http://www.nabble.com/Date-Validation-tp22364939p22367660.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org