I've got a problem...

I've created two objects, A folderish object called myfolder, and a
document-type object called mydocument.  Here's how my classes are
defined...

class mydocument(
           CatalogAware,
           Implicit,
           Persistent,
           RoleManager,
           PropertyManager,
           Item):
class myfolder(
           CatalogAware,
           Implicit,
           Persistent,
           RoleManager,
           PropertyManager,
           Folder)

So, say I have a hierarchy like this...

/
/ObjectA
/folder
/folder/mydocument ( an instance of mydocument)
/folder/myfolder (an instance of myfolder)
/folder/myfolder/ObjectA

Ok.. I want to be able to call

http://mysite/folder/mydocument/ObjectA 
  - this works fine
http://mysite/folder/myfolder/ObjectA
 - this works fine
http://mysite/folder/myfolder/mydocument/ObjectA
 - this returns the ObjectA at '/ObjectA', I'd like it to return ObjectA
at '/folder/myfolder/ObjectA'

Any ideas how I would go about making this happen?

-- 
Mark Gibson <[EMAIL PROTECTED]>

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to