Re: [Zope3-Users] macros from ZPT

2006-01-16 Thread Wade Leftwich
John Smith wrote:
> Dear All,
> 
> Does anyone know if it is possible to access macros
> defined in a TTW ZPT from a file-system based view
> class?
> 

I don't know about macros, but a few months ago I did work out a basic
way to use a TTW ZPT with a view class. Just in case it can help you out:

http://mail.zope.org/pipermail/zope3-users/2005-October/001199.html

-- Wade Leftwich
Ithaca, NY



___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] macros from ZPT

2006-01-16 Thread Stephan Richter
On Monday 16 January 2006 09:39, John Smith wrote:
> Does anyone know if it is possible to access macros
> defined in a TTW ZPT from a file-system based view
> class?
>
> In a TTW folder, I have added a ZPT and edited it to
> contain a page macro.

No, it is not possible, since the ZPT scripts in the ZODB are not views, but 
objects themselves.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users