Board Logo

storing the date value
fortress - 9/9/2002 at 02:52 AM

Hi there,

I am trying out the tigra calender with jsp. I have tried to put the code into a form for posting. It is however a form itself, and the calender form in the posting form does not work.. there was an error clicking the calender icon.

I have tried another way by storing the *value* which is a jsp string from the selected calender and then posting it through the other form. However, the *value* does not seem to read from the calender and it sticks with the predefined string.

Can anyone help? Thanks


tigra - 9/9/2002 at 06:22 AM

For the calendar there is no difference which server side technologie is used (jsp, asp, cgi etc..) so this can't cause any problem.
Tigra Calendar uses it's own form for date input, but this form is opened in separate window and in isn't submitted to web server. Time value from that form is passed to the client side script and together with date inserted in ordinary text input field in the form that resides in HTML document.
I'm not sure what is wrong with your calendar setup, but first setup your form to work without calendar, then insert calendar and point it to the form control, datetime value should be taken from and returned to.
BTW: try to run some validator on the HTML generated. There might be some nesting html tags or similar problem.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/