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)">
...
...
</dtml-let>

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 ??

Thanks.

-- 
______________________________________________________

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]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to