> Who knows why, but 'foo' is not an attribute on your object even though the
> schema extender adds it to its Schema().

I wasn't being clear in my original post. foo really is just an
arbitrary method on the adapter. I do not include it in fields.

I think traversable did work, because whereas
http://server/my-adapted-object/foo gives me the Unauthorized,
http://server/my-adapted-object/not_existing_thingy gives me a
NotFound (I guess an AttributeError originally).

> Views. ;-)
I thought so...

I really don't need it to be traversable - I was just exploring schemaextender.

Thanks Martin!

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to