Re: [Zope] apache rewrite rules redux

2006-05-24 Thread Chris Withers
David Bear wrote: # see http://betabug.ch/zope/witch RewriteRule ^/z2$ http://127.0.0.1:9080/VirtualHostBase/\ https/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P] RewriteRule ^/z2/(.*) http://127.0.0.1:9080/VirtualHostBase/\ https/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P] These rules

[Zope] AJAX and Zope

2006-05-24 Thread Pascal Peregrina
Hi, I was wondering if there is any plan to have built-in support (i.e. helpers, built-in Zope objects, etc) in order to support AJAX in Zope at some point. Zope is already XML-RPC compliant, so it should not be very difficult to do so... Has anyone seen this? http://jtauber.com/blog/2006/05/23/p

Re: [Zope] AJAX and Zope

2006-05-24 Thread Andreas Jung
--On 24. Mai 2006 13:43:27 +0100 Pascal Peregrina <[EMAIL PROTECTED]> wrote: Hi, I was wondering if there is any plan to have built-in support (i.e. helpers, built-in Zope objects, etc) in order to support AJAX in Zope at some point. Zope is already XML-RPC compliant, so it should not be ve

Re: [Zope] AJAX and Zope

2006-05-24 Thread Lennart Regebro
On 5/24/06, Pascal Peregrina <[EMAIL PROTECTED]> wrote: I was wondering if there is any plan to have built-in support (i.e. helpers, built-in Zope objects, etc) in order to support AJAX in Zope at some point. The helpers would then be some sort of Ajax JS library. I think that at this time it m

[Zope] allow access to fileobject depending on role

2006-05-24 Thread leandros van den berg
Hello, I'm having trouble with the precondition field of a fileobject. I've got a fileobject (a PDF-file) and its precondition field states myPrecondition, which is a DTML Method and its code is: (source: http://www.zopelabs.com/cookbook/1016369692) The PDF-file should only be displaye

[Zope] zope.conf Zeo question

2006-05-24 Thread Jonathan
I am trying to set up a zeo client on one machine and a zeo server on another machine. I get the following messages in zeo.log (on the zeo server machine): 2006-05-24T08:42:04 INFO ZEO.StorageServer (8610) StorageServer created RW with storages: 1:RW:/apps/zeo1/var/Data.fs -- 2006-05-24T0

RE: [Zope] AJAX and Zope

2006-05-24 Thread Pascal Peregrina
By Zope objects I meant: You've got a page template for example, and you include such an "AJAX enabled object", basically rendering an HTML fragment, and the resulting page will include the page template code + the fragment (similar to a macro call), but will also include the needed javascript

Re: [Zope] AJAX and Zope

2006-05-24 Thread Jonathan
Have you looked at: http://zif.hill-street.net/jsonserver Jonathan - Original Message - From: "Pascal Peregrina" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 24, 2006 9:18 AM Subject: RE: [Zope] AJAX and Zope By Zope objects I meant: You've got a page template for example, and y

RE: [Zope] AJAX and Zope

2006-05-24 Thread Andreas Jung
--On 24. Mai 2006 14:18:34 +0100 Pascal Peregrina <[EMAIL PROTECTED]> wrote: By Zope objects I meant: You've got a page template for example, and you include such an "AJAX enabled object", basically rendering an HTML fragment, and the resulting page will include the page template code + the

Re: [Zope] AJAX and Zope

2006-05-24 Thread Lennart Regebro
On 5/24/06, Pascal Peregrina <[EMAIL PROTECTED]> wrote: By Zope objects I meant: You've got a page template for example, and you include such an "AJAX enabled object", basically rendering an HTML fragment, and the resulting page will include the page template code + the fragment (similar to a

Re: [Zope] AJAX and Zope

2006-05-24 Thread Tarek Ziadé
Lennart Regebro wrote: > On 5/24/06, Pascal Peregrina <[EMAIL PROTECTED]> wrote: > >> By Zope objects I meant: >> >> You've got a page template for example, and you include such an "AJAX >> enabled object", basically rendering an HTML fragment, and the >> resulting page will include the page templ

RE: [Zope] AJAX and Zope

2006-05-24 Thread Pascal Peregrina
Well, that's why I mentioned this in my initial mail: http://jtauber.com/blog/2006/05/23/primitive_python_version_of_gwt_working (the python to javascript translator part) Of course I know how to make some AJAX to in Zope for some specific application. But I wanted to know if some of the core Zop

Re: [Zope] zope.conf Zeo question

2006-05-24 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24 May 2006, at 14:16, Jonathan wrote: When I run zope on the zeo client & check the 'zeo1' database in the ControlPanel I get the following traceback: Traceback (innermost last): Module ZPublisher.Publish, line 106, in publish Module ZPubli

Re: [Zope] AJAX and Zope

2006-05-24 Thread Lennart Regebro
On 5/24/06, Tarek Ziadé <[EMAIL PROTECTED]> wrote: You might want to look at Azax approach as well: besides the way it works (you define behaviors in XML files, that get processed by a js engine) it gathers Zope 3 help views, that let the developer define the behavior in Python I think the stuff

Re: [Zope] AJAX and Zope

2006-05-24 Thread Jim Washington
Lennart Regebro wrote: On 5/24/06, Pascal Peregrina <[EMAIL PROTECTED]> wrote: By Zope objects I meant: You've got a page template for example, and you include such an "AJAX enabled object", basically rendering an HTML fragment, and the resulting page will include the page template code + the

Re: [Zope] zope.conf Zeo question

2006-05-24 Thread Jonathan
That did the trick! (I had created a /apps/zeo1 directory on the server machine, but I did not have a matching directory on the client machine to hold the persistent cache file) Thanks very much! Jonathan - Original Message - From: "Jens Vagelpohl" <[EMAIL PROTECTED]> To: "[Zope] Li

[Zope] Zope will not allow access after IP address change

2006-05-24 Thread Jeremiah Foster
Hello, I cannot seem to access the zope management interface on one of our machines after we moved it to another ISP. All the software is the same, the machine is the same, the only things changed are; 1. /etc/hosts 2. hostname 3. IP address Is there some security or other mechanism in zope that

Re: [Zope] Zope will not allow access after IP address change

2006-05-24 Thread Andreas Jung
--On 24. Mai 2006 18:06:07 +0200 Jeremiah Foster <[EMAIL PROTECTED]> wrote: Hello, I cannot seem to access the zope management interface on one of our machines after we moved it to another ISP. All the software is the same, the machine is the same, the only things changed are; 1. /etc/host

Re: [Zope] Zope will not allow access after IP address change

2006-05-24 Thread Jeremiah Foster
On Wed, 2006-05-24 at 18:14 +0200, Andreas Jung wrote: > > --On 24. Mai 2006 18:06:07 +0200 Jeremiah Foster > > I cannot seem to access the zope management interface on one of our > > machines after we moved it to another ISP. All the software is the same, > > the machine is the same, the only t

Re: [Zope] Zope will not allow access after IP address change

2006-05-24 Thread Andreas Jung
--On 24. Mai 2006 18:44:08 +0200 Jeremiah Foster <[EMAIL PROTECTED]> wrote: It seems to imply that there is a problem with a zope-mysql module which is getting an operational error. But I did not think that mysql was used for authentication. Are there other errors I should be looking out for?

Re: [Zope] Zope will not allow access after IP address change

2006-05-24 Thread Jeremiah Foster
On Wed, 2006-05-24 at 18:14 +0200, Andreas Jung wrote: > > --On 24. Mai 2006 18:06:07 +0200 Jeremiah Foster > > I cannot seem to access the zope management interface on one of our > > machines after we moved it to another ISP. All the software is the same, > > the machine is the same, the only t

Re: [Zope] AJAX and Zope

2006-05-24 Thread Greg Fischer
The one thing I have found about Ajax and Zope (Ajax and anything really) is that your returned scripts are typically so customized to your web page DOM and your application logic. So, as someone else posted, Zope handles everything in it's own separate objects anyway, so no need for a special se

[Zope] [i18n] i18n not working in nested macros?

2006-05-24 Thread Andreas Jung
I am running a Plone site with Plone 2.1.X on top of Zope 2.8.6. I have a case where base_edit calls a macro for a self-written macro which calls another helper macro. This one contains something stupid as end date However the content of the tag is never translated...all macros define i18n:p

Re: [Zope] Zope will not allow access after IP address change

2006-05-24 Thread robert rottermann
Jeremiah Foster wrote: On Wed, 2006-05-24 at 18:14 +0200, Andreas Jung wrote: --On 24. Mai 2006 18:06:07 +0200 Jeremiah Foster I cannot seem to access the zope management interface on one of our machines after we moved it to another ISP. All the software is the same, the machine is