InterfaceClass zope.traversing.interfaces.IPhysicallyLocatable)
Ehm...? Ideas?
OK, I forgot about:
setup.setUpTraversal()
Now it works with:
from zope.app.folder import rootFolder
from zope.traversing.api import getPath
root = rootFolder()
root['test_content'] = DBCrudContent()
On Wed, Jan 24, 2007 at 08:31:52PM +0100, Dominique Lederer wrote:
can someone explain me please when to use browser:view and when
browser:page?
As far as I understand, the intended use of browser:page is to define
views that are accessible to browsers by using URLs.
The intended use of
Hi,
I am looking for some filtering adapter for containers. You know, the object
which can adapt an IMyContainer to another IMyFilteredContainer, listing only
items which fall into some filter criteria.
I thought it may be quite common pattern, but couldn't find any generic, already
done solution
line 154, in getPath
raise TypeError(Not enough context to determine location root)
TypeError: Not enough context to determine location root
I've added Contained as the base class of my content
and it works now... uff...
--
Maciej Wisniowski
Whoa, really bad line breaks, here is the pastbin link
http://zope3.pastebin.com/867518
David, zc.table makes rendering html tables more
programmatic.
--- [EMAIL PROTECTED] wrote:
Thanks for the direction, Gary. :)
Getting a Choice field working in doctests was quite
a
challenge. It