for any advice
------------
Tom Jenkins |Its
devIS - Development InfoStructure |all you
703.525.6485 [EMAIL PROTECTED] |need it
http://www.devis.com |to be
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailma
, so methods
> getPhysicalPath/(un)restrictedTraverse may be what you need.
>
Right, the getPhysicalPath method definately works... although I've only
used the unrestrictedTraverse in python classes. I haven't delved too
deeply in how to use the tuple returned by getPhysicalPath in DTML.
--
from outside zope - say from the mysql client? perhaps your
select statement is truly returning an empty set. We use zope with
PostgreSQL and MySQL (and have been for a few years) and haven't had any
problems.
Tom Jenkins |Its
d
here or is there a better way?
Tom Jenkins
devIS - Development InfoStructure
http://www.devis.com
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://list
nt to include something outside of
the
> tree? or just wanted a central repositories of object that I wanted
to
> be able access from anywhere.
>
> i.e
>
>
>
>
> cars colors
> |
> |
> ford
>red
> |
> t
Shane,
You are DA MAN. That getPhysicalPath() & unrestrictedTraverse() methods
work perfectly, even with SiteAccess installed. Thank you very much.
Tom
-Original Message-
From: Shane Hathaway [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 3:11 PM
To: Tom Jenkins
Sub
nesday, January 10, 2001 3:11 PM
To: Tom Jenkins
Subject: Re: [Zope] Storing and Using Object references
Tom Jenkins wrote:
>
> Hello all,
> i have a question and I hope someone can point me in the right direction
> to solve it. I need one zope object to hold a reference to another
er1/container1a/container2/container2a/item1, you
can
> call methods on anything in the path...
> You could access it through dtml from 1->2 as "container1.container1a.item1">
> You could get object2 in using getItem...
>
> --
>Andy McKay.
>
>
/container1a/item1 object 2 is :
/container2/container2a/item1 object1 needs to hold a reference to
object2. I'm really stuck on how to store and access object2 from
object1.
any pointers?
Tom Jenkins
devis - Development InfoStructure
http://www.devi