Bjorn Stabell wrote:
> Is it possible to append an object to the namespace? Isn't that what
> dtml-with does?
It does, but there's some magic involved (non-mapping objects have to be
wrapped in an adaptor first) and it uses an interface that isn't
available in a restricted code environment s
Wow, thanks Evan. I should've asked these questions a long time ago...
From: Evan Simpson [mailto:[EMAIL PROTECTED]]
> From: "Bjorn Stabell" <[EMAIL PROTECTED]>
> > How do you do dtml-with and dtml-let in a Python script? (I.e.
> > put something on the namespace)
>
> You can't. Scripts can us
From: "Bjorn Stabell" <[EMAIL PROTECTED]>
> How do you do dtml-with and dtml-let in a Python script? (I.e.
> put something on the namespace)
You can't. Scripts can use the DTML namespace in the same way that Python
expressions in DTML can, but that's it.
On the other hand, you can create (and