[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope3-users
Subject:    [Zope3-Users] adapting a form with IPublishTraverse for Zope 2.12
From:       Roberto Allende <rover () menttes ! com>
Date:       2009-12-12 21:50:56
Message-ID: hg138l$h6u$1 () ger ! gmane ! org
[Download RAW message or body]

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

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic