[Zope] RE: accessing lists from dtml
mikk
mikk@microbsys.com
Wed, 7 Jun 2000 10:50:11 +0000
Sorry, but...
Nevermind, I got it:
<dtml-var "_['sequence-item'][0]">
^^^
!!!
On Wed, 07 Jun 2000 10:40:59 mikk wrote:
Hello all,
If I have a REQUEST variable that equals a list, like this:
['ITEM_NUMBER','PRICE']
How would I get ITEM_NUMBER and PRICE into separate variables?
The following code gives me a screen full of the appropriate values (using an external
method), but I can't figure out how to use the results:
<dtml-in "parseCSV()">
<dtml-var sequence-item><BR>
</dtml-in>
Displays:
['003020','149.95']
['003021','79.99']
..
..
..
TIA
--
Mike Mikkelsen mikk@microbsys.com
Micro Business Systems http://microbsys.com
Fresno Linux Users Group http://linux.fresno.ca.us
It's all GNU to me!