Re: [Zope] DTML-<dtml-in> & <dtml-call>
Angietel writes:
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C07FB8.87F89860 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable That will be the last time, I answer to your MIME messages.
Is <dtml-call REQUEST['sqlSearchcust3']> equal to <dtml-in = sqlSearchcust3>
<dtml-call REQUEST['sqlSearchcust3']> will raise an exception, as it will look for an object with name "REQUEST['sqlSearchcust3']". What you want is: <dtml-call expr="REQUEST['sqlSearchcust3']"> This does nothing (maybe raises a KeyError 'sqlSearchcust3'), as "dtml-call" evaluates for side effects only and does not produce any text. "REQUEST['sqlSearchcust3']" does not have side effects. Now, "<dtml-in sqlSearchcust3>...</dtml-in>" may also do nothing. Though, this is usually not expected. I suggest, you read carefully the DTML chapter in the upcoming Zope book and try to understand the semantics of the various DTML tags. Dieter
participants (1)
-
Dieter Maurer