[Zope] Abstract rendering made difficult?
   
    Geir B Hansen
     
    Geir B Hansen <geirh@funcom.com>
       
    Wed, 29 Mar 2000 14:57:26 +0200
    
    
  
on Wednesday, March 29, 2000 Daryl Tester wrote :
DT> Salutations,
DT> I've been staring at this one for a while, but I can't quite seem to
DT> pull it off.
DT> I'd like to render a document based on the contents of a variable.
DT> For example (simplified):
DT> <dtml-call "REQUEST.set('foo', 'index_html')">
DT> <dtml-var foo>
DT> should (would? could?  I'd like!) render index_html.  Double
DT> quotes don't cut it (both print the string 'index_html') :-(
try
<dtml-var "_[foo]">
--
Geir Bækholt Hansen
web-developer/designer
geirh@funcom.com
http://www.funcom.com