Re: dtml-Variablen in <dtml-in> loops?
Hello,
[...] <dtml-in "DATA[start:end]"> or whatever. [...]
yes, such a syntax should _theoretically_ do the proper thing, but I always get a "Error Value: sequence index must be integer" when trying to do the [start:end] stuff within the <dtml-in> Tag. Any Ideas how I could either a) use "DATA[start: x + y]" in Zope (where x and y are dtml-Variables!) b) do <dtml-in DATA start=1 end= x + y (where x and y are dtml-Variables!) Thanks again, Philipp
Hi Philipp, just clean your mind, concentrate and tell me what you really want to do. Not how you want it to do but what and why :-) I have the impression there is a much better and easy solution to your problem. Forget for a moment all about in-tags, starts and ends. Just tell me what you have (DATA) and what you want to display under which circumstances. Regards Tino --On Sonntag, 27. Mai 2001 14:49 +0200 Philipp Robbel <philipp.robbel@eml.villa-bosch.de> wrote:
Hello,
[...] <dtml-in "DATA[start:end]"> or whatever. [...]
yes, such a syntax should _theoretically_ do the proper thing, but I always get a "Error Value: sequence index must be integer" when trying to do the [start:end] stuff within the <dtml-in> Tag.
Any Ideas how I could either a) use "DATA[start: x + y]" in Zope (where x and y are dtml-Variables!) b) do <dtml-in DATA start=1 end= x + y (where x and y are dtml-Variables!)
Thanks again, Philipp
participants (2)
-
Philipp Robbel -
Tino Wildenhain