[Zope] Attributes and tags (dtml)

Jens Vagelpohl jens@digicool.com
Thu, 01 Mar 2001 08:10:35 -0500


antonio,

you cannot use a dtml tag within another dtml tag.

what you're trying to do should work if you write it like :

<dtml-in Catalog size=resSize_q start=query_start>

jens


on 3/1/01 5:21, Antonio Costa at anjc@fct.unl.pt 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
>