3 Jun
2004
3 Jun
'04
5:33 p.m.
From: "Asad Habib" <ahabib@engin.umich.edu>
Hello. Is it possible to call the del function(this deletes single/multiple items from a list) from a DTML document/method. If so, what is the correct syntax for this? Thanks.
Call format to delete an object is: <dtml-call "manage_delObjects([oid])"> Note: manage_delObjects expects a list of object ids, so you have two options: (i) pass it a list variable (which contains a list of ids to be deleted) or (ii) put a single variable/object id into a list. The latter is shown above. HTH Jonathan