Discussion:
[Zope3-Users] adapting a form with IPublishTraverse for Zope 2.12
Roberto Allende
2009-12-12 21:50:56 UTC
Permalink
Hello

I've a plain zope content type and i'd like to generate the add and edit
form in Zope 2.12. I believe that's working, problem is how to make
these forms available in zope2. To do that i could use five:traversable
as in previous Zope versions, for example:

<five:traversable class="OFS.Folder.Folder" />

But in newer Zope's 2, five:traversable became deprecated and now i
should adapt IPublishTraverse if i'm not wrong.

I tried to do that without much success, so after fighting with zcmls i
think i'll move to five.grok but anyway, i'm curious to know how to do
that or see a similar piece of code.

Any hint or help is very appreciated.

Kind Regards
r.
--
http://robertoallende.com
Loading...