On Sun, Apr 25, 2004 at 12:48:30PM -0400, Fred Drake wrote:
On Sunday 25 April 2004 12:29 pm, Jim Fulton wrote:
cvs co svn+ssh://svn.zope.org/repos/Zope3/trunk Zope3
That should be:
svn co svn+ssh://svn.zope.org/repos/Zope3/trunk Zope3
cvs co
On Tue, Mar 09, 2004 at 01:58:17PM -0500, Ian Beatty wrote:
Greetings again.
This has to be an easy one.
From within my Python-based product's code, how do I get access to the
product's directory on the filesystem? os.getcwd() seems to provide the
working directory of the shell used to
On Fri, Nov 21, 2003 at 11:41:53AM -0500, Casey Duncan wrote:
On Fri, 21 Nov 2003 17:33:43 +0100
lukasz [EMAIL PROTECTED] wrote:
I have a problem.When I import my plone site from one server to other I
got :
AttributeError:
__before_publishing_traverse__
What should I do with
Am Mittwoch, 8. Januar 2003 02:51 schrieb Sameer Maggon:
Hi all,
We have our own proprietary Document Management Product. Lot of our
clients have their valuable data (images, web-pages, other documents)
in our repository (powered by our DM product). Now is there a way we
can incorporate CMS
Am Sam, 2002-11-23 um 18.30 schrieb Jamie Heilman:
Turns out you can create objects with an id of . or .. although you
Well, you can access these properties/objects from DTML/Python. Not from
ZPublisher (the URL-Object Request Broker).
can't access them. (which is to say I couldn't figure out
are passed via the url or stdin, ...)
Andreas
--
Andreas Kostyrka [EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
with Umlaute, ...
I've used wget and less result to verify that the umlaute display
correctly.
Andreas
--
Andreas Kostyrka [EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts
.
Andreas
--
Andreas Kostyrka [EMAIL PROTECTED]
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http
Am Mit, 2002-09-25 um 10.06 schrieb Lennart Regebro:
From: Andreas Kostyrka [EMAIL PROTECTED]
And how do I return an attribute that is acquired (but not down th main
acquisition path, but on a side line?)
You shouldn't, really.
Why not?
I assume that I could probably play some silly
Am Mit, 2002-09-25 um 12.44 schrieb Lennart Regebro:
From: Andreas Kostyrka [EMAIL PROTECTED]
To: Lennart Regebro [EMAIL PROTECTED]
You shouldn't, really.
Why not?
Because that's not how it's supposed to work. You can override __getattr__
to have special magick attributes
Am Mon, 2002-09-23 um 00.18 schrieb Lennart Regebro:
From: Andreas Kostyrka [EMAIL PROTECTED]
I've just discovered, that Acquisition does not work with __getattr__,
right?
That depends on what you mean with does not work. :-)
(I assume that this is so because something like getattr
Am Mon, 2002-09-23 um 10.35 schrieb Lennart Regebro:
From: Andreas Kostyrka [EMAIL PROTECTED]
Nope it is not. In a normal method you can access something acquired
like this:
self.acquired_value.
I often do just that. :-) I'm not 100% sure what you need to include for
that to work
Am Mon, 2002-09-23 um 13.10 schrieb Chris Withers:
Andreas Kostyrka wrote:
The problem is, that __getattr__ does not have access to the acquisition
chain.
I think it does, but I may be corrected.
Well, it's definitly not wrapped. I know because I had to work around
that. And it's
Am Mon, 2002-09-23 um 11.12 schrieb Florent Guillaume:
Anoter way to do that is to play games with __of__.
Look at the implementation of the skins tool in CMF for an example.
Doesn't help, as I do NOT know my container :(
Basically __getattr__ when called does not know it's containment
Am Mon, 2002-09-23 um 18.29 schrieb Florent Guillaume:
Andreas Kostyrka [EMAIL PROTECTED] wrote:
Am Mon, 2002-09-23 um 11.12 schrieb Florent Guillaume:
Anoter way to do that is to play games with __of__.
Look at the implementation of the skins tool in CMF for an example.
Doesn't help
Hi!
As pDocumentTemplate.py is out-of-order at the moment, here is a small
patch to make cDocumentTemplate show more attributes (to help
debugging).
Andreas
Index: lib/python/DocumentTemplate/cDocumentTemplate.c
===
RCS file:
Hi!
I've just discovered, that Acquisition does not work with __getattr__,
right?
(I assume that this is so because something like getattr(mybase,attr) is
called during the acquisition process to prevent infinite recursion.)
Anyway to get around that? (To basically get a wrapped self from
Hi!
I've got a product that inherits from Folder, and creates
some magic content by overriding __bobo_traverse__.
Now I've got the problem that I cannot access the magic items from
within a DocumentTemplate like in dtml-var special.
The interesting thing is, that I've overloaded __getattr__
18 matches
Mail list logo