Floyd May wrote:
How can I use a set object within a page template?
When I attempt to create a set (e.g. tal:define=myset
python:set(some_list)), zope complains that the name 'set' is not
defined.
If you only need to read from some native python objects, you can make a
simple wrapper. You
Garito wrote:
Chris Withers escribió:
Now I'm trying launchd method
Sorry but if I launch it manually (zopectl start) it works fine
patient: ow, doctor, it hurts when I do that
doctor: well, don't do that then!
So just stick with zopectl. I suspect you'll find if you dig closer its'
a
Andreas Jung wrote:
Is there no way to allow sets to be used within templates/scripts?
As I said: No, by default.
Look at lib/python/Products/PythonScripts/README.txt.
Andreas means yes, but you need to do some work. See
lib/python/Products/PythonScripts/standard for examples ;-)
Hello hi
I have a little problem with aquisition and security. We have a project
using multiple CPS instances (for those that don't know CPS, it's a CMF
based groupware/CMS) running in the same Zope instance, and being
siblings of each others [1]. One of these instances is the main entry
point
Each CPS instance has its own UserFolder. All users exists in the
portal's UserFolder, but only exists in some CPMs UserFolders. Now the
problem is that, due to acquisition, a member existing in the
Portal but
not in a given CPM can gain access to this CPM by faking the url - ie:
going to
Jens Vagelpohl wrote:
Each CPS instance has its own UserFolder. All users exists in the
portal's UserFolder, but only exists in some CPMs UserFolders. Now the
problem is that, due to acquisition, a member existing in the Portal but
not in a given CPM can gain access to this CPM by faking the
On 27 Sep 2005, at 11:17, bruno modulix wrote:
A normal pattern to use here would be to have one central user folder
(e.g. at the root) and work with local roles in the sub-portals
instead
of having several user folders.
I know, but I don't think it will possible here (this is an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Bruno,
If you're using a central LDAP for all the instances you can restrict
the access from the different instances using either
LDAPUserGroupsFolder or CPSUserFolder.
Discrimination are done by LDAP branches (users or groups). If you can't
Julien Anguenot wrote:
Hi Bruno,
Hi Julien,
If you're using a central LDAP for all the instances you can restrict
the access from the different instances using either
LDAPUserGroupsFolder or CPSUserFolder.
Discrimination are done by LDAP branches (users or groups). If you can't
control
Jens Vagelpohl wrote:
On 27 Sep 2005, at 11:17, bruno modulix wrote:
A normal pattern to use here would be to have one central user folder
(e.g. at the root) and work with local roles in the sub-portals
instead
of having several user folders.
I know, but I don't think it will
Jonathan wrote:
Could you create a central user folder (in root) and then create an
external method which queries all of the LDAP branches and returns the
appropriate local roles to the central user folder when the user logs
in? This way you get a central user folder and can keep all your
Dieter Maurer [EMAIL PROTECTED] wrote:
Martin Koekenberg wrote at 2005-9-26 15:57 +0200:
...
Does annyone knows a Product of method to parse xml in Zope without the
zopeXMLmethods product ?
You can use any of the methods for XML parsing supported by Python, among
others
* MiniDOM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
bruno modulix wrote:
Julien Anguenot wrote:
Hi Bruno,
Hi Julien,
If you're using a central LDAP for all the instances you can restrict
the access from the different instances using either
LDAPUserGroupsFolder or CPSUserFolder.
Hi guys,
I have some experience with Zope on my desktop pc with an WIN XP operating
system. Now I want to order my own virtual server but I am unsure about the
features I will need and I do not know how to install ZOPE on such a system at
all.
Can you give me any advice what features I will
Julien Anguenot wrote:
bruno modulix wrote:
Julien Anguenot wrote:
(snip)
To sum up it's a matter of configuration.
I'm afraid there's more to it than just a matter of configuration, cf
below...
I confirm. For having done the intranet of the Senegal gouvernement
(almost 35 CPS (one
If you are really behind the 8-ball here is a really ugly work around that
may buy you some time to fix it properly:
after you authenticate a user, use a dtml method (eg. 'method1') to invoke
the target method (eg. dtml-var /.../.../somemethod)
in 'somemethod' check to make sure that it was
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
bruno modulix wrote:
You'll find it on the cps-users list. I'm not a CPS expert[1] - and not
even a Zope expert - but from what I saw, it seemed to imply more than
only TALES expressions...
[1] given the change pace and resulting lack of
Julien Anguenot wrote:
bruno modulix wrote:
You'll find it on the cps-users list. I'm not a CPS expert[1] - and not
even a Zope expert - but from what I saw, it seemed to imply more than
only TALES expressions...
[1] given the change pace and resulting lack of documentation, I guess
only you
Hi Benmania,
Benmania Guin wrote:
I have some experience with Zope on my desktop pc with an WIN XP operating
system. Now I want to order my own virtual server but I am unsure about the
features I will need and I do not know how to install ZOPE on such a system
at all.
Can you give me any
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
bruno modulix wrote:
Julien Anguenot wrote:
bruno modulix wrote:
You'll find it on the cps-users list. I'm not a CPS expert[1] - and not
even a Zope expert - but from what I saw, it seemed to imply more than
only TALES expressions...
[1] given
This same hosting thread went on a short time ago but I will throw another big plug for Zettai.net. George and his team have been incredibly helpful and supportive. Lots of great information upon signing up and help is ALWAYS there through a wide variety of communication channels.
hth
-Allen
Hello,
I've got this following bit of ZPT:
tal:loop repeat=t container.py.get_queue(whence=q,
userid=userid))
On 27 Sep 2005, at 17:02, Matthew White wrote:
Hello,
I've got this following bit of ZPT:
tal:loop repeat=tcontainer.py.get_queue(whence=q,
userid=userid))
span tal:replace=structure here/queue_template
Queue Template Goes Here
/span
you're using a
I've had a look through the product listings and have noticed contactand project management tools but none for CRM etc?
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matthew White wrote:
oops! I thought I'd clean up my code snippet to make it a little more
readable, and instead introduced an error. Here it is in full:
tal:loop repeat=t python:test(exists('/request/form/view_all'),
bruno modulix wrote:
(snip)
Each CPS instance has its own UserFolder. All users exists in the
portal's UserFolder, but only exists in some CPMs UserFolders. Now the
problem is that, due to acquisition, a member existing in the Portal but
not in a given CPM can gain access to this CPM by faking
Floyd May wrote at 2005-9-26 13:38 -0500:
How can I use a set object within a page template?
When I attempt to create a set (e.g. tal:define=myset
python:set(some_list)), zope complains that the name 'set' is not
defined.
It is right, because set is not listed in
Benmania Guin wrote at 2005-9-27 16:01 +0200:
...
I have some experience with Zope on my desktop pc with an WIN XP operating
system. Now I want to order my own virtual server but I am unsure about the
features I will need and I do not know how to install ZOPE on such a system at
all.
Can you
Please stay on the list. Readded...
Benmania Guin wrote at 2005-9-27 16:08 +0200:
...
Do you say that you can connect Zope from the first but not any more
from the second computer?
Exactly, it sometimes works then it wont work for a couple of minutes and then
it will work again. It is really
bruno modulix wrote at 2005-9-27 11:34 +0200:
I have a little problem with aquisition and security. We have a project
using multiple CPS instances (for those that don't know CPS, it's a CMF
based groupware/CMS) running in the same Zope instance, and being
siblings of each others [1]. One of these
Chris Beaven wrote at 2005-9-27 16:54 +1200:
I'm having a problem figuring out how to keep things secure while
allowing a proxied script to call a page template correctly.
/details/sendDetails
Python script that is publicly available, receives an email address and
sends that person thier
On 9/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi all,
If i'm logged in as testuser and want to log in with a different user
name, whats the right way of doing it?
this is on zope 2.7
You select Log out of ZMI. :-)
Unless you use CMF. Or some special user folder.
Oh, and it won't
On 9/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:Hi all,If i'm logged in as testuser and want to log in with a different user
name, whats the right way of doing it?this is on zope 2.7thankspaul
How did you log in? Through an HTML form, with cookies? Through the HTTP Basic Auth pop-up window?
No doubt a Zope 2.8.0 bug because it should't happen.
What does your datetime-format say in etc/zope.conf?
2005/12/02 is an ISO format I think. Exactly how are you creating
the DateTime object? Have you tried creating it from this string:
2005-12-02?
2005/9/27, tyson [EMAIL PROTECTED]:
Hi-
The date is actually coming from a postgresql database. I checked the
zope.conf file, and it's set for us. Now that you mentioned that, I
tried creating a variable within dtml and when I do that, it works just
fine. Now I guess I'm looking at a postgresql problem!
I have 2 Zope/Plone sites each with their
own 'zope instance home'.
Any hope of *merging* these into *ONE* zope instance
home so that I can do /search/ over both???
How merge both Data.fs's?
Thanks!
Chris
___
Zope maillist - Zope@zope.org
possible to do *search* over multiple zope instance homes?
(In case I can't merge 2 zope instance homes together?)
chris
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
Summary of messages to the zope-tests list.
Period Mon Sep 26 11:01:01 2005 UTC to Tue Sep 27 11:01:01 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Mon Sep 26 22:25:57 EDT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martijn Pieters wrote:
Martijn Pieters wrote:
The error occurs in Products/Five/tests/forms.txt, which means it needs
to be fixed in the Five repository, not in the Zope repository (at
least not permanently). Indeed nearly all the functional tests
Is there any problem if I change current Zope 2 trunk uses of
inheritedAttribute into calls to super ?
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD
+33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]
___
Zope-Dev
Florent Guillaume wrote at 2005-9-26 18:31 +0200:
This is the kind of thing that would *really* benefit from having unit
tests...
from Acquisition import Explicit
class A(Explicit): x = 1
...
def test_aq_acquire(self):
ac = A()
a = A().__of__(ac)
self.assertEqual(a.aq_acquire('x'), 1)
41 matches
Mail list logo