[Zope3-dev] "here" vs "context" for templates in content space

Chris Withers chrisw@nipltd.com
Wed, 26 Feb 2003 09:03:28 +0000


Jim Fulton wrote:
> 
> Templates used for views have a context variable for refering to
> the context of the view, the thing being viewed.

That makes sense.

> Templated pages, which are templates used in content space, like
> traditional zpt templates, have a "context" variable for refering to
> the folder containing the template.

Huh? Shouldn't that be called 'container'?
In this case, I'd expect 'context' to be the actual template object.
These pages are a lot like DTML documents, aren't they? :-S

> is a little different in the two cases. I wonder if it would be better
> to use "here" to make things more familiar for Zope 2 users?

I've got a big -100 to seeing 'here' anywhere...

cheers,

Chris