9 Mar
2003
9 Mar
'03
1:09 a.m.
Is there a way to achieve in a Python script an effect equivalent to <dtml-with an_object> operations in context of an_object </dtml-with> ? I know it's possible to call the object's methods, but if I need to pass the methods a context (for example to render a DTML method), I get the context of the object calling the script, not the context of an_object. And, for that matter, is there a way to achieve the same effect in a TALES expression? Thanks for all feedback! -- ______________________________________________________ Steve McMahon Reid-McMahon, LLC