• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Popup Calendar Suggestions

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to provide a popup calendar on an entry form and I've tried using several popup calendars and I've nto been able to get them to work. I've tried the following paths:
1) I can use a standard popup calendar by hard coding <script></script> tags in my JSP, but the date value selected does not reappear if the form fails validation (I'm using the DynaValidatorForm). Besides, I don't want to hard-code it anyways since I know there are tags to handle this type of thing.
2) I tried using the Struts-Layout tags, but I was never able to get the popup to appear. I kept getting an error stating "Required Object not found". In looking around, other people have this same problem and it's been attributed to either an EI bug, or a bug in that particular distribution. This approach seems to be popular, but I've not been able to get any advice that's useful.

Can anyone please provide me with some suggestions? I've been able to get this functionality working in non-Struts servlet apps, but the Struts validator is really proving to be difficult.

Thanks in advance,
Scott
 
I do some of my very best work in water. Like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic