[Zope] Now it's a "Folder" class question :-)

Dieter Maurer dieter@handshake.de
Sun, 9 Sep 2001 19:31:53 +0200 (CEST)


aaa@simplesky.com writes:
 > ....
 > I'm still trying to give my product a "Folder" feel,
 > that is, I want to be able to click on in and "enter"
 > it, and see what's inside it (that is the standard
 > Content view of a folder).
 > 
 > Now what happens is this: let my "minimal" object id be
 > "abc", and let it be contained by the "Test" folder.
 > when I click on it the url becomes http://.../Test/abc
Where do you click on it?

If you get this URL, then you are looking in fact
at "http://.../Test/abc/index_html" which may be acquired....

To see the content view, you should see the URL

  <http://.../Test/abc/manage> or <http://.../Test/abc/manage_workspace>.

 > so it looks like I'm inside it, but I still see
 > the "Test" folder content, that is I still see the "abc"
 > object. In other words it looks like if the "abc" object
 > contains itself.
 > If I click on it again the url becomes
 > http://.../Test/abc/abc and then abc/abc/abc and so on.
That's normal resolution of relative URL's, explained e.g. in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

 > Why can't I "see" inside it and can't put other objects in
 > it?
Depending on where you click...

You should not get the URL given above - as explained above.
If you click on the management interface, the URL's you
see for entering an instance of your product should not
depend on your product at all...
That makes an answer to your problem a bit difficult.
We need more information...


Dieter