You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Smith <je...@centralscheduling.net> on 2003/05/02 17:19:13 UTC

[Q] An interesting twist - a date picker for beans instead of forms?

Hi Struts-o-philes,

I've already solved the usual question - you know the one - how do
I create a pop-up-calendar date picker for date fields on my forms?

But I have a slightly different situation which is not handled by my
chosen calendar tool.

I keep a bean in session that defines "today". (This is done
so that my users can review historical information on the site from any
date for which we have information without having to set a date field
on each query page.)

I'd like to be able to have a "quick date set" button on every page so
that the user can quickly modify that target date. But all the
calendar tools I've looked at seem hard coded to place their result
value into a form field via the Java-script document object. In my
situation, there is no form to update.

I was wondering if anybody had or knew of a calendar pop-up tool that
was more tightly struts-ified by creating a form of its own and then
forwarding (on submit) to a struts action.

I suspect I'm going to have to modify an existing solution to get
this, but thought I'd ask first.

-- 
Jefficus                        
mailto:jeffs@centralscheduling.net


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org