Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic