[Zope-CMF] Views not found
Jens Vagelpohl
jens at dataflake.org
Tue Mar 28 15:25:04 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm currently going through CMFCalendar to give it the full
viewification/interfaces/etc treatment Yvo and Tres already did for
CMFDefault. I'm getting pretty close, but trying to stitch in the
views leads to NotFound errors:
Cannot locate object at: http://localhost:8080/portal/myevent/%40%
40edit.html
I have a CMFCalendar/configure.zcml that pulls in the browser
package, where I define the following in configure.zcml:
<browser:page
for="Products.CMFCalendar.interfaces.IEvent"
name="view.html"
class=".event.EventView"
template="templates/event.pt"
permission="zope2.View"
layer="cmfcalendar"
/>
The interfaces and all that are there and hooked up correctly (as
evidenced by the ZMI tab "Interfaces" for this Event object). I am
asssuming I don't have to declare five:traversable, because the CMF
browser package already does that for IDynamicType (declaring it
specifically for the Event class did not make a difference). Does
anyone know where I should look next?
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEKZulRAx5nvEhZLIRAjzsAKC66TxKZ4RP7JmEC+sJvo1FLLVPtgCgreG0
vo1S1V7ePoDwYnuMBVly5Nw=
=9A0k
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list