[Zope] string[0] operators in <dtml-vars>
Eric Walstad
eric@walstads.net
Wed, 18 Jul 2001 10:34:48 -0700
Hi Lee,
>From the Zope Book, Appendix A - DTML Reference:
http://www.zope.org/Members/michel/ZB/AppendixA.dtml
"
etc=arg
Specifies a string to add to the end of a string which has been truncated
(by setting the size attribute listed above). By default, this is ...
Examples
[snip]
Truncation:
<dtml-var colors size=10 etc=", etc.">
will produce the following output if colors is the string 'red yellow
green':
red yellow, etc.
"
Will that do what you are looking for?
Eric.
> -----Original Message-----
> <dtml-in expr="getLinks(category=_['name'])">
> <option value="<dtml-var url>"><dtml-var name> -
> <dtml-var expr="_['description[0]']"> <-- problem here obviously
> <dtml-var expr="_['description[1]']">
> |
> |
> <dtml-var expr="_['description[9]']">...
> </option>
> </dtml-in>