[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] Re: [Zope]Newbie: manage_changeProperties and wrong permission

2000-12-20 Thread Milos Prudek
Sven Hohage wrote: 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!. Oh no. "Fir" is a Product, with a single Z Class "Fir". Within Fir there are two folders and three

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-- dtml- call expr="REQUEST.set('language',from_formLanguage)" dtml- call expr="REQUEST.set('property',from_formProperty)" --Then you iterate over a certain meta-type in your folder-- -- You have to put the

Re: [Zope] Newbie: manage_changeProperties and wrong permission

2000-12-20 Thread Milos Prudek
--the point is to adress the propertysheet of the ZClass you are adressing-- dtml- call expr="propertysheets.Name_of_the_propertysheet.manage_changeProperties({'lstName':newlstName})" But the lstName is not part of propertysheet of Fir ZClass. It is a simple property of

[Zope] Newbie: manage_changeProperties and wrong permission

2000-12-19 Thread Milos Prudek
I need to call manage_changeProperties but Zope refuses to accept my authentication. There's a "Fir" class with two subfolders ("cz" and "en"). The subfolders contain identically named properties: lst_name and lst_text. These properties are then displayed using simple acquisition: