[Grok-dev] Traversing
Christian Theune
ct at gocept.com
Thu Oct 19 15:05:06 EDT 2006
Hi,
I just noticed that our traverser does not know what to do if traverse()
isn't defined.
I stumbled over that when I switched our wiki to grok.Container. I
talked to Philipp shortly on IRC and he proposed not to do fallback to
attribute/dict access.
I somewhat agree. However, we have to define how grok.Container behaves.
The most simple solution I can imagine would be to define a default
traverse() on the container that does the dict lookup.
Christian
--
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20061019/2351ec36/signature.bin
More information about the Grok-dev
mailing list