HI there I'm generating a simple list called "ziplist" within a kid
template
with the following simple code
<?python
ziplist=['0']
x=0
?>
<dt py: for filename in file_path>
<form>
<input type="hidden" name="pagename" value="${page.pagename}"/>
<input type="checkbox" name="${ziplist[x]}" checked="checked" />
</form>
</dt>
<?python
x=x+1
ziplist.append(x)
?>

I want to pass this list into my controller function called download

@expose()
    def download(self,pagename, ziplist):
    .....

but it raises an error saying that only 2 parameters are being given,
which are self and pagename and that ziplist is not being given.

I need to pass this list in...any ideas on how to do this??


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to