On Thu, 30 May 2002, Chris Withers wrote:
> > People will be really confused to see such results:
> >
> > http://www.zope.org/Documentation/ZopeBook/Documentation
> > http://www.zope.org/Images
>
> Why would they see such URLs?
Normally would not. But if I know such a site is managed by Zope,
Hi,
Wei He wrote:
>
> An object (say index_html) is inherited by child objects of the site say
> Document to make http://www.domain.com/Document share the upper
> level index_html. This sounds good but acutally not I think.
So do a lot of other people, but not for your reasons ;-)
> People wil
Hi all,
I have tried Zope for a week and found a logic problem.
An object (say index_html) is inherited by child objects of the site say
Document to make http://www.domain.com/Document share the upper
level index_html. This sounds good but acutally not I think.
People will be really confused
I think you must call getObject() on the mybrains instance first
to get the object!
Andreas
- Original Message -
From: "Nicholas Henke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 16:05
Subject: [ZODB-Dev] ZODB, Catalog and actually using
[removed zodb-dev, don't cross post!]
If you are using plain catalogs then you need to store the path to the object
somewhere (as metadata or as Zope does as the uid of the catalog record).
Then traverse to it based on this path. In Zope you use (restrictedTraverse
(or unrestrictedTraverse) to
On Wednesday 29 May 2002 04:20 pm, Casey Duncan wrote:
> try:
>
> ob = r.getObject()
> ob.function()
ob gets returned as None -- I think this is due to
AbstractCatalogBrain::getObject(). I don't believe self.aq_parent is set
correctly -- how is it supposed to be set ?
>
> or if that doesn'
try:
ob = r.getObject()
ob.function()
or if that doesn't work:
ob = catalog.getobject(r.data_record_id_)
ob.function()
Bear in mind that getObject traverses to the object which is expensive both in
time and memory if the number of results is large.
hth,
-Casey
On Wednesday 29 May 2
Hello~~
I am playing with using the Catalog class in ZCatalog along with CatalogQuery
to create a generic object layer on top of ZODB. I can index and search til I
am blue in the face, and I always get the correct answers. Now for the
problems...
Say I have the following obj:
class tes
Hi.
* Adrian Hungate <[EMAIL PROTECTED]> [020529 18:20]:
> If I understand what you are asking, this is something I need as well. I am
> trying to create an entity_encode and entity_decode modifier (Like the html
> encode and html decode modifiers) that will encode (decode) all characters
> in th
If I understand what you are asking, this is something I need as well. I am
trying to create an entity_encode and entity_decode modifier (Like the html
encode and html decode modifiers) that will encode (decode) all characters
in the string that are special or illegal in XML.
If there is an easy
On Wednesday 29 May 2002 3:24 pm, Joachim Schmitz wrote:
> Hi,
>
> I want to acces a ZCatalog via xmlrpc, but
>
> server=xmlrpclib.Server("http://myserver.aixtraware.de";
> ,BasicAuthTransport(username="user",password="pw"))
> r = server.Catalog()
>
> results in
>
>
> obje
Hi,
I want to acces a ZCatalog via xmlrpc, but
server=xmlrpclib.Server("http://myserver.aixtraware.de";
,BasicAuthTransport(username="user",password="pw"))
r = server.Catalog()
results in
objects">
What is to do, to enable marshalling of those types ?
Mit freundlich
Hi.
I am currently hacking the DTMLTeX product, (maybe gonna make a relase of it ...) which
seems unmaintained, as the old owner isn't responding anymore.
What i needed for that, was a new modifier for dtml-var, called "tex_quote", that I
implemented
by "monkeypatching" DT_Var.Var .
My questio
Would it not be possible to have undo for the Zope portion of the object
meaning what is stored in in the ZODB can be undone, what is stored in the
fs is as it is.
Like that we would have most of what undo offers for a normal element.
Robert
- Original Message -
From: "Andy McKay" <[EMAIL
14 matches
Mail list logo