All,
I've just setup a test Zope installation. So far, very impressive.
I'm using a Postgresql database containing a network hierarchy (basically, a
table with a "network" column, and a "parentnet" column). I'm trying to
display this with a tree view, using the following DTML:
Where the
-+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2000 15:23
To: Mayers, Philip J
Cc: '[
-
From: Philipp Auersperg [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2000 18:31
To: Mayers, Philip J; [EMAIL PROTECTED]
Subject: Re: [Zope] SQL trees...
Which Zope version do you use ?
When I read your message I have a deja-vu:
I encountered the same output when I use SQL based trees under
I'm planning on using Zope as some middleware to an SQL database backend.
Zope will implement the per-row ACL checking and such for the database
application, and there are two clients - a simple web-based Zope frontend,
and a larger standalone Java application. I'd like the Java app to
communicate
--+
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
Sent: 07 November 2000 21:35
To: Mayers, Philip J
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] XMLRPC accessing Zope DTML/SQL methods
___
Zope maillist - [EMAIL PROTEC
---+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
Sent: 07 November 2000 21:35
To: Mayers, Philip J
Cc: '[E
I'm running Zope 2.2.4 and am having a *very* annoying problem (either I'm
missing something, or Zope is broken).
I've got an SQL table called "users". An SQL query of the form:
select * from users limit 10
Works, but:
select * from users
Fails spectacularly - pcgi_publisher crashes with the
Does it even *work*? Even a little bit? Because other than repeating the
same process 12 damn times, so far I'm not convinced. Maybe I'll look in the
source code to see if there's actually anything in the files (other than a
HOWTO.txt, which is empty, which BTW is more annoying than there not bein
PROTECTED]]
Sent: 11 December 2000 20:18
To: Mayers, Philip J
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] LoginManager broken?
You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a
different approach that works for me in early testing. Note that it
needs additional work
ame the DTML method (e.g. s/x(.*)/$1/g in perl-speak) - if
you're lucky, it will work.
I have to say, I'm not hugely impressed...
Regards,
Phil
+------+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College
All,
LoginManager is now working well...
We've got a bespoke application for storing our (very large) user account
database here. One field a user can have is a crypted unix password (which
I'm currently using to authenticate users). The other thing that can exist
is the Subject or SubjectAltNam
I need to use LoginManager, which doesn't seem to work with 2.3, and I need
to use Python Scripts, which are not available (?) for 2.2.x - any ideas?
Regards,
Phil
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College
Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-----
From: Mayers, Philip J
Sent: 09 January 2001 10:01
To: 'Bill Anderson'
Subject: RE: [Zope] Python Scripts in 2.2.x
No, I
I've got some SQL method, and a folder structure, and am seeing some *very*
annoying results. Namely, seems to cancel out variable
assignments from an enclosing
/root
get_machine_hosts (SQL method)
get_host_aliases (SQL method)
show (dtml method)
/host
show (dtml method)
/alias
Hopefully that will get someone's attention. I have an SQL method that
returns
(name,domain,otherstuff)
I have a DTML method (/root/host/show) that looks like this:
'name' and 'domain' are set to the primary hostname
and domain at this point by whatever calls this
DTML method
POINT A
PO
m using 2.2.5)
Thanks anyway.
Regards,
Phil
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent:
---+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2001 13:30
To: Mayers, Philip J
Cc: '[EMA
Ok, using Postgresql 7.0.2-2, PoPo 2.0.1, ZPoPyDA 1.1-pre2, Zope 2.2.5,
here's a reproducible scenario:
Create the following tables in your database:
create table bugtest1 (
name text,
domain text,
);
create table bugtest2 (
name text,
domain text,
refer text,
foreign key(refer) references bugt
iginal Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2001 20:59
To: Mayers, Philip J
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] REPOST: dtml-with doesn't work
Usually, I complain that problem reports are too terse.
But, your's was very big, such
Not a problem per-se, just a query - how are people dealing with things like
this:
function populate(form) {
for (var i=0;i<4;i++) {
form.test.options[i] = new Option("Red"+i,"color_red");
if (i == 0)
form.test.options[i].selected = true;
}
return false;
}
If a
*Now* I remember why I like Zope so much...
I'm using the ":records" to marshall a complex hierarchical form, and I'm a
little worried by this comment:
http://www.zope.org/Members/Zen/howto/FormVariableTypes
Note:
Before creating a second record and adding an attribute, Zope gets the last
rec
Try this:
http://www.zope.org/Members/jok/SQL_based_LoginManager
Some extra pointers:
Step 7: Customize the LoginManger instance to call the SQL methods
You'll have this
/root
/folder
/acl_users (LoginManager)
/UserSource
SQL_check_user
SQL_get_password
SQL
there are non-compliant browsers out there...
Regards,
Phil
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Mayers, Philip J
This certainly isn't *efficient*, but it works:
wget -http-user=usename -http-pass=password
http://your.site.com/Zope/path/to/wherever/manage_exportObject?download%3Ain
t=1
Will get you a .zexp of "/path/to/wherever", whereas:
wget
http://your.site.com/Zope/manage_exportObject?download%3Aint=1
Centre for Computing Services|
| Imperial College |
+--+
-Original Message-----
From: Mayers, Philip J [mailto:[EMAIL PROTECTED]]
Sent: 18 January 2001 13:52
To: 'Etienne Labuschagne'; '[EMAIL PROTECTED]'
Subject: RE: [Zope
I've three questions (but I'm making progress!):
1) In 2.2.5, how can I call a ZSQL method from a Python Method - I'm passing
the method in as a parameter, and the furthest I get says "__call__ not
defined".
Do PythonScripts obivate the need for this? I assume I can just do this:
for record in
Yes, I've seen that and would love to know what causes it. I didn't find out
why, but it isn't doing it now. It may be to di with the Roles the user has.
Regards,
Phil
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial Colleg
s|
| Imperial College |
+--+
-Original Message-----
From: Mayers, Philip J [mailto:[EMAIL PROTECTED]]
Sent: 18 January 2001 22:37
To: '[EMAIL PROTECTED]'
Subject: [Zope] ZSQL, Python methods and XMLRPC
I've three questions (but I'm making progress!):
1) In 2.2.
17:02
To: Andreas Tille
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] Re: How to backup Zope data base?
Andreas Tille wrote:
>
> On Fri, 19 Jan 2001, Stephane Bortzmeyer wrote:
>
> > On Thursday 18 January 2001, at 13 h 52, the keyboard of "Mayers, Philip
J"
>
I've got this problem as well - who wants to report it?
Zope Version Zope 2.3.0b2 (source release, python 1.5.2, linux2)
Python Version 1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66
19990314/Linux (egcs-
System Platform linux-sparc
Process Id 23242 (1024)
Running For 18 hours 5
Lloyd [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 16:20
To: Mayers, Philip J; 'Martijn Pieters'; Phil Harris
Cc: [EMAIL PROTECTED]
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS
Already fixed in CVS guys - thanks though!
Brian Lloyd[EMAIL PROTECTED]
Software Engineer 540.3
31 matches
Mail list logo