On Wednesday 22 November 2006 05:39, Dennis Schulz wrote: > I would like to make a column in my zc.table based table that renders a > trash icon link to a delete handler function inside the same class. > > Is it possible somehow to insert a "real action" like in formlib inside > a table column? > I could use a submitColumn and link to the same form, but that seems a > litte buggy to me. > Can I call an action handler manually through the web?
Yes you could do all that. However, I would just do this: in HTML: myview.html?DELETE=id in Python view class def update(self): if 'DELETE' in self.request.form: del self.context[self.request.form['DELETE']] super(MyViewClass, self).update() Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users