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

Paul Winkler pw_lists@slinkp.com
Tue, 25 Feb 2003 18:11:56 -0500


On Tue, Feb 25, 2003 at 03:47:25PM -0500, Jim Fulton wrote:
> 
> Templates used for views have a context variable for refering to
> the context of the view, the thing being viewed.
> 
> 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.

isn't that "container" in zope2?

> We decided to use "context" in both cases, but the meaning of "context"
> 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?

so "here" and "context" would both be used, but would mean
different things?  as a zope 2 user i find that more
confusing than helpful.

-- 

Paul Winkler
http://www.slinkp.com