Hi Zopistas,

it's a pain looking to variables defined in a form such as checkboxes
that can be a string if one is selected or a sequence if many are.

to solve this problem i'd like to do something like:

<dtml-let checkbox="list(checkbox)">

That is, calling the list function of Python on checkbox.

But that doesn't work, neither <dtml-let checkbox="_.list(checkbox)">

Beside of this, is there a way to test if foo is a string or a
sequence or whatever ??



Felipe Alvarez Harnecker.  QlSoftware.
Tel. 09.874.60.17  e-mail: [EMAIL PROTECTED]

Potenciado por Ql/Linux  http://www.qlsoft.cl

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

Reply via email to