For the simplest example you may consider just writing some textfields
into your template to fore-go use of the templates until you can get a
better idea on how they work.
Something like this in your .kid would work:
<form>
<input type="hidden" name="month" value="$month"/>
<input type="hidden" name="day" value="$day"/>
<input type="hidden" name="year" value="$year"/>
<input type="text" name="arg1"/>
<input type="text" name="arg2"/>
<input type="submit"/>
</form>
controller:
def getDayData(self, month, day, year, arg1, arg2):
#stuff here
return dict(month=month, day=day, year=year, arg1=arg1, arg2=arg2)
Does this help at all?
-chris
Also, consider making the date one field. Its much easier to work with
on the python side of things.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---