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 s
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 woul
On Tue, 27 Feb 2001, Christian Scholz wrote:
> 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 infor
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.
> Componen
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
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 Object
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 Zope."
Brian, I understand your point. By making Zope a solid framework for starters
and believers, every member of the comunity could have the chance to write the
components he needs most, contributing in this way to increase Zope's features.
Maybe I was wrong at considering the Roadmap as a guide to al
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 o
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 su
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
>
> 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
post
> 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 _obj
"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 _g
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 a
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]
http://lists
On 2/27/01 10:59 AM, in article [EMAIL PROTECTED], "Chris Withers"
<[EMAIL PROTECTED]> 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 sa
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 tha
> 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.
>
>
>
> Moreover,
> everybody uses more Google to look for everything, bypassing
> windows, doors, and
> portals!. Why? Becaus
Toby Dickenson wrote:
>
> On Mon, 26 Feb 2001 19:00:58 -0800, "Michael R. Bernstein"
> <[EMAIL PROTECTED]> wrote:
>
> >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
> >>
> 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
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
I have two Python classes, say A and B, where B subclasses A.
If I want to call a method in A from an overridden method in B I can either
use:
B.inheritedAttribute('method_in_A')(self. *args)
or:
A.method_in_A (self, *args)
Can anybody explain me the differences between those two, because the se
> 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" sec
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 aroun
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 B
"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 w
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 re
28 matches
Mail list logo