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 ## # ## ## ## ### ### +++##### ##++ ++++++# #++++++ +++++++# #+++++++ +++++#######+++++ +++ +++
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
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 ## # ## ## ## ### ### +++##### ##++ ++++++# #++++++ +++++++# #+++++++ +++++#######+++++ +++ +++
participants (3)
-
Antonio Costa -
Jens Vagelpohl -
Tino Wildenhain