• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Datepicker for Struts 1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
guys, I manage to solve the problem. was having some errors in my sql script. thank you
 
reply
    Bookmark Topic Watch Topic
  • New Topic