- Posted by: Matt Christ
- Posted on: June 20 2005 13:12 EDT
I cannot seem to make the connection on what I have to do to get the value of the date into one of my bean properties. The documentation for the calendar says it creates a hidden field with the value, so I am trying to access this field and either it is not creating it or I am not accessing it correctly. Would you guys check out this site and see if you have any ideas on how I could make this work? I think I am very close but I just cannot make the final connection!
- Calendar Control by Syed Rizwan Hashmi on June 21 2005 03:10 EDT
The documentation for the calendar says it creates a hidden field with the value, so I am trying to access this field and either it is not creating it or I am not accessing it correctly.
I had to do something similar (with a different calendar). What I found was that I needed to be able to define my field using <html:hidden ...> and tell the calendar where to put the value. Because we actually purchased our component, the developer was more than happy to make some modifications to allow specifying a separate field (one that it did not generate). Given that your calendar is free, you may not have as much luck.
Actually, I just thought of this, but the component we're using has a free counterpart that may work for you (assuming you have the option of using something different). The setup syntax is a little different from what we're using, I think, but it *should* work with struts, anyway. Look here.
You can use this calendar its very nice.
You can use this calendar its very nice.http://dynarch.com/mishoo/calendar.epl
That is a very attractive calendar. My complements to the developers.
I used the following Calendar and successfully got it working with Struts.
I did it about 6mths ago and I was able to get it to update one of the bean properties on my form, without to much trouble.
It might help