Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calendar drop down possible in JSP?

 
Linda Thomas
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some programs have a listbox to choose a date but when you click on it instead of getting a list of values a small calendar pops up and lets the user pick a date that way.

Is there a way to create this option for a JSP web application? It would be more elegant than a drop down box for month and day and year.

Thanks!!!
Linda
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing specific to JSP. Something like this would need to be done on the client side with Javascript:

http://www.google.com/search?hl=en&q=javascript+calendar+popup&btnG=Google+Search
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A good site with examples is: Dynamic Drive / calendar section

Eric
 
Dan Novik
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See for example here: http://www.servletsuite.com/servlets/caltag.htm
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dan Novik:
See for example here: http://www.servletsuite.com/servlets/caltag.htm


IMO: I sure hope the maker of that makes it look presentable....ALl I can say is that is ugly!

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic