[Zope-dev] url_quote

2001-06-28 Thread Petr Knapek
Hi Zopists, is it bug or feature, when I do this: dtml-var id url_quote then not only 'id' is returned, but something what looks like this: dtml-var REQUEST['URL']/dtml-var id where id is url_quoted. Shouldn't only url_quoted value of id be returned instead of the above noted URI? I use

[Zope-dev] SI prefixes and Zope

2001-06-18 Thread Petr Knapek
Hi, I suggest to make Zope prefixes of object sizes be consistent with SI binary prefixes - see http://physics.nist.gov/cuu/Units/binary.html Using SI binary prefixes for object size will avoid any misunderstanding of real object size. Petr -- Petr Knpek Network Development NEXTRA Czech

[Zope-dev] ZopeSecurityPolicy this()

2001-03-28 Thread Petr Knapek
Hi Zopists, I have now problem with executable content where this() is called. My problem: I have this structure in ZODB / |_ acl_users (Zope default) |_ dalmatin (ISNG Folder) * ownes user who is in role Manager from /dalmatin/acl_users |_ acl_users (Modified LDAPAdapter) |_

[Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Petr Knapek
Hi Zopists, I would like to know how to connect to running Zope ZODB from a python script. I would like to have possibility to read only objects from ZODB? Is there any possibility how to do it when Zope application server is running and not to corrupt the ZODB? Thanks, Petr -- Petr Knpek

[Zope-dev] own products over FTP

2001-02-07 Thread Petr Knapek
Hi Zopists, I have created some python products for Zope and now I would like to have the possibility to create their instances in ZODB over FTP. Please give me a tip for documentation on this one. Help is also welcomed. Zope: 2.1.6 OS: Linux Debian Thank you, Petr -- Petr Knpek NEXTRA

[Zope] Folderish object -API

2000-11-06 Thread Petr Knapek
Hi Zopists, I try to create ISNGFolder class which is subclassed from Zope Folder class. During instantiation of this ISNGFolder class I also try to set permissions ['View', 'Access contents information'] for role 'Content' by calling manage_role('Content', ['View', 'Access contents

[Zope] Python product - inherittance

2000-10-25 Thread Petr Knapek
Hi Zopists, I have a problem with inherittance of my publishable python classes. I created in python classA and classB(classA) classA has functionA and classB has functionB. In __init__.py of my product I register only classB. My problem is that it is not possible to call functionA of an

[Zope] Icons in a product

2000-09-08 Thread Petr Knapek
Hi Zopists, I would like to know if there is any possibility how to publish an icon on the web which is in www folder of my own created product. That is I want to put some icons into the www folder of my product and to have possibility to show them on the web. The problem with my own stylesheet

Re: [Zope] Icons in a product

2000-09-08 Thread Petr Knapek
it on different places of my __init__.py and wasn't succesfull. Please, can anybody help me or give me a URL where the problems noted below are solved. Thanks, Petr AKM +---[ Petr Knapek ]-- | Hi Zopists, | I AKM would like to know if there is any possibility how

[Zope] FTP and container type products

2000-08-14 Thread Petr Knapek
Hi Zopists, I have created new container product 'ISNG Folder' by modification of classical Folder object. Only some attributes are added to every instance of ISNG Folder and in future a more functionality. But when I try to put any object over ftp, an error occurs. I can't create any object

[Zope] ZClass

2000-08-10 Thread Petr Knapek
Hi Zopists, I have created a ZClass (TestClass) with an external python function 'foo'. Now I would like to create an instance (myTest) of my TestClass in a dtml template and call its method foo. When I put the code below dtml-let

[Zope-dev] Containers in ZODB

2000-06-07 Thread Petr Knapek
Hi Zopists, I would like to use ZODB3 as an object DB to store my own objects. At the beginning, I will make any text UI but later I want to put my objects into a ZOPE Folder and store them inside ZOPE ZODB (Zope will serve as GUI). Generaly I have 2 types of objects: Container - object with

[Zope] Can't find some products on www.zope.org

2000-06-06 Thread Petr Knapek
Hi Zopists, today I tried to download 2 products for zope from www.zope.org (namely 'Photo' and 'A Simple Photo Album Product' and the server respond me that the pages don't exist. This is not problem of these 2 products but also other pages. I am in time stress and I need very urgent the above

[Zope-dev] Put Zope objects into a ZODB

2000-05-31 Thread Petr Knapek
Hi all, I would like to use ZODB3 as an object DB to store my objects. I know How-To by Michael Pelletier on this topic. So that is to store objects in ZODB out of Zope. I prefer to store objects which are subclassed of Zope objects (especially Folder and ZClass - not multiple) because in future