passing variables from internal methods
I'm working with converting Squishdot to use ZPT so that it looks more like the rest of our site. Using DTML Squishdot passes variables from an internal method to a DTML method like this, return self.showMessage( self, REQUEST=REQUEST, title='%s Posted' % klass.meta_type, message=message, action=path ) The DTML method then refers to <dtml-var action>. How do I refer to the variable in a TAL statement to have access to "action". Everything I've tried has been a variation on, <span tal:replace="here/action">Action</span> which is undefined. -- Bryan C. Andregg Duke University Medical Center Programmer Dept. of Anesthesiology e <bryan.andregg@duke.edu> p +1 919 684 6201
Bryan C. Andregg wrote:
How do I refer to the variable in a TAL statement to have access to "action". Everything I've tried has been a variation on,
<span tal:replace="here/action">Action</span>
<span tal:replace="options/action">Action</span> cheers, Chris
participants (2)
-
Bryan C. Andregg -
Chris Withers