This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Popup Calendar Suggestions  RSS feed

Scott Updike
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • 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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!