On Sun, 25 Feb 2001, Steve Alexander wrote:
I wasn't reading the code clearly the first time around.
By far the simplest place to return copied results from methodB is to
change the last line to
Thanks, it all works nice. Nearly, that is.
The reverse problem is now gone. But the fact
On Mon, 26 Feb 2001, Erik Enge wrote:
I only get this when a ConflictError occur.
Nope, it occurs every time I change to another object. I need to do some
more testing here. It seems as if the 'objects' variable of 'methodB' is
semi-persistent or something. Weired.
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method body instead.
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: "Steve
Chris McDonough wrote:
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method body instead.
Of course! Yet another demonstration of the dangers of
Erik Enge wrote:
The reverse problem is now gone. But the fact that every time I get
a ConflictError it doesn't "flush" the 'objects' of methodB, and
just seems to append to it, still remains.
I only get this when a ConflictError occur.
I don't know exactly why this might happen.
On Mon, 26 Feb 2001, Steve Alexander wrote:
Chris McDonough wrote:
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method body instead.
Of
Erik Enge wrote:
On Mon, 26 Feb 2001, Steve Alexander wrote:
Chris McDonough wrote:
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method
Hi guys,
I'm having trouble making ZCatalog work. The problem is that
there are 29 objects of a given meta type, with the same
booleans that should be returned for an iteration; but only
20 are. Is this a result of caching perhaps? Or lazy
results?
Thanks,
Morten
Morten W. Petersen wrote:
Hi guys,
I'm having trouble making ZCatalog work. The problem is that there
are 29 objects of a given meta type, with the same booleans that
should be returned for an iteration; but only 20 are. Is this a
result of caching perhaps? Or lazy results?
Could
Neat!
- Original Message -
From: "Steve Alexander" [EMAIL PROTECTED]
To: "Morten W. Petersen" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 1:31 PM
Subject: Re: [Zope-dev] ZCatalog problems
Morten W. Petersen wrote:
Hi guys,
I'm having trouble
Anybody know how to catalog the object "owner"? I can't seem to find a
property to catalog the value of getUserName(). (of course I could always
kludge it with a property in the constructor, but I would prefer use what is
already there).
[Tim McLaughlin]
| Anybody know how to catalog the object "owner"? I can't seem to find a
| property to catalog the value of getUserName(). (of course I could always
| kludge it with a property in the constructor, but I would prefer use what is
| already there).
I'll second that, the ability
I'll second that, the ability to catalog values returned by method calls
would be sweet..
Not sure what you mean, this works now.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
getOwner should do it. This will return the actual owner object. It'd be
preferable to catalog the tuple representing the owner path (this is
returned by getOwner(1)), so you might want to create a method on the object
that returns "getOwner(1)".
- Original Message -
From: "Tim
[Chris McDonough]
| I'll second that, the ability to catalog values returned by method calls
| would be sweet..
|
| Not sure what you mean, this works now.
Aha? So if I specify a field index of, get_parent_node_id, which is a
function call on all objects that are to be indexed, this would
how? I can't seem to do it. (I'm sure that I'm just being daft though). I
tried both "title_and_id" and "title_and_id()" to no avail.
-Original Message-
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 4:51 PM
To: Tim McLaughlin; Morten W. Petersen
Cc:
never mind. dumb mistake.
Thanks.
-Original Message-
From: Tim McLaughlin
Sent: Monday, February 26, 2001 4:37 PM
To: 'Chris McDonough'; Tim McLaughlin; Morten W. Petersen
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope-dev] catalog object owners?
how? I can't seem to do it. (I'm sure
Morten W. Petersen wrote:
Aha? So if I specify a field index of, get_parent_node_id, which is a
function call on all objects that are to be indexed, this would
index the returned value?
yes.
If so, how long has this been available?
Absolutely ages!
At least since 2.2. I don't have any
I searched the NIP archives but didn't get any hits on strip_html. Is the
code for this beast (used by zope.org to strip html out of partial text
included from another page) available anywhere?
--RDM
___
Zope-Dev maillist - [EMAIL PROTECTED]
Aha? So if I specify a field index of,
get_parent_node_id, which is a
function call on all objects that are to be indexed, this
would
index the returned value?
If so, how long has this been available?
As long as the catalog has been around, AFAICT...
This is one of its very most basic
Toby Dickenson wrote:
If you are interested in a short-term hack, it is possible implement
your own type of index and add it to an existing catalog, without
having to modify any of the ZCatalog product.
Ok, how? Please keep in mind that I'm more of a designer and
integrator than a coder.
On 23 Feb 2001 18:13:37 -0800, Dirksen wrote:
Hi Bill,
When I open the 'find objects' tab in MemberCatalog, I can't see 'PortalMember' in
'find
object in type' selection field. How to build indexes then? Thanks in advance!
Sorry for the delay, that's what i get for living on the bleeding
Zope is a great application server, the same as its soon to be released Content
Management Framework, because of its bet on Python, everybody say it.
Nevertheless, after reading the Directions Roadmap from DC, I was surprised that
a substantial improvement of the searching features of Zope,
23 matches
Mail list logo