Re: [Zope] Best way to upgrade an existing Zope installation?

2001-01-29 Thread iap_y2fun.com
My configuration: 1. The key is to use INSTANCE_HOME , ex. set it to be /home/zope 2. install products in /home/zope/Products, /home/zope/import 3. untar your zope tar ball in /usr/local/, ex. Zope-2.3.0-src 4. make a symbolic link for zope, ex $cd /usr/local $ln -s Zope-2.3.0-src zope

Re: [Zope] Products and Zope 2.3

2001-01-28 Thread iap_y2fun.com
I can't import EventFolder due to "tuple have no method 'append'" error. I am not sure if someone else encountered the same problem? Iap, Singuan > This brings up the question: are there any significant products that don't > yet work with Zope 2.3? > > David Trudgett _

[Zope] [Problem] URL is a problem word

2001-01-17 Thread iap_y2fun.com
Hi, I can't set the ID of a instance to be "URL". Once I create one, the folder which contains that object will not work again under management view. If you want to try by yourself, try in a non-critical folder (a new one just for trying). Just create a new DTML Document and set id to be 'U

[Zope] How to remove Items from ZPatterns:Rack in the right way ?

2000-11-30 Thread iap_y2fun.com
Hi, I have a question about ZPatterns:Rack. I got 10 items in a Rack and I want to remove those objects. By reading Rack.py , I know that manage_pack can do this for me if getItem(key) return None for those objects. Well, how to return None? One way I found is that: under "Storage" manage_tab, the

[Zope] How about create another method other than index_html to get content in OFS::File?

2000-11-07 Thread iap_y2fun.com
Dear all, My problem is that : I have a ZClass based on OFS::File. I need to override the default index_html for my own purpose. After I created my own index_html, I found myself can't access the content of that object. Since: 1. I have no way to access the original method index_html of the base c

[Zope] Question on manage_pasteObjects

2000-11-05 Thread iap_y2fun.com
I have a ZClass based on OFS:File. The problem is that I can't paste a instance of that class except that I am a "Manager". In other roles, I get a error message which says that that object(instance of my ZClass) doesn't support the paste operation. The work-around is: to set the proxy role of a

[Zope] "from" is a reserved word?

2000-10-12 Thread iap_y2fun.com
Hi,The following dtml couse error, The workaround is to change "from" to other words. Iap, Singuan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lis

Re: [Zope] DTML: fetch an object by its url?

2000-10-08 Thread iap_y2fun.com
Hi, I don't know why, but doesn't work in my zope installation (2.2.2) well, works. Maybe it is because that zope want to get ready for RPC. Iap, Singuan - Original Message - From: "Phil Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Scott Shepherd" <[EMAIL PROTECTED]> Sent:

[Zope] Problem of Catalog "Find items to ZCatalog"

2000-10-07 Thread iap_y2fun.com
Hi, In the management view of a Catalog (ex. /Catalog), there is a tab named "Find items to ZCatalog". In that tab, there is a field "Find objects of type:". The options listed there were retrieved from the "factory" of a ZClass. (The "add list name" field, a good feature for people who are not n

[Zope] Again

2000-09-21 Thread iap_y2fun.com
Sorry, maybe I don't make myself clear. I mean that if I want to study the source code of Zope. (Is that necessary?) Which part is the good point to start? Is there any acticle about this issue out there? Iap ___ Zope maillist - [EMAIL PROTECTED] ht

[Zope] Can someone give me a roadmap to explore Zope further

2000-09-21 Thread iap_y2fun.com
Dear all, After couple of months study, Zope attracts me very much, I would like to explore further. Can someone give me a roadmap, or points me a way. Thanks a lot. Iap ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/

[Zope] [HELP] Duplicated Ids?

2000-09-10 Thread iap_y2fun.com
I removed a product from Control_Panel/Products by checking the checkbox of that item and clicked "delete" button below. While I tring to reimport that product , zope (2.2.1) complains about "Duplicated Ids". Can anyone give a hand? Thanks a lot. Iap, Singuan http://y2fun.com _

[Zope] How to assing a string value to a variable in DTML?

2000-08-17 Thread iap_y2fun.com
Forgive me for this stupid question: How to assing a string value to a variable in DTML? for example: it causes error, not what I expected: given a="", b="", and eval a+b to "" Thanks iap ___ Zope maillist - [EMAIL PROTECTED]

[Zope] What's Wrong ? ZMySQLDB, insert Ok, select Empty!

2000-08-09 Thread iap_y2fun.com
I just installed a "MySQL connection" in Zope. Then add a "SQL Method" to insert data into a table named "staff" in MySQL, and succeccfully inserted several entries. I have checked it by mysql (a client program of MySQL). My problem is : I created another "SQL Method" which do "select" from datab

[Zope] Where to find ducument of ZODB

2000-08-07 Thread iap_y2fun.com
Is there anyone can tell me how to "alter table" in Zope? and where to find a tutorial or manual of 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