Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dates  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm fairly new to JSP and I was wondering if anyone know of a calendar object available that a person could use to pick a date (instead of choosing from drop-downs or entering in a text field)? Thanks for any feedback.
roberthpike@yahoo.com
Rob
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like a calendar applet or a ready made popup window type of thing?
Simon
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Dialog or a popup calendar can be very well created and shown to the client using javascript instead of doing it in a jsp or a servlet.
If you decide to use jsp/servlet, for every action of the client like traversing the years or months you need to send a request the server, which is not good.
Point your browser to http://dynamicdrive.com/dynamicindex6/index.html
for a host of Calendars and Clocks developed using javascript.
HTH,
Manjunath
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not trying to do this I was curious. See right now I have a drop-down for a month, 1 for day, and 1 for year (for the last 10 yrs). I heard that instead of using this there was a way of calling a combo type calendar, where clicking it would give a calendar and choosing a date would fill the combo box value with that date. Actually I should correct myself in saying that they said this was in ASP and I was wondering if there might happen to be one in JSP as well. I couldnt come across anything in the notes and textbooks I have so I was just curious thats all. I would appreciate any feedback though. Thanks.
 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,
wht ur referring to is actually done in ASP using ActiveX.Unfortunately we cannot call ActiveX in JSp but wht u can do is look for an Applet Calendar on the net or make it on ur own and call it in JSP page.
hope this helps,
Sachin

Originally posted by Rob Pike:
I'm not trying to do this I was curious. See right now I have a drop-down for a month, 1 for day, and 1 for year (for the last 10 yrs). I heard that instead of using this there was a way of calling a combo type calendar, where clicking it would give a calendar and choosing a date would fill the combo box value with that date. Actually I should correct myself in saying that they said this was in ASP and I was wondering if there might happen to be one in JSP as well. I couldnt come across anything in the notes and textbooks I have so I was just curious thats all. I would appreciate any feedback though. Thanks.
 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah I was just curious but that seems to be what I was expecting. I'm unfamilar with ASP but does anything need to be downloaded or done in addition to simply going to a specific site? Thanks again.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!