On Fri, Nov 21, 2008 at 4:59 PM, Naik, Bhushan <[EMAIL PROTECTED]> wrote:
>  Hi,
>        I want to use Trinidad where in need to restrict user to enter
> any date that is less than (Currentdate + 7 days), the trinidad tag I am
> using is "tr:inputDate".
> I know  in javascript we can do this but how to do this in  Trinidad?

This provides the "range":
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_validateDateTimeRange.html

and to be more fancy, you can use this:
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_validateDateRestriction.html

-Matthias

> Please suggest.
>
> Thanks
> Bhushan
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to