[Zope] Var includes

Shaw, Howard ShawH@STHS.org
Fri, 19 Feb 1999 07:20:31 -0600


Using 'var' to include acquired documents is easy. How can I use 'var'
to include a document in a folder in the hierarchy below me?

I have a folder 'temp_people'.
Beneath this is 'uid', and beneath this 'studinfo'
I need to include the contents of 'uid/studinfo' in a document in
temp_people that is dynamically generated. I tried 
<!--#var "_[location]"--> where location is from a surrounding 'in sql
method' call. I get a traceback saying:

<!--
 Error type:  
 Error value: uid/studinfo
 -->

Is there any reasonable way to put in my SQL table a simple reference
that can be reasonably used in DTML to get to a subfolder object? I
don't want to have put DTML code in the SQL table and try and get it
evaluated...

Howard C. Shaw III Grum