Hello Lee

<!--#var PUBLIC_Doc--> doesn't change anything, same error.
(you are right, I can use the name directly , but I have some other piece of
code where I have to use the _[_['']] construction, so it has to work...)


But I found something: In my 'PUBLIC_Doc' document I display image with a
<!--# var image_name--> tag,  my problem disappear if I use
<!--#var "image_name"-->,  someone can explain this??

Thanks anyway for the replies

Gilles
-----Original Message-----
From: LEE, Kwan Soo <[EMAIL PROTECTED]>
To: Gilles Lavaux <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Tuesday, July 04, 2000 12:32 PM
Subject: Re: [Zope-dev] Help needed: why is this DTML not working in zope 2
?


>Not an answer, but a question.
>>   <b><!--#var id--></b>
>>   <!--#if "_['id']=='PUBLIC_Doc'"-->
>>     ##
>>     <!--#try-->
>>       <!--#var "_[_['id']]"-->
>>     <!--#except-->
>You seems to "call" PUBLIC_Doc, then why don't you just <!--#var
PUBLIC_Doc-->
>instead of the <!--#var "_[_['id']]"-->?
>
>LEE Kwan Soo
>
>_______________________________________________
>Zope-Dev maillist  -  [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope-dev
>**  No cross posts or HTML encoding!  **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>
>


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to