22 Mar
2000
22 Mar
'00
7:03 p.m.
ken kinder <kkinde-@messagemedia.com> wrote:
How can I either cast a string to a list w/o messing up an existing list, or gain access to Python functions such as type() from a dtml-if statement?
The simple answer is: you don't need to cast. :) Zope provides a solution: your specify in your multiple-select a name like varname:list, and Zope will automatically cast it into a list. That is, append the ':list' to your variable names. Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com