[Zope] dtml-var "sideway" + dot question

AM list_subscriber@neurobs.com
Tue, 15 Apr 2003 15:42:21 -0700


<dtml-var expr="intranet.gracie['file.pdf']">

hth
AM

Jordi Yeh wrote:

> Hi,
>
> I am trying to add a file attachment stored in a LocalFS object using 
> the following code
>
> <dtml-with intranet>
>    <dtml-with gracie>
>     <dtml-var file.pdf>
>    </dtml-with>
>  </dtml-with>
>
> The above code works, but how can I do the same thing in one line?
>
> <dtml-var expr="intranet.gracie.file.pdf"> does not work. Using other 
> words, how can I treat the dot of the id?
>
> TIA
>
> Jordi
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================