Hello,
I am trying to use multiple forms with one CalendarDateTimePicker
field on the same page. It is a list of their upcoming matches for
online gaming clans, what i want to do is a form on every row of the
table for clans to schedule their matches. The form has a hidden
matchid field and a CalendarDateTimePicker field. The problem is that
only the first CalendarDateTimePicker is working, the others don't
bring up calender widget.
My genshi code looks like this:
<table class="zebra-striped quiet small">
<thead class="loud">
<tr>
<th style="text-align: center">Tournament</th>
<th style="text-align: center">Match</th>
</tr>
</thead>
<py:for each="tourmatch in tour_matches">
<tr>
<td style="text-align: center">
${tourmatch.tournament.name}
</td>
<td style="text-align: center;">
<py:for each="match in tourmatch.matches">
${match.team1.name} vs ${match.team2.name} :
${match.date} <div id="matchid-$
{match.match_id}"></div>
<py:if test="not match.date">
$
{tmpl_context.sch_match_ajax( dict( matchid = match.match_id , ), id
= match.match_id )}
</py:if>
</py:for>
</td>
</tr>
</py:for>
</table>
Thanks.
Osman Kazdal
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.