aspose file tools
The moose likes Struts and the fly likes Popup Calendar Suggestions Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Popup Calendar Suggestions" Watch "Popup Calendar Suggestions" New topic
Author

Popup Calendar Suggestions

Scott Updike
Ranch Hand

Joined: Feb 16, 2006
Posts: 92
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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Popup Calendar Suggestions
 
Similar Threads
Re: using javascript in jsp's
standard html form tag VS struts form tag??
scrollbars
Validations: popup
scriplet in html:select tag