[Zope] nested in tags
Dieter Maurer
dieter@handshake.de
Tue, 19 Sep 2000 00:01:52 +0200 (CEST)
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) in-tag.
> If I look at the generated url of this previouse-sequence link, it is the
> url of the outside previous-sequence link.
> Also, the inner in-tag only displays the last record.
>
> What am I doing wrong? Or am I trying something which isn't possible to do?
SQL methods do *NOT* look at the DTML namespace, only at the REQUEST
object!
You must either put your parameters into REQUEST (--> REQUEST.set)
or call the SQL method with explicit keyword parameters.
Dieter