Hi there everyone:

I'm working a project that uploads files to a directory and then the
user can download them.

I have a problem though. I am listing all the files from the database
using an html list statement. At the same time I have been placing a
checkbox beside each file.

I am using to do this but the statements look like this:


==The list==
<dl>
<dt py:for="filename in file_path">
${filename}

==the checkbox==
<input type="checkbox" name="${filename}" />

I've been naming the checkboxes the filenames in hopes that somehow
when it was checked I would be able to use this. But i tried javascript
using .checked=true. but it isn't working.

THUS A)

So anyone have any ideas on how i could know when a checkbox was
checked and how to relate this to the filename of the files in my
database.

THUS B)

How to pass the paramters into the controller so i can zip those files.


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