[Zope] Question about <dtml-let ...>

Dieter Maurer dieter@handshake.de
Thu, 9 May 2002 20:30:59 +0200


George M. Ellenburg writes:
 > I have a DTML Document called show_tip.
 > 
 > In it, it calls a DTML Method called STYLE_TIP which contains essentially the 
 > stylesheet for the tool-tip.
 > 
 > In STYLE_TIP, I'm picking a random integer, to show a random background image, 
 > but am using <dtml-let ...> to create a new variable (called TD_WIDTH) which 
 > I actually need to use from within the main show_tip DTML Document.
This will not work with "dtml-let", use "REQUEST.set".
See either in the mailing list archives or (e.g.)

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

to find out more.


Dieter