[Zope] Attributes and tags (dtml)
Tino Wildenhain
tino@wildenhain.de
Thu, 01 Mar 2001 14:54:37 +0100
Hi Antonio,
<dtml-var > is not a variable reference. Its a print statement.
In other words: dont put dtml-tags in dtml-tags :-)
In your example it has to be:
<dtml-in Catalog size=resSize_q start=query_start>
Regards
Tino
Antonio Costa wrote:
>
> Hi there.
>
> To anyone who can help me.
>
> I've having some trouble with dtml tags and attributes in the following
> situation.
>
> If I do something like <dtml-var resSize_q> I have no trouble and the
> result appears just right.
>
> But if I use it in another way like <dtml-in Catalog size=<dtml-var
> resSize_q> start=query_start> the following error appears in Zope:
> Invalid attribute name, "resSize_q", for tag <dtml-in Catalog
> size=<dtml-var resSize_q>, on line...
>
> I can't seem to figure out where's the trouble.
>
> Thank you in advance.
>
> --
> URL: http://www.terravista.pt/Enseada/1831
> http://accosta.planetaclix.pt
> PT is Portugal
>
> #######
> # # #
> #" #" #
> Linux ##vvvvv##
> Rules! ## vvv ##
> # ##
> ## ##
> ### ###
> +++##### ##++
> ++++++# #++++++
> +++++++# #+++++++
> +++++#######+++++
> +++ +++