9 Oct
2003
9 Oct
'03
4:02 p.m.
Hi, When the checkbox is selected I want to execute the Python script getSelection. The id of the file should then be added to myList for further processing. However when I look into myList nothing is changed. <form action="." method="post"> <dtml-in expr="getFiles()" > <input type="checkbox" name="getSelection(id)" value="id" > <a href=<dtml-var expr="getLink(id)"> /a><dtml-var id><BR> </dtml-in> </form> parameter= file session=context.REQUEST.SESSION l=session.get("myList", []) l.append(file) session["myList"]=l What is wrong ? Kind regards. Michael