Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Wade Leftwich
Jean-Marc Orliaguet wrote: > Stephan Richter wrote: > >> On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote: >> >> >>> Create content type 'Portlet' that could have TAL as its content and >>> when >>> watched in browser TAL should be redered. My code is below. >>> >> >> >> You really sho

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Thursday 05 January 2006 08:28, Jean-Marc Orliaguet wrote: PS: note that "viewlets" are known outside the Zope3 world as being small tutorial movies: http://psptips.com/6/viewlets/ http://www.pmwdc.com/skies/ http://www.geek.com/tipstrix/qarbon/ http://www.djdenham.

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Stephan Richter
On Thursday 05 January 2006 08:28, Jean-Marc Orliaguet wrote: > PS: note that "viewlets" are known outside the Zope3 world as being > small tutorial movies: > http://psptips.com/6/viewlets/ > http://www.pmwdc.com/skies/ > http://www.geek.com/tipstrix/qarbon/ > http://www.djdenham.com/Basic_Windows.

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Jean-Marc Orliaguet
Stephan Richter wrote: On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote: Create content type 'Portlet' that could have TAL as its content and when watched in browser TAL should be redered. My code is below. You really should not call this a portlet. A portlet is very well defin

Re: [Zope3-Users] How to render PageTemplate manually?

2006-01-05 Thread Stephan Richter
On Wednesday 04 January 2006 07:55, Łukasz Łakomy wrote: > Create content type 'Portlet' that could have TAL as its content and when > watched in browser TAL should be redered. My code is below. You really should not call this a portlet. A portlet is very well defined by JSR 168. Note that the Zo

[Zope3-Users] How to render PageTemplate manually?

2006-01-04 Thread Łukasz Łakomy
Hi all My use case: Create content type 'Portlet' that could have TAL as its content and when watched in browser TAL should be redered. My code is below. class PortletView: def renderText(self): portlet = IPortlet(self.context) format = portlet.format if format in ('HT