[Zope] Catalogaware ZClass

2001-01-30 Thread Sven Hohage
Hello, usually I'm more patient but this time it's a very important feature(I have to build an archive). That's my question from yesterday: --->> I try to delete a Catalogware ZClass with subobjects that are also ZClasses. That's my method to delete a Class:

[Zope] Catalogaware ZCLass and deleting

2001-01-29 Thread Sven Hohage
Hello, I try to delete a Catalogware ZClass with subobjects that are also ZClasses. That's my method to delete a Class: -->> But Zope answers: An exception occurred in a DTML method or document. Error type: BadRequest

[Zope] ZDP:Search is bringing up DISNEY.GO.COM !!!Hacked??

2001-01-04 Thread Sven Hohage
Hello, is the portal being hacked?? When you search on zdp.zope.org you are led to . http://disney.go.com/park/homepage/today/flash/index.html?clk=1004398 ...hmmh..better than PLAYBOY.COM ___ Zope maillist - [EMAIL PROTECTED]

RE:[Zope] Newbie: manage_changeProperties and wrong permission

2000-12-20 Thread Sven Hohage
Hello Milos, I think the following is working: <--You pass via form the needed values--> <--Then you iterate over a certain meta-type in your folder--> <-- You have to put the correct meta-type you want--> <--and you compare the id of the found objects with any property y

[Zope] Boolean property for ZClass-instance not checked(bug?)

2000-12-20 Thread Sven Hohage
Hello, in my property-sheet for a ZClass a boolean-property is checked, but in the instance(added programmatically)this property is always unchecked. I have to use "manage_changeProperty" to get her checked. Is this attitude tolerable! Don't think so. Any educational hint?? Thanks. __

[Zope] RE: [Zope]Newbie: manage_changeProperties and wrong permission

2000-12-20 Thread Sven Hohage
Hallo Milos, I'm not sure if I understand your problem right. First of all what do you mean with 'Fir-class'?Is it a ZClass or a usual Zope-Folder.I suppose a Zope-Folder!. You have to call the method "manage_changeProperties" on an Object. You find in the Zope Quick reference: ---

[Zope] Python Method and builtin-functions

2000-12-18 Thread Sven Hohage
Hello, I'd like to use Python - Methods but I'm afraid that some builtin-functions are not implemented like type() or list(). Is this a problem of me or are my nightmares fulfilled. Another question is if the Python-Method-product is the same thing as the one shipping with Zope 2.3? Thanks.

[Zope] Re:API and namespace

2000-12-11 Thread Sven Hohage
Hi Alexander, I think I've made a mistake. I thought you are about ZClasses. My snippet adds two ZClasses (a folder-like and a document). These Classes are self-defined(take a look at the HowTos or the Developer-Guide"http://www.zope.org/Documentation/Guides/ZDG"). For you this is sufficient ->

[Zope] Re:API and namespace

2000-12-11 Thread Sven Hohage
Hallo Alexander, this works for me-> Bye Sven ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zop

[Zope] append() and spaces

2000-12-11 Thread Sven Hohage
Hallo, I've got a strange problem. I use RESPONSE.redirect and pass values the usual way --> ('car?bought=1&amount=%s')%(Amount) where Amount is a list-variable. I build Amount dynamically with the append-method, and strangely I can't pass this variable(Error: Bad Request) because Python puts sp

[Zope] ZClasses and their icons (AI??)

2000-12-06 Thread Sven Hohage
Hallo, I've got a minor problem. My ZClasses won't update the ClassIcons when I change them. Has someone implemented an aesthetic-filter? A great step in AI?? Furthermore a nice St.Nikolaus, like we say in Germany. ___ Zope maillist - [EMAIL PROTECTED

[Zope] again:authenticate and Zope 2.2.4

2000-12-04 Thread Sven Hohage
I retry my question because it's important for my actual project. It seems to me that the authenticate- method is not working in Zope 2.2.4. Because of security-reasons?? 'Authenticate' can be used to compare the log-in-password with the one saved in the acl-users-folder. But if it's true how sh

Re: [Zope] Cloning a ZClass-Instance

2000-11-13 Thread Sven Hohage
Hallo Chris, my reply is late but the problem is already not solved. I've build a simple ZClass 'News' with base-classes 'ZObject, ZObjectManager'. I haven't changed the permission-settings in the product. The script working on the objects is this: -- -

Re: [Zope] Cloning a ZClass-Instance

2000-11-09 Thread Sven Hohage
Once again thanks to you, but I can't figure out why cloning it's not possible. The object is a simple zclass with the baseclasses ->ZObject, ZObjectManager<- Nothing special. I know that cloning a catalogaware zclass it's not working but object-manager?? That's the complete traceback: --> T

[Zope] newbie:zclasses within zclasses (down the hill)

2000-09-30 Thread Sven Hohage
I've searched on a solution for this problem for hours. I want to build a site-structure where users can add with help of templates new webpages. One webpage for itself is a ZClass(baseclasses:ZObject, _ZClass_for_Folder, _ZClass_for_CatalogAware, ZObjectManager). ---The formular: ---

[Zope] Stranger than Property

2000-09-11 Thread Sven Hohage
Hallo, I've got a very strange error. I'm working with external methods and folder proprties. The methods are iterating over properties and adding or deleting items. Until friday everything was fine.Now I got this error when I try to view the properties. I'm not understanding why there is a mistak

[Zope] wrapped object

2000-09-07 Thread Sven Hohage
Hallo, while adding ZClass instances by form I get the following traceback: I don't know what's a wrapped object?? And where the problem is. Thanks -->>> Zope Error Zope has encountered an error while publishing this resource. Error Type: ValueError Error Value: Invalid property valu

[Zope] External method and stdout

2000-09-05 Thread Sven Hohage
Hallo, that's the problem: I've made an external method which is working with lists and should return the result to Zope. The python code is working very well, but is sending everything to sys.stdout( I'm using the print-statement).How do I convince  Zope to print the result on the html-page

[Zope] Sequence-key-note

2000-08-25 Thread Sven Hohage
I don't know if this is usefull to someone but I've found that using a token property you can sort the elements with sequence-key(the first char is the key). For example -> token property "citynames": London Liverpool Rome New York &dtml-sequence-key;: &dtml-sequence-item; The output is: L: Lond

[Zope] Hardware minimum for development

2000-08-08 Thread Sven Hohage
Hallo, what's the minimum of hardware to develop Zope-sites(only for development). I'd like to know because I want to buy a laptop and don't want to spend much money ! Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listin

[Zope] Vocabulary??

2000-08-04 Thread Sven Hohage
Hallo, think I've missed something. What is the feature "Vocabulary"??Just a hint please! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope

[Zope] Security (proxy role??)

2000-08-03 Thread Sven Hohage
Hi, I've got two questions. 1.Is Zope 2.2.0 masking the length of the passwords? 2. the more important-> I'm using a method to change properties by form. The user i.e. Tim has the role manager in the highest user_folder and acquisition is kept but Zope tells me that the user is not authorized. Wh

[Zope] Security Problem

2000-08-03 Thread Sven Hohage
Hi, I've got two questions. 1.Is Zope 2.2.0 masking the length of the passwords? 2. the more important-> I'm using a method to change properties by form. The user i.e. Tim has the role manager in the highest user_folder and acquisition is kept but Zope tells me that the user is not authorized. Wh

[Zope] Proxy-role????

2000-08-02 Thread Sven Hohage
Hello, I wanted to change a method (code->Zurueck zur Einstiegsseite)because I had changed the Objectname.The role was manager with all the premissions, but Zope didn't want me to do that!! Message of Zope ->"You are not authorized to change link_home because you do not have proxy roles. " Why

[Zope] Property Problem (type converting)

2000-08-02 Thread Sven Hohage
I like the property of a folder being a list, because new entries should be automatically updated(strings with the current month-name). I've tried tokens but it's not working correctly. //months is the token-property The problem is that every new entry is a single list.I've tried type-c

[Zope] tree expand by date

2000-08-01 Thread Sven Hohage
Hallo, I've searched in the mailing archive about the question how to expand a particular branch but I didn't find anything. That's my problem: I'm building a newsboard and when you want put a new message on it, the correct day should be opened. Example-> + June +July

[Zope] New Zope Book

2000-07-28 Thread Sven Hohage
Hi, when do you think there will be the first part of the O'Reilly-book be online?? I thought in August there should be partly online. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML enco

[Zope] ZEO

2000-07-21 Thread Sven Hohage
Hallo, is the filesize of the Zope Storage Server also limited to 2 GB? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related l

[Zope] Urgent Problem -> CMG - script is not working

2000-07-17 Thread Sven Hohage
Hallo, I've got an urgent problem. I' like to add websites by using forms which decide about the new content( upload a logo, new text,etc.). I know that's described in the CMG but the builder-script is not working. "Invalid syntax". The most import thing is to be able to clone an object and