[Zope] Please help Urgently

mohammed ismail mohd_ismbe@yahoo.com
Wed Aug 6 10:20:37 EDT 2003


<form method="get" action="formulator/delobjects"><br>
   
<span tal:repeat="id container/objectIds">  
<INPUT TYPE="checkbox" name="id">
<p tal:replace="id"></p><br>

</span>
<INPUT TYPE="SUBMIT" name="manage_delObjects"
VALUE="Delete">
</form>

The above code will list checkbox and corresponding
objectIds
example
checkbox obj1
checkbox obj2
checkbox obj3
......
......
 DELETE BUTTON

I am passing the form ObjectIds to page template code
shown below

<div tal:condition="python: request.submit ==
'Delete'">
   <h2><span tal:replace="request/id">Id</span>
Deleted</h2> 
   <span tal:condition="python:
manage_delObjects(request.id)"> Delete </span>
</div>

Now when i select the checkbox & click on DELETE
BUTTON obj1 should get deleted.same thing follows for
other objects.Please suggest me what changes should i
make in the above code to get the output.Pleas send me
the reply as early as possible.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the Zope mailing list