Yes, this would be more comfortable, some of my templates would be cleaner
with this feature.
You may work this around like this...
with someScript ending with...
return foo, bar
I'm interrested into adding some other wishes for the next ZPT versions.
Where could those wishes be posted ?
Che
What's behind this ?
Actually, we get the "template" variable available in the TALES namespace.
"template", when used in a macro, refers to the template that uses the
macro, and not to the template that contains the macro.
The future (if you wish it with me) "thistemplate" variable will refer to
I agree,
I've been lookin for a "Zope site design guidelines" like chapter in Zope site when I
was a newbie but did not find consistent and comprehensive information.
You can only find various Howto in that matter.
Please correct me if I'm wrong.
So I made some spaghetti sites in my first 2 mont
Mark,
It seems you forget the id of your new object !!
I use do do it in Python script (easier for testing initial data from request). But
you can translate in DTML if you prefer...
# Test initial data from REQUEST and redirect somewhere if required
...
# Create the new ZClass based object
newob
Hi,
It worked perfectly for me. I just got a couple of deprecation warnings when starting
zope (should use re and not - unmaintained - regexp module).
As far as I can follow the traceback, the BTree problem is off topic for your issue.
I suspect you did not install Python 2.1.3 from source, or y
Hi,
It seems that the Zope developer guide at http://www.zope.org/Documentation/ZDG is
suited for Zope 2.4.x +.
I need the one that's suited to Zope 2.3.3 and did not find it.
Any clue ?
Thanks in advance
--Gilles
___
Zope-Dev maillist - [EMA
Hi,
I made a CMF portal_type class based on python product.
This contains a Photoshop file and some dedicated related services.
Users may upload Photoshop files via HTTP.
This works with small files but when a user uploads a big file (8 Mb and more) through
HTTP, this stalls the server.
So I ne
Hi,
aq_base(someObject) doesn't work in a python script. I need to get an object without
its acquisition wrapper.
Any hint ?
Many thanks in advance
--Gilles
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-
- Original Message -
From: "Toby Dickenson" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 1:46 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python scri
- Original Message -
From: "Toby Dickenson" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 3:51 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python scr
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: "Toby Dickenson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 6:18 PM
Subject: Re: [Zope-dev] R
> On Thu, 2002-08-01 at 14:38, Gilles Lenfant wrote:
> > [...]
> > Now I'm always looking for an alternate way to get rid of the acquisition wrapper
>and access only the objects own props.
>
> To access an object's own props (and get an error if it doesn't find
&
Hi,
I'm searching a way to execute a ZODB untrusted python script with parameters and
appropriate bindings (context, container...) from a file system Zope product.
Where can I find some examples ?
Thanks in advance.
--Gilles
___
Zope-Dev maillist
Hi,
I know I can get the root object using self.getPhysicalRoot()
But I'm in a situation where I can't get that "self" or any other Zope
object.
Any hint ?
Thanks in advance.
--Gilles
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.
I tried (successfully) to play with Zope objects with console scripts using
the hints in $ZOPEROOT/doc/ZODB.txt
Unfortunately, it works only if the Zope server is down.
I need to run this script on a running server, and I'd prefer not using
xmlrpc stuffs for a better efficiency.
Any hint, config,
- Original Message -
From: "Leonardo Rochael Almeida" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: "Zope Developers list" <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 8:34 PM
Subject: Re: [Zope-dev] Using Zope fr
- Original Message -
From: "Jerome Alet" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: "Leonardo Rochael Almeida" <[EMAIL PROTECTED]>; "Zope Developers list"
<[EMAIL PROTECTED]>
Sent: Tuesday, November 05
- Original Message -
From: "Jerome Alet" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 10:21 PM
Subject: Re: [Zope-dev] Using Zope from a console script
> On Tue, Nov 05,
> >
> > Leonardo,
> >
> > Thanks for that fast answer.
> >
> > But it's buggy for me (Zope 2.5.1/Python 2.1.3/FreeBSD) :
> >
> > bash-2.05a$ python ZServer/medusa/monitor_client.py localhost 8099
> > /usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub
module
> > is deprecated; ple
> Gilles Lenfant wrote:
> >
> > I know I can get the root object using self.getPhysicalRoot()
> > But I'm in a situation where I can't get that "self" or any other Zope
> > object.
>
> Sounds like a very strange situation, tell us more about
Hi,
Is there something wrong with XML-RPC client and Zope 2.6.0 ?
Things that worked perfectly with Zope 2.5.1 don't work any more !
Even when I make a "hello world" Python script handler like
## Script (Python) "xtest"
##bind container=container
##bind context=context
##bind namespace=
##bind sc
- Original Message -
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Gilles Lenfant" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 24, 2003 6:20 PM
Subject: Re: [Zope-dev] XMLRPC client and Zope 2.6.0
> >>>>s = Ser
"View" permission to Members.
Associate this workflow to the appropriate content types.
HTH
--Gilles Lenfant
- Original Message -
From: "David Cain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 7:53 PM
Subject: [Zope-dev] Making
Hi,
I'm pretty familiar with the usual unittest package I use successfully with
my non-Zope python projects, but I haven't get enough enlightenment for
playing unit tests on my Zope products.
* The tips from the Zope developer guide don't work (did I miss something ?)
* I did'nt understand how to
Hi,
I use to document my (non Zope) python packages using epydoc that's (IMHO)
the best python documentation tool (javadoc like great features).
http://epydoc.sourceforge.net/
Unfortunately, this does not work with Zope products (usual pydoc doesn't
too).
How can I make a fixure to get it worki
- Original Message -
From: "Encolpe DEGOUTE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 27, 2003 4:57 PM
Subject: Re: [Zope-dev] Documenting products with epydoc
On Thu, 27 Mar 2003 16:40:49 +0100
"Gilles Lenfant" <[EMAIL PRO
26 matches
Mail list logo