File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Special Calendar Issue ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Special Calendar Issue ..." Watch "Special Calendar Issue ..." New topic

Special Calendar Issue ...

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

I'm about to develop a calendar component that will view starting from a specific date (let's say starting from today) and will not show any date after today, in other words if this calendar started working from last year, it will show all the days starting from the day it started last year and only until today.

Is there a ready component that can help me with this or i have to develop it from scratch using JavaScript or a cutom tag handler ?

Please feel free to advice ...

Thanks in advance ...

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

There are tons of JavaScript date pickers available. Google for them and choose one that gives you the level of control you need.

[Asking smart questions] [About Bear] [Books by Bear]
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
For instance dynarch's calendar allows you to specify the year range that is valid for the calendar.

Check out more

[Blog] [Blogroll] [My Reviews] My Linked In
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
And the same calendar component allows you to disable a whole range of dates that you can define using a disableHandler.

Check out more at section "5.3.7 Calendar.setDisabledHandler"
I agree. Here's the link:
subject: Special Calendar Issue ...
It's not a secret anymore!