[Zope-dev] __getattr__ revisited

Shane Hathaway shane@zope.com
Thu, 17 Apr 2003 11:06:50 -0400


Johan Carlsson [EasyPublisher] wrote:
> It works! Aha... Great, thanks.
> The problem was that here in ZPT didn't act as I thought it would.
> I though it would act as context in Python Scripts.
> Validating my tests with a Python Script, a Python Method and a DTML 
> Method.
> and also using template/variable_name instead of here/variable_name 
> proved it
> to work.
> 
> What's up with here in ZPT?

Hmm, "here" in page templates should be equivalent to "context" in 
Python scripts, and I can't think of anything that would make it 
otherwise.  Sorry.

Shane