• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Datepicker for Struts 1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, are there any ways to use a datepicker for struts1? From what I've researched, there's no datepicker for struts1. However, it is possible to integrate javascript codes into my struts code. So I referred this: http://dynamicdrive.com/dynamicindex7/jasoncalendar.htm

And I came out with this:
       <div>
  <bean:message key="label.tour.record.endDate"/>
  <script>DateInput('endDate', true, 'YYYY-MM-DD')</script>
<input type=hidden id="endDate" name="endDate" value="endDate"/>
</div>
Iam still unable to retrieve my selected value cz I need to insert it into a database table.
Thank you in advance.
 
Alisha Chandran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guys, I manage to solve the problem. was having some errors in my sql script. thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!