[Zope-Coders] Changes to ZPublisher

Sidnei da Silva sidnei at awkly.org
Wed Oct 6 21:24:55 EDT 2004


| Hmm... didn't notice that... nasty.
| 
| So what is the current way for a __bobo_traverse__ to indicate "object
| does not exist" and result in a 404?

There's no way :) You could raise NotFound yourself, but then it
breaks PageTemplates.

| Perhaps AttributeError = 404 is a good idea after all...

It's the best I could come up with.

-- 
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://www.enfoldsystems.com
http://plone.org/about/team#dreamcatcher

<Tazman> damn my office is cold.
<Tazman> need a hot secretary to warm it up.
	-- Seen on #Linux


More information about the Zope-Coders mailing list