Rik Hoekstra wrote:
> one small correction:
> the line:
>          <dtml-call expr="manage_delObjects(getId())">
> should read:
>          <dtml-call expr="manage_delObjects([getId(),])">
> as the manage_delObjects takes a list as argument
> hth
> Rik

Actually manage_delObjects will take a string argument if it is a single
id. However a list with one item is also acceptable. Although you can
declare a list with the trailing comma, it is not strictly necessary.
That is only necessary for tuples because parens have double meaning in
Python. List brackets are unambiguous.
| Casey Duncan
| Kaivo, Inc.

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to