Thanks Matthias , Can we select the dynamic dates for max and min value. I am setting this dates in the bean #{Mybean.maxdate} but its not working.
Thanks Bhushan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Friday, November 21, 2008 11:21 AM To: MyFaces Development Subject: Re: Trinidad : date validation 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_validateDateTi meRange.html and to be more fancy, you can use this: http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_validateDateRe striction.html -Matthias > Please suggest. > > Thanks > Bhushan > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf