Date and select Tags

"Simeon Wu Kwai" <[email protected]> Mon, 13 Nov 2006 10:39:38 -0400
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
Sorry for being a nag but I'm having some minor problems I can't
figure out.  TNX in advance.

1.   I'm writing out a list of dates in a form, but  when I enter a
date with any of the JS calendars only the first value changes.
2.   The last selected value in the select box is displayed for all
the select boxes of the same name (not reflecting what is in the
database, I've tried the value and default arg).
3.   How do you format the calendar to input yyyy-mm-dd format.

#################################################################
#                                               Sample Code
                                                              #
#################################################################
[[ for each in loop:{]]
  <form>
     <tr>
        <td>
           <f:select name="foo" value="=each[0]" data="thinAir" />
        </td>
        <td>
           <f:date name=date value="=each[2]" />
        </td>
     <tr>
  </form>
[[}]]
<script language="JavaScript" src="/_util/form_calendar.js"></script>
<script language="JavaScript">
  document.write(getCalendarStyles());
  var _calendar = new CalendarPopup("calendardiv");
</script>
#################################################################

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642