[Zope] prefix attribute in dtml-in

2006-06-08 Thread Sam Boggess
Using Zope 2.8, I have two nested tags that each loop through the results of different SQL methods. I'm trying to use the prefix attribute to differentiate the two, but I can't get it to work. Does anyone have any thoughts? Sub Topics Topic : subtopic_menutit

Re: [Zope] dtml forwarding request

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 11:39:19PM +0200, Tino Wildenhain wrote: > Alric Aneron wrote: > > So there is no way to do it through python and DTML? > > > > I know Java has something like that. > ZEO is the canonical way to distribute zope stuff. > Well you should be sure you know what you do anywa

Re: [Zope] dtml forwarding request

2006-06-08 Thread Tino Wildenhain
Alric Aneron wrote: > So there is no way to do it through python and DTML? > > I know Java has something like that. *lol* Well you should be sure you know what you do anyways. Forwarding requests means you trust the users browser to do the right thing. Maybe you can instead make a subrequest by

Re: [Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
So there is no way to do it through python and DTML?I know Java has something like that.Jonathan <[EMAIL PROTECTED]> wrote: If you are using a zeo server and both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB.   I

Re: [Zope] dtml forwarding request

2006-06-08 Thread Jonathan
If you are using a zeo server and both server are zeo clients you could store the info on the zeo server, then do a redirect from serverA/methodA to serverB/methodB.   If the servers do not have access to the same zeo server, then you are going to have to 'package-up' all the variables you ne

RE: [Zope] REQUEST within a property() getter/setter

2006-06-08 Thread Doyon, Jean-Francois
I was afraid of this ... :( Back to using get_request() then! J.F. -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED] Sent: June 8, 2006 12:50 PM To: Doyon, Jean-Francois Cc: 'zope@zope.org' Subject: Re: [Zope] REQUEST within a property() getter/setter Doyon, Jean-Franco

[Zope] zwiki connection error

2006-06-08 Thread Josh Stephenson
Hey all, Recently, ZWiki stopped working on my zope 2.9.2 intel mac os x 10.4 box (python 2.4.2). It was working fine until sometime yesterday, when I could no longer access my wiki using the address http://:8080/mywiki This is strange because zope is running, I can get into the zmi, create

Re: [Zope] dtml forwarding request

2006-06-08 Thread Dennis Allison
You can do a redirect and construct the cgi space from REQUEST. On Thu, 8 Jun 2006, Alric Aneron wrote: > The dtml_method where I want to forward to is on another server, so your may > would be a little hard to do. Sorry, I didn't make myself clear the first > time. > > Thanks, any sugges

Re: [Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
The dtml_method where I want to forward to is on another server, so your may would be a little hard to do.  Sorry, I didn't make myself clear the first time.Thanks, any suggestions?Jonathan <[EMAIL PROTECTED]> wrote: if you want to go straight from one dtml routine to another just use dtml-v

Re: [Zope] dtml forwarding request

2006-06-08 Thread Jonathan
if you want to go straight from one dtml routine to another just use dtml-var (ie.  have dtml method A call dtml method B) -  then in dtml method A have:     This will 'pass' control and the REQUEST space from A to B.   Is this is not what you are looking for, then provide some more info as

[Zope] dtml forwarding request

2006-06-08 Thread Alric Aneron
Hello,Is there a way in Zope to forward a request from one page to another.  When I say "forward" a request, I want to retain all the GET and POST request parameters.  So similar to but response.redirect loses all the request parameters.I've been looking around and couldn't find it.Any ideas?Thank

Re: [Zope] REQUEST within a property() getter/setter

2006-06-08 Thread Dieter Maurer
Doyon, Jean-Francois wrote at 2006-6-7 17:13 -0400: >When executing code within a property getter/setter, I can't seem to get to >the REQUEST object. > >self.REQUEST always seems to return Acquisition> ... > >Anyway around this? No. Python's low level attribute access methods ("__getattribute__",

Re: [Zope] installing zope2.9.3 attempt

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 09:38:40 -0400 Thomas Bennett <[EMAIL PROTECTED]> wrote: Using Python interpreter at /usr/local/bin/python2.4 [z293]# make /usr/local/bin/python2.4 install.py -q build Traceback (most recent call last):   File "install.py", line 28, in ?     context.initialize()   File "/va

Re: RE : RE : [Zope] Export format documentation

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 02:54:10PM +0200, S?bastien VINOT wrote: > > De : Andreas Jung [mailto:[EMAIL PROTECTED] > > Possibly my reply wasn't clear enough. The pickle format > > (binary or XML) > > appears too low-level in order to write a reasonable > > migration script. The recommended soluti

[Zope] installing zope2.9.3 attempt

2006-06-08 Thread Thomas Bennett
I'll have to say, this is the first Zope that I've had a problem with the install since 1998.  The last successful version I installed was 2.92. RedHat Linux 7.3 Python 2.4.3 I've looked at the Troubleshooting info in the INSTALL.txt file and my Makefile for Python 2.4.3 shows CC=            

Re: [Zope] Modification time problem

2006-06-08 Thread Paul Winkler
On Thu, Jun 08, 2006 at 04:08:34PM +0300, Vitaly Lobachevsky wrote: > Probably the problem is in my Data.fs. I can't pack it. I've got the error: > > Error Type: FileStorageError > Error Value: The database has already been packed to a later time or no > changes have been made since the last pack

Re: [Zope] Modification time problem

2006-06-08 Thread Vitaly Lobachevsky
Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success. An

RE : RE : [Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
> -Message d'origine- > De : Andreas Jung [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 8 juin 2006 14:48 > À : Sébastien VINOT; zope@zope.org > Objet : Re: RE : [Zope] Export format documentation > > > > > --On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT > <[EMAIL PROTECTED]> wrote: >

Re: RE : [Zope] Export format documentation

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 14:44:39 +0200 Sébastien VINOT <[EMAIL PROTECTED]> wrote: > > I'm wondering if it is possible to load datas for a zexp file without > the old product and then build new instances of my new product. That > is why I'd like to know if there is a good documentation concerning

RE : [Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
> -Message d'origine- > De : Andreas Jung [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 8 juin 2006 14:38 > À : Sébastien VINOT; zope@zope.org > Objet : Re: [Zope] Export format documentation > > > > > --On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT > <[EMAIL PROTECTED]> wrote: > >

[Zope] Re: Export format documentation

2006-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sébastien VINOT wrote: > Hello, > > I have an export file of objects (that come from a Plone 2.0.5 > instance). Unfortunately, the products are not compatible with a newer > Plone version. I'm building a new version of this product (but it will > be q

Re: [Zope] Export format documentation

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 14:28:31 +0200 Sébastien VINOT <[EMAIL PROTECTED]> wrote: I'm wondering if it is possible to load datas for a zexp file without the old product and then build new instances of my new product. That is why I'd like to know if there is a good documentation concerning the int

[Zope] Export format documentation

2006-06-08 Thread Sébastien VINOT
Hello, I have an export file of objects (that come from a Plone 2.0.5 instance). Unfortunately, the products are not compatible with a newer Plone version. I'm building a new version of this product (but it will be quite different from the initial one). I'm wondering if it is possible to load dat

Re: [Zope] Modification time problem

2006-06-08 Thread Andreas Jung
--On 8. Juni 2006 11:51:48 +0300 Vitaly Lobachevsky <[EMAIL PROTECTED]> wrote: Hi, all. I'm working in ZMI. When a object created/changed the value in "Last Modified" column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Possib

[Zope] Modification time problem

2006-06-08 Thread Vitaly Lobachevsky
Hi, all. I'm working in ZMI. When a object created/changed the value in "Last Modified" column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Zope Version: (Zope 2.7.8-final, python 2.3.5, linux2) Python Version: 2.3.5 (#1, Jul 6

Re: [Zope] Document parameters as part of a URL

2006-06-08 Thread Chris Withers
Peter Bengtsson wrote: Well, you could maybe create a new type of DTML Method called Clear DTML Method which would in principle look something like this: from zope.somewhere import DTMLMethod class ClearDTMLMethod(DTMLMethod): meta_type = "Clear " + DTMLMethod.meta_type def __before_publis