|
|
|
Issue 1 of
pushpage Issues
[pushpage]
|
| Title: |
Create TTW version
|
| Status: |
Pending
|
Security |
related:
No
|
| Description: |
In order to support view customization[1], it would be helpful to be able to create
pushpage-like objects in content space, and have them be usable by...
|
| From: |
tseaver
|
on: |
Apr 19, 06 14:01
|
| |
tseaver
|
Last update:
|
Mar 28, 07 02:34
|
| Topic/class: |
API/feature
|
Importance:
|
medium
|
| Version info: |
pushpage-0.1 |
|
Issue 1 Transcript
|
|
2 entries
|
= Comment - Entry #2 by tseaver on Mar 28, 2007 2:34 am
Check out five.customerize:
http://svn.zope.org/five.customerize/trunk/src/five/customerize/customerize.txt?rev=72683&view=auto
________________________________________
= Request - Entry #1 by tseaver on Apr 19, 2006 2:01 pm
In order to support view customization[1], it would be helpful to be able to create
pushpage-like objects in content space, and have them be usable by views which are willing
to search for "customzied" templates.
Such a view might be bound to a method like:
def __call__(self, *args, **kw):
""" Render context, using a customized template if avaailable.
"""
template = self.context.get('template', self.filesystem_default_template)
return template(context=self.context, view=self, *args, **kw)
|
|
|