I am new with zope and i am trying to foundout something i found in the
zope book on www.zope.org.
>From the zope book i found this piece of code to create an entry in a guest
book
"""
Create a guest book entry.
"""
# create a unique document id
id='entry_%d' % len(con
>> > > Note that this is likely caused by some sort of brainbending circular
>> > > reference problem that might be helped by Python 2.X's cyclic garbage
>> > > collector.
>> >
>> > Well, will also try out python 2.x then... (btw. are all 2.x python versions
>> > working without problems with Zope
On Sun, 29 Apr 2001, Erik Enge wrote:
> I'll try to do an hour or so of analysing this tomorrow, and I'll get back
> to you. :-)
Well, now we all know what vikings believe "an hour or so" mean, don't we?
I figured it out, I think. Let's say I have these two methods:
def a():
b()
d
This code from a python script gets called when iterating over either a list
of objects or catalog brains:
obj = _.getitem('sequence-item', 0).aq_explicit
url = getattr(obj,'getURL',obj.absolute_url)()
folderish = obj.isPrincipiaFolderish
I would always expect to get an attribute error on
> Looks like you should write your own index type. Zope 2.4
> comes with an PlugableIndex interface to allow third-party
> indexes to be integrated into the Catalog.
Yeah, I know all that, and I'm very much looking forward to playing with
this. :-)
However, the email was an invitation for anyone
On Tue, 5 Jun 2001, Chris Withers wrote:
> > Looks like you should write your own index type. Zope 2.4
> > comes with an PlugableIndex interface to allow third-party
> > indexes to be integrated into the Catalog.
>
> Yeah, I know all that, and I'm very much looking forward to playing with
> this
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Andreas Jung" <[EMAIL PROTECTED]>
Cc: "zope-dev" <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 11:30 AM
Subject: Re: [Zope-dev] Request for a Pluggin Index (NameIndex)
> > Looks like you should write your own index
Title: RE: [Zope-dev] SOAP again (or, xml-rpc client for MSIE)
What are you actually trying to achive?
Adrian...
Phil Harris wrote:
>
> Brad,
>
> There are a few COM/COM+ components around that do xml-rpc.
>
> I use them with MS Word to write Word files directly to Zope for instance.
>
Title: RE: [Zope-dev] dtml-in batching improved
Back before the zope.org product directory became so easy to navigate I wrote an index
that I used to use which has batch links top and bottom:
http://www.zope.org/Members/haqa/productlist/view_source
Dunno if this helps...
Adrian...
Description
DCOracle2 is a replacement for DCOracle, written primarily in C. DCOracle 1
uses OCI 7 bindings for most Oracle calls, with OCI 8 mixed in for LOB
support. Oracle 8i disallows mixing of calls within a statement, and so
breaks LOB support. DCO2 uses entirely OCI 8 calls, and thus can us
hi
isn't there some mixin class to provide bindings to python products like in
python scripts?
so that i have some objects like: context, container ...
i searched through the zope site, but there is nothing which can do such
stuff
am i the only one who needs this, or is it a sign for wrong codi
context = self
container = self.aq_inner.aq_parent
Bernd Dorn wrote:
>
> hi
>
> isn't there some mixin class to provide bindings to python products like in
> python scripts?
> so that i have some objects like: context, container ...
>
> i searched through the zope site, but there is nothing wh
thx, but i tried this already
self always returns the instance of the class in which the method is
defined, instead of the container/object from which it is called
example:
two classes,
class x with method example(): return self
class y with no method and is a subobject of x
http://www.foo.bar/
Oops, sorry... roughly,
context = self.aq_parent
container = self.aq_inner.aq_parent
Bernd Dorn wrote:
>
> thx, but i tried this already
>
> self always returns the instance of the class in which the method is
> defined, instead of the container/object from which it is called
>
> example:
> t
this doesnt work either
my test funtion:
def test_htm(self):
""" just test """
context = self.aq_parent
return context.absolute_url()
returns always the absolute_url of the parent object of the class instance
is there something wrong with my product??
it inherits from
Bernd Dorn wrote:
>
> this doesnt work either
>
> my test funtion:
>
> def test_htm(self):
> """ just test """
> context = self.aq_parent
> return context.absolute_url()
>
> returns always the absolute_url of the parent object of the class instance
I think I understand
either way - thx
maybe such a bindings implementation is worth a proposal sometime ...
- Original Message -
From: "Chris McDonough" <[EMAIL PROTECTED]>
To: "Bernd Dorn" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 11:18 PM
Subject: Re: [Zope-dev] context bindi
Our Zope installation has this really strange
problem associated with the displayed
"Modification Time" shown for each file in
the /manage_main of a folder. The time that
is shown is exactly one-hour later than
the system time. I think I've tracked down
this to the bobobase_modification_time
Hello out there.
I had following problem:
In a software, using zope as appserver, we needed to have every user
a single connection to the database (postgres 7.1) to have access-
checks on database level.
I hacked into the Connection code and found, that the interfaces are
really hard to be used
I have an IE 5.5 one-page web application that manages related database tables
exposed as ADO recordsets from a Zope/Interbase/Linux server.
I would like to use either the webservices behavior in IE5 or find an XML-RPC client
component for IE 5.5 so I can make RPC calls into Zope in a standard,
Erik Enge wrote:
> On Sun, 29 Apr 2001, Erik Enge wrote:
> I figured it out, I think. Let's say I have these two methods:
>
> def a():
> b()
>
> def b():
> a()
>
> If I call a(), then Zope dies and restarts without giving me any error
> at all. Anyone got a clue?
There are
On Tue, Jun 05, 2001 at 11:47:18PM +0200, Christian Theune wrote:
> Hello out there.
>
> I had following problem:
>
> In a software, using zope as appserver, we needed to have every user
> a single connection to the database (postgres 7.1) to have access-
> checks on database level.
I think tha
> Erik Enge wrote:
> > On Sun, 29 Apr 2001, Erik Enge wrote:
> > I figured it out, I think. Let's say I have these two methods:
> >
> > def a():
> > b()
> >
> > def b():
> > a()
> >
> > If I call a(), then Zope dies and restarts without giving me any error
> > at
Dieter Maurer wrote:
>
> > Erik Enge wrote:
> > > On Sun, 29 Apr 2001, Erik Enge wrote:
> > > I figured it out, I think. Let's say I have these two methods:
> > >
> > > def a():
> > > b()
> > >
> > > def b():
> > > a()
> > >
> > > If I call a(), then Zope dies and re
> > In a software, using zope as appserver, we needed to have every user
> > a single connection to the database (postgres 7.1) to have access-
> > checks on database level.
You might want to check out DBObjects, since they are automatically
implementing all the permission stuff on the Zope sid
I update zope from cvs this morning. The ZServer/__init__.py contain
__init__.py
is it in diff format?
Rgs,
Kent Sin
-
kentsin.weblogs.com
kentsin.imeme.net
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://li
Looks like a merge conflict during the cvs update.
Try a fresh checkout or remove the file and retry cvs update.
Andreas
- Original Message -
From: "Sin Hang Kin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 7:56 PM
Subject: [Zope-dev] __init__.py of ZServer
Ok, time to throw in my RMB 0.166 (US$ 0.02).
SITE VOCABULARY
In other CMS's, e.g., SiteServer, Spectra (Cold Fusion), and Vignette
the main use of the subject/keywords is for user profiling and
personalization; although they call it Vocbulary, Site Categories, and
Category:Keywords respectivel
Hi there,
We're planning a Yahoo! Clubs like system that should scale to about 30,
000 users. Assuming about 3,000 groups and 20MB per group (group
functionality includes photo albums), gives a database size of 60GB.
Assuming on average 3,000 users per day, 20 page views per users, gives
about 6
How do I construct a dtml-if statement with two conditions joined by "and"
logic? I want to do something like this:
Jeff Nielsen / UgoFast
http://www.UgoFast.com
[EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/ma
Brad Clements wrote:
>
> SOAP, WSDL and UDDI are coming in a big way. I think Zope/Python can compete
> against MS .Net Services on the server side, but it does make sense to use .Net
> components on the client, such as the webService behavior for IE.
Does it really exist (the webService behavio
31 matches
Mail list logo