[Zope] Problem with <input type=hidden value="<dtml-var filen
amex>" name =filenamex>
servel yannick
yservel@glam.ac.uk
Wed, 21 Mar 2001 20:49:16 -0000
Hello, thanks for your answer.
It didn't seem to work
Peraphs this code (used inside an external python method)is not valid:
while j < Col2:
s = s + "<td>"
s = s + '<input type="file" name="filename%s"
VALUE="">'
s = s % str(((i*Col2)+j+1))
#gives the right id to each filename variable
s = s + "</td>"
j = j + 1
Many thanks for your effort,
Yannick
-----Original Message-----
From: Andy McKay [mailto:andym@ActiveState.com]
Sent: 21 March 2001 20:26
To: servel yannick; zope@zope.org
Subject: Re: [Zope] Problem with <input type=hidden value="<dtml-var
filenamex>" name =filenamex>
You cannot nest dtml tags inside another dtml tag, <dtml-var
filename<dtml-var sequence-number>> is invalid.
Untested: <dtml-var "_[filename+_['sequence-item']]">
Is probably what you want.
--
Andy McKay.