Jonathan Bowlas schrieb:
Hi All,
How can I do this with dtml?
select name=MODLEVEL size=1
dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an
alternative to this.
option value=1 selected=selected1/option
option value=22/option
Etc, etc.
--On 20. Juni 2006 12:15:40 +0100 Jonathan Bowlas [EMAIL PROTECTED] wrote:
Hi All,
How can I do this with dtml?
select name=MODLEVEL size=1
dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an
alternative to this.
option value=1 selected=selected1/option
Hi, no need for nested dtml :
select name=MODLEVEL size=1
option value=1dtml-if expr=MODLEVEL == '1' selected/dtml-if1/option
option value=2dtml-if expr=MODLEVEL == '2' selected/dtml-if2/option
/select
On 6/20/06, Jonathan Bowlas [EMAIL PROTECTED] wrote:
Hi All,
How can I do this with dtml?
[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas
How can I do this with dtml?
select name=MODLEVEL size=1
dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an
alternative to this.
option value=1 selected=selected1/option
option value=22/option
PROTECTED]
Sent: 20 June 2006 12:29
To: [EMAIL PROTECTED]; zope@zope.org
Subject: RE: [Zope] Nested dtml tags
[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas
How can I do this with dtml?
select name=MODLEVEL size=1
dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an
alternative
: [Zope] Nested dtml tags
[EMAIL PROTECTED] On Behalf Of Jonathan Bowlas
How can I do this with dtml?
select name=MODLEVEL size=1
dtml-if expr=dtml-var name=MODLEVEL == 1 #I need an
alternative to this.
option value=1 selected=selected1/option
option value=22
Jonathan Bowlas schrieb:
Hmm, this doesn't appear to work.
Let me explain what I'm trying to do.
I have a Z SQL Method called selectmoduleinfoMethod that contains the SQL:
SELECT * FROM RECMGR_EL_MODULE_Query WHERE MODCODE = dtml-sqlvar
MODCODE type=string
You should never use
Thanks for everyone's help. I may be able to sort this now.
-Original Message-
From: Tino Wildenhain [mailto:[EMAIL PROTECTED]
Sent: 20 June 2006 15:09
To: [EMAIL PROTECTED]
Cc: 'Jaroslav Lukesh'; zope@zope.org
Subject: Re: [Zope] Nested dtml tags
Jonathan Bowlas schrieb:
Hmm
Tom Deprez writes:
Any experience with using nested in tags with ZSQLMethods?
A FAQ.
The searchable archive contains at least 5 threads about this theme.
If I use nested in-tags iand use the previous-sequence, ... tags (in the
inside in-tag) it seems that it looks at the first (outside)