This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Special Calendar Issue ... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Special Calendar Issue ..." Watch "Special Calendar Issue ..." New topic
Author

Special Calendar Issue ...

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585
Hi,

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
Marshal

Joined: Jan 10, 2002
Posts: 56222
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Valentin Crettaz
Gold Digger
Sheriff

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


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Valentin Crettaz
Gold Digger
Sheriff

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Special Calendar Issue ...
 
Similar Threads
Problem getting correct date format
Create an Array of Weeks
Special Calendar Component ...
get the date of next Monday
Need help on calling javascript without any handler from JSP..