[Zope3-Users] configure.zcml entries for using adapters.

2005-11-12 Thread Vijay Nakhawa
I am struggler in learning zope3. Please forgive me if i am wrong. How about using an intermediate view component? in template1.pt div tal:content= view/vgetTotalDistance / In zcml browser:page class=.someModule.RoughView template = template1.pt . / where view class is : from adapters

Re: [Zope3-Users] configure.zcml entries for using adapters.

2005-11-12 Thread Stephan Richter
On Thursday 10 November 2005 19:55, John Smith wrote: I then created a nice page template which contains this snippet: div tal:content=python:context.getTotalDistance() / where context is the Car object. This is wrong, because Car does not have a function called getTotalDistance. In the