Steve Alexander wrote:
When I write a product that allows users to edit executable content, I
have an extra responsibility to collaborate with the new security model.
I reckon that it is up to the ZWiki product to change ownership
appropriately if the page is edited. The zope security
Chris Withers wrote:
Will there be any access to the method/object that is being overridden
from inside the one overriding it? Something like:
'self.__class__.my_method("blah")'
Depends on whether the original method comes from a ZClass or product.
If so, yes. But if it's a regular
Steve Alexander wrote:
However... the zope security system could help with this. Here's an ill
thought out idea for your consideration :-)
Have a function that takes two sets of permissions, and returns the
intersection of these sets. Then, use some sort of local permissions
combination
Chris Withers wrote:
Shane Hathaway wrote:
Will there be any access to the method/object that is being overridden
from inside the one overriding it? Something like:
'self.__class__.my_method("blah")'
Depends on whether the original method comes from a ZClass or product.
If
Evan Simpson wrote:
So, is the working below now correct? (I feel like I'm back in School
doing maths ;-)
Yes.
Cool :-)
Where is the order of simplification defined?
In the Acquisition machinery, which simplifies upwards because that's the
way it constructs the wrappers.
okay...
Shane Hathaway wrote:
Will it re-appear when the replacement is deleted?
That could be confusing...
No, and I think it's really not confusing, since it's quite a strange
and rare thing to set __replaceable__=ObjectManager.REPLACEABLE on a
normal instance. :-/
Very true :-)
Think of
So, how long before this becomes a project and gets finished?
2.2.1 would be great :-))
thanke for the great work,
Chris
Note that third-dot releases are bug-fix only. New features
go into second-dot releases.
Brian Lloyd[EMAIL PROTECTED]
Software Engineer 540.371.6909
Brian Lloyd wrote:
So, how long before this becomes a project and gets finished?
2.2.1 would be great :-))
thanke for the great work,
Chris
Note that third-dot releases are bug-fix only. New features
go into second-dot releases.
I agree with this policy in principle.
Chris Withers wrote:
Brian Lloyd wrote:
So, how long before this becomes a project and gets finished?
2.2.1 would be great :-))
thanke for the great work,
Chris
Note that third-dot releases are bug-fix only. New features
go into second-dot releases.
D'oh ;-)
Chris Withers wrote:
Steve Alexander said he was going to have a think, but I haven't heard
anything since he mentioned it...
I'll have to start running a Kibo-bot soon :-)
I've got as far as defining the difference between the two acquisition
behaviours.
Warning: The following goes into
Shane Hathaway wrote:
but Brian and Jim have stated before that should the need arise,
releasing a second-dot version can happen at any time.
That sounds promising :-)
OTOH __replaceable__ support has just been checked into the trunk and
if you're working from the CVS repository, just do a
I hava a question regards Python Method: How can I
import a Python Method from a Product module?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Andrew Kenneth Milton wrote:
+[ Dr. Ross Lazarus ]-
| I know that zope runs on everything else, but how do we reconcile the
| DC/Sybase partnership announced late last year
[ snip... ]
| We're becoming a sybase/zope/linux dependent
Is there anyone can tell me how to "alter table" in
Zope?
and where to find a tutorial or manualof ZODB.
I am new to POS ,
Is there any stuff that will give me a senerio
of
working with POS, such as ZODB.
Thanks a lot.
Iap, Singaun
is it possible to use zope to run a demo program written in c++, online
in a html environment? If it is possible, than how do you do this?
thanks, boogie.
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
Dear Sirs,
I would like to know if it is possible to install and to use
ZOPE on
a DEC 2100 A 500 MPR system.
The operating system is Compaq(Digital) TrueUnix 4.04E the
RDBMS is
Oracle 8.05 and we use Apache 1.3.3.
Please indicate me an Internet address(URL) to download
theproduct and the
Hi,
Are the FTP ports into Zope for www.zope.org and dev.zope.org open?
If so, what are they?
Here's hoping...
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
has anybody had bad experience with caching when using ie? i've done as
For caching, IE is one of the better behaved browsers
Check the content of your "Temporary Internet Files" directory - this
will show when the cached documents expire.
You might find you need to manually purge your
On Sun, 6 Aug 2000 11:56:35 -0400 , Chris McDonough
[EMAIL PROTECTED] wrote:
Only strings, integers, floats, "booleans", dictionaries, tuples, lists,
and special "datetime", base64, and fault objects can be passed via
XML-RPC. Anything else is too complex. The spec at
ZMailIn 0.3.0 is now available here:
http://www.zope.org/Members/NIP/ZMailIn/
Major Revisions:
-- Global ZCatalog to index ZMailIn instances.
-- Support for Multi-Mime type emails.
-- Customisable Message handling via DTML-Methods.
-- CatalogAware + Folderish.
Cheers
-Andy
hi all,
when I do a insert with a ZSQLMethod in my database, in the SQLMethod I use
for a field fmt=newline_to_br. Now, when I want edit this field and put the
value in a textarea, I get the caracter br, but I don't want this.
How can i do to hide this br when i read this field?
$Regards
MM
Hello,
I created a form to allow users to change their own passwords. I
hate the idea of giving them all "Manage Users" permissions, but ok
whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)"
won't work unless the user has "View Management Screens" permissions.
Not only
I have some strange problem with ZCatalog: after clicking 'Find items to
catalog' I get Zope error:
Error Type: IndexError
Error Value: list index out of range
Traceback (innermost last):
File /opt/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
File
I created a ZClass called "Product" with Dataskin as baseclass.
I also added a specialist called ProductManager containing a default rack.
Under storage for the rack I selected the newly created Product ZClass.
My product ZClass needs to query both a RDBMS and the ZODB for
attributevalues. At
I have created a new ZClass which contains a dtml method that first clones
an object and then edits it's properties:
dtml-with manage_clone(News, REQUEST['new_id'], REQUEST)"
dtml-call manage_changeProperties(
title=REQUEST['new_title'],
blah blah
Do you mean you want to use a Python Method (in the sense of a methodish
object instantiated from Evan Simpson's Python Method Product) from a
Python Product? You *should* be able to call it by getting a hold of it
through acquisition or by otherwise getting a hold of an object in the
ZODB and
Just a simple question.
According to Amos' How-To: Thread Safety in Zope 2, what is mutable
global or shared variables?? What is the scope of such global variables?
Zope wide? module wide?
If global variable is not permitted, how can I approach thread
programming in Zope? Without global
Hello,
I've been using Zope on a Linux box without any problem this last month. I
now have to move the Zope server to it's final location, which is a Windows
2000 server (it's not my choice ;-(
I am trying to get the user authenticated based on his IP address to allow
everybody on the subnet
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic Internet Solutions
wrote:
I am writing a python product and want to display a GIF file in some of the
manage_pages. It is not meant to be the "icon" property of the class, just
an image to be included in DTML. I included it
Hi,
Small niggle...
Isn't it time the QuickStart bit the dust?
It's quite strange seeing references to Principia and Acqueduct in Zope
2.2 ;-)
Doesn't the Tutorial replace this quite comfortably?
Just a thought,
Chris
___
Zope maillist - [EMAIL
- Original Message -
From: "Martijn Pieters" [EMAIL PROTECTED]
To: "Performance.net Strategic Internet Solutions"
[EMAIL PROTECTED]
Cc: "ZOPE Mailing List" [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 12:19 PM
Subject: Re: [Zope] Accessing .gif on disk with Python Product?
On Mon,
Send Zope maillist submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the web, visit
http://lists.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
On Mon, Aug 07, 2000 at 01:12:03PM -0300, Performance.net Strategic Internet Solutions
wrote:
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic
Internet Solutions wrote:
I am writing a python product and want to display a GIF file in some of
the manage_pages. It is
Hi all,
Please, forget my previous message!
Next question : Is there an easier way for writing the following?
dtml-let position=sequence-item
dtml-var expr="position+1"/dtml-var count-CENTRE_NO
dtml-let
This gives the sequence order of every record on the total amount of
retrieved records.
There is an old how-to at:
http://www.zope.org/Members/michel/HowTos/ZODB-How-To
There is also a slide presentation at:
http://www.zope.org/Members/jim/zodbhtml/zodb.htm
___
Zope maillist - [EMAIL PROTECTED]
Right you are, here's how I solved it:
# __init.py__ for myProduct
misc_={
'chooserIcon': ImageFile('images/chooserIcon.gif',globals()),
}
# DTML file
img src="dtml-var absolute_url/misc_/myProduct/chooserIcon" border=0
Thanks!
Kevin
- Original Message -
From: "Martijn Pieters"
On Mon, Aug 07, 2000 at 01:38:56PM -0300, Kevin Howe wrote:
Right you are, here's how I solved it:
# __init.py__ for myProduct
misc_={
'chooserIcon': ImageFile('images/chooserIcon.gif',globals()),
}
# DTML file
img src="dtml-var absolute_url/misc_/myProduct/chooserIcon"
Simon Coles writes:
We have binary files stored in Zope, for example Word documents (but
could be any of a variety of document types).
We would like to be able to index and search the contents of these
files using ZCatalog. So if a Word file contains the word "Fred",
then any search
Tom Deprez wrote:
dtml-let position=sequence-item
dtml-var expr="position+1"/dtml-var count-CENTRE_NO
dtml-let
how about:
dtml-var "_.getitem('sequence-index',0)+1"/dtml-var count-CENTRE_NO
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
Are there any figures about the
installtions of zope in Germany, Europe
and the world? Is there a list of
Zope sites?
Arno Gross
email: [EMAIL PROTECTED]
Hi,
Does anyone know if Zope allows authentification of a user with the SAM
(Security Account Manager) of Windows NT ?
I mean :
- The user types his login/password
- and then, zope asks the SAM if this user does exists (or not).
Thanks.
Vincent
First, there is no such work as authentification. :-)
OK, now that I got that off my chest, take a look at jcNTUserFolder
(http://www.zope.org/Members/jephte/jcNTUserFolder), smbUserFolder
(http://www.zope.org/Members/mcdonc/smbUserFolder), and Tres Seaver's
Integrating Login Manager with SMB
First, I would like to say thanks to everyone, who gave me a hand with this,
especially [EMAIL PROTECTED] I learned a lot, and I am more comfortable
with my system than ever.
Below is a little note and question for Federico, who provided the patch that got the
whole thing going again.
Thanks
For each member in the Portal ToolKit, a folder is created in the folder
'Members', i.e:
ZopeRoot/Portal/Members/member_name
I've created a ZClass called Customize that has several properties, and
I've added an instance of Customize (and called each instance Customize)
in each member's folder.
I've installed Zope on an account at a hosting company.
Zope runs perfect, but I can't add any new objects. I can edit
existing object without any problems, but adding is impossible
because of the 500 error which the server gives. Does someone
have any idea what could cause this problem?
David Loeffler writes:
whenever I try to get hold of this with anything like dtml-var
"_[objId].getProperty(dest)" (objId is the id of the document) it simply
redirects ...
"_[xxx]" executes (calls) the retrieved object, if possible.
In your case, execution calls
Aaron Williamson writes:
I created a form to allow users to change their own passwords. I
hate the idea of giving them all "Manage Users" permissions, but ok
whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)"
won't work unless the user has "View Management Screens"
Hello again,
At 15:20 07.08.2000 +, Meeting Maker Webmaster wrote:
I am trying to get the user authenticated based on his IP address to allow
everybody on the subnet we are here to access the Zope server, but not
other IPs. This works fine except it is really slow (about 5 seconds to go
to
From: Martijn Pieters [EMAIL PROTECTED]
misc_ is a root level object. Using absolute_url you are acquiring it into
your Instance URL, which is not necessary (and will hamper off-server
caching). Use dtml-SCRIPT_NAME; instead (which will give you the absolute
url
of the root object in all
Send Zope maillist submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the web, visit
http://lists.zope.org/mailman/listinfo/zope
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
Martijn Pieters wrote:
On Mon, Aug 07, 2000 at 04:23:36PM -0400, Evan Simpson wrote:
From: Martijn Pieters [EMAIL PROTECTED]
misc_ is a root level object. Using absolute_url you are acquiring it into
your Instance URL, which is not necessary (and will hamper off-server
caching). Use
Hi
I would like to list all objects in a folder. No problem there. However, I
want to use the function/method universely so I need to pass the name of the
target folder; as a string is the only way I can think of (formatted as a
url).
I tried several things in DTML and studies the DTML Ref, the
I'm fairly new to Zope. I have various view, search, and insert into a
SQL database (MySQL) working.
I'm having a problem connecting all the pieces for an update.
Does someone have an example (with DTML or similiar source) that
demonstrates the following:
1. A search field for record id, or
Ok, I am very sorry to have cluthered this list. What can I say ? I am
definitely not up to Zen yet, because I was thinking in a very old fashioned
way :-(
The question and the answer were the same message; the example Method I gave
works perfectly when called for whatever object thanks to the
Andrew Kenneth Milton wrote:
+[ Bill Anderson ]-
| Andrew Kenneth Milton wrote:
|
| +[ Dr. Ross Lazarus ]-
| | I know that zope runs on everything else, but how do we reconcile the
| |
On Tue, 08 Aug 2000, Gijs Reulen wrote:
Hi
I would like to list all objects in a folder. No problem there. However, I
want to use the function/method universely so I need to pass the name of
the target folder; as a string is the only way I can think of (formatted as
a url).
I tried several
Another simple question.How to use the
Synchronized class from the Sync module?As far as I know, Sync is a .so
file.Nicholas Lo
Nicholas LoTechnical Director
Silicon Creation Limited18/F, Tower
IIMetroPlazaKwai Fong, NTHong Kong
Tel : 7111 9350Fax : 2610
2225
This must be in the archives someplace, but searching
didn't turn it up.
I'm running ZServer as an NT service, and I'd like to
be able to see the usual console debug messages that I
would get if I were running it from a command window,
but I don't know how. I tried setting the -D flag in the
First, thanks to Dieter :)
Well, I have written a simple test products, which I have attached to
this message as a .tgz file. This product does vert little things. When
B1 is pressed, two new threads will start, one will update column of the
database table, while the other will prompt the
59 matches
Mail list logo