Dieter Maurer wrote:
Chris Withers writes:
urllib Client block Zope
That would suggest a bug in Python's socket implementation:
its "makefile().read" method would not release the global
interpreter lock.
Do you think this is likely? If so, where would I go to report it,
"R. David Murray" wrote:
On Thu, 22 Feb 2001, Chris Withers wrote:
Apart from that, any ideas how I'd search for a record where the indexed
attribute is blank or the secondary sort stuff?
Somebody contributed a patch for the secondary sort stuff a while back.
Whether it still works
Bill Anderson wrote:
I use, and recommend the use of a ZPattern trigger. You can get it by
downloading the DataSkins product. This way, whenever a member is
modified, it automatially updates/creates it's entry in the catalog.
Just be sure to specify MemberCatalog :)
To expand on what Bill
Chris McDonough 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?
If so, how long has this been available?
As long as the catalog has been around, AFAICT...
p.d. Right now I'm quite interested at the technology of searching
and finding non structured content, in order to compose structured
documents. For example, the guys at Vignette (StoryServer) say that
its customers don't need to keyword anything in order to have a
"related content"
Dear Brian,
req = context.REQUEST
context.propertysheets.info.manage_changeProperties(longdesc=req.f
orm['longdesc'])
context.commitSubtransaction()
req.RESPONSE.redirect(req['URL1']+'/edit_longdescForm')
context is a DataSkin instance. When I submit the form, I get an
I am assuming that the code you provided goes into a
manage_addCustomIndex method that is part of a CustomIndex
Python Product.
hehehehe, nothing so general-purpose as that ;-)
You will need to implement a subclass derived from one of
the standard
indexes to provide your custom
Hi,
I need a product with custom attribute getting code and so looked to the
BTreeFolder product for inspiration.
It implements both __getattr__ and _getOb which appear to do roughly the same
thing.
What's the difference?
Shane hints that __getattr__ is slower but allows acquisiton. Why is
after reading the Directions Roadmap from DC, I was surprised that
a substantial improvement of the searching features of Zope, wasn't
mentioned as a major concern.
snip
Moreover,
everybody uses more Google to look for everything, bypassing
windows, doors, and
portals!. Why? Because
Jeffrey P Shell wrote:
_getOb and _setOb are for placing subobjects somewhere besides attributes
(which is the default implementation).
When would __getattr__ be used then?
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Jeffrey P Shell wrote:
_getOb and _setOb are for placing subobjects somewhere besides attributes
(which is the default implementation).
_getOb and friends are the default protocol that *SHOULD* be used by systems
that change subobjects (ie - copy and paste).
Sorry, just thought of
"Chris Withers" [EMAIL PROTECTED] wrote:
Jeffrey P Shell wrote:
_getOb and _setOb are for placing subobjects somewhere besides attributes
(which is the default implementation).
When would __getattr__ be used then?
In what context? You could wire __getattr__ to call into _getOb (and
Sorry, just thought of another coupla questions:
If x is an instance of my class, then:
If I do x.a = 1, is _setOb called?
If I do print x.a, is _getOb called?
No in either case.
_setOb shouldn't be used directly in the current ObjectManger
implementation. It doesn't populate the _objects
Just read your article (http://www.pault.com/zope.html) and really
enjoyed it (besides comparing Java to Macs... yikes!). I agree that
DC needs to really work with Zope Product Developers and help them as
much as possible.
Have you looked at the Zope Directions document recently
posted
Chris McDonough wrote:
Sorry, just thought of another coupla questions:
If x is an instance of my class, then:
If I do x.a = 1, is _setOb called?
If I do print x.a, is _getOb called?
No in either case.
_setOb shouldn't be used directly in the current ObjectManger
Please do NOT cross post.
-Michel
On Mon, 26 Feb 2001, Ausum wrote:
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
Hi!
I am just wondering if it's possible to get hold of the properties of a propertysheet
of a ZClass without instanciating it.
So when instanciating I would just do
map=object.propertysheets[1].propertyMap()
and get all information of my ZClass instance object.
So is this also possible
While reading the Zope Development Roadmap about components I had a
question.
It says:
"""Components will be edited via the filesystem as .py files. Components
will probably be checked into and out of Zope via a CVS like facility.
Components can be tested locally without checking them into
Chris Withers wrote:
Hi,
I need a product with custom attribute getting code and so looked to the
BTreeFolder product for inspiration.
It implements both __getattr__ and _getOb which appear to do roughly the same
thing.
What's the difference?
_getOb() is part of the ObjectManager
Brian Lloyd wrote:
DC should encourage and then force developers to be a bit better
about documentation. I have seen product developers put up a new
product with the full amount of documentation about it being "here it
is... have fun." This certainly does not help all of those people
On Tue, 27 Feb 2001, Jimmie Houchin wrote:
While reading the Zope Development Roadmap about components I had a
question.
It says:
"""Components will be edited via the filesystem as .py files. Components
will probably be checked into and out of Zope via a CVS like facility.
Components can
Yes this is what I was looking for and somewhat expecting. I can
understand the challenge in getting ZClass, Py/Perl Script, "composite
components" done right. In fact to me they could easily make things more
complex. Potentially more complex process and more complex machinery to
handle it. I
These comments are against the CVS of about a week ago. I can't get to the
CVS to update at the moment - the connection times out.
Is there a reason why the manage_main call at the end of manage_copyObjects
and manage_cutObjects in CopySupport gets called as
self.manage_main(REQUEST) instead of
23 matches
Mail list logo