Hi,
I am using the DatePicker for a project and the customer has requested that
the control not allow users to enter dates that are in the past. Thus any
day that is before the current day should be grayed out/disabled from
selection.
Any advice on how to go about implementing this with this control?
Thanks in advance,
-- Ilan
From: Michael B. <mic...@gm...> - 2006-12-28 07:20:10
Ilan,
You must implement your custom VetoPolicy model and set it on the visual
component. Implementing VetoPilocy is straightforward: inspect the
Calendar value passed in. See respective javadoc.
Mail again in case of trouble.
Have fun,
Michael.
> Hi,
>
> I am using the DatePicker for a project and the customer has requested
> that the control not allow users to enter dates that are in the past.
> Thus any day that is before the current day should be grayed
> out/disabled from selection.
>
> Any advice on how to go about implementing this with this control?
>
> Thanks in advance,
> -- Ilan
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Microba-controls mailing list
> Mic...@li...
> https://lists.sourceforge.net/lists/listinfo/microba-controls
>