[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:
  dtml-in "objectValues('ZClassPage')"
dtml-let x=sequence-item
dtml- if "in_work"
   dtml-call "manage_delObjects([x.id])"
/dtml-if
/dtml-let
   /dtml-in

But Zope answers:
   An exception occurred in a DTML method or document. 

 Error type: BadRequest
 Error value: 980785769 does not exist 
But '980785769' EXISTS in the management-interface !!  :-((
---
It would be very nice if someone could give me a hint.Thanks!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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:
--
  dtml-in "objectValues('ZClassPage')"
dtml-let x=sequence-item
dtml- if "in_work"
   dtml-call "manage_delObjects([x.id])"
/dtml-if
/dtml-let
   /dtml-in

But Zope answers:
   An exception occurred in a DTML method or document. 

 Error type: BadRequest
 Error value: 980785769 does not exist 
But '980785769' EXISTS in the management-interface !!  :-((


Thanks!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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:
-
manage_changeProperties(REQUEST)
   Change existing object properties. Change object properties
by passing either a
   mapping object of name:value pairs {'foo':6} or passing
name=value parameters 

URL: - http://zdp.zope.org/projects/zqr/ZopeQR
-

This should work:
dtml- call
expr="cz.manage_changeProperties({'lst_name':lst_name_new})" 

Hope it helps!
 Sven

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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 correct meta-type you want--
  dtml- in "objectValues('Folder')"  

   dtml- let x=sequence-item   

--and you compare the id of the found objects with any property you
want(here the language)-- 
dtml- if "language==x.id"

--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})"


--Also you don't have to use REQUEST['value'],because the values of the 
   REQUEST-Object are, if you have used a form action, directly
useable)--

/dtml-if
/dtml-let 
  /dtml-in


Bye 
   Sven

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re:API and namespace

2000-12-11 Thread Sven Hohage

Hallo Alexander,
this works for me-

dtml- with "manage_addProduct['myProduct']"
 dtml- call "NewFolder_add (_.None, _, NoRedir=1)" 
/dtml-with   
dtml-with "_.getitem(idOfNewFolder)"
 dtml- with "manage_addProduct['myProduct']"
  dtml- call "Document_add (_.None, _, NoRedir=1)"
 /dtml-with
/dtml-with
Bye
   Sven

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 -
   dtml- call "manage_addFolder (FolderName)" 
  
dtml-with "_.getitem(FolderName)"
dtml- call "manage_add (DocumnetName)"
/dtml-with

Here are some starting-hints:
They are all taken from the Zope Quick Reference

--manage_addFolder(id, [title, createPublic, createUserF, REQUEST])
   Add a new Folder object with id id. If the createPublic 
   and createUserF parameters are set to 
   any true value, an index_html and a UserFolder objects
   are created respectively in the new folder. 


--manage_addDTMLDocument(id, [title, file, REQUEST, submit])
   Add a DTML Document object with the contents of file.
   If file is empty, default document text is used. 
--getitem(name,flag)
   Lookup a name in the namespace. If the value is callable
and 
   the flag is true, then the result of calling the value 
   is returned, otherwise the value is
   returned. flag defaults to false. 


You find the reference at --http://zdp.zope.org/
 Hope that helps!
 Bye

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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=1amount=%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 
spaces between the values -[1, 3, 4]
So, I have to extract the list and build a new string but this is very
uncomfortable!
Any hint?
Thanks!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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:

--
dtml-in "objectValues(['news'])"
dtml-let x="_.getitem('sequence-item')"
 dtml- call "manage_clone(x,'test',REQUEST)" 

/dtml-let
/dtml-in
--

The response of Dieter Maurer was, that it is a permission problem
--"Either you are not allowed to call the ZClass constructor
  at the destination,

  or you are not allowed to access the object to be cloned
  at the destination."
I'm trying to execute the operation with the role 'manager'


That's the traceback:
--
The object holle does not support this operation 
  
Traceback (innermost last):
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Zop\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Zop\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: NewsPruefer)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: NewsPruefer)
  File C:\Zop\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
(Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_In.py, line 607, in
renderwob
(Object: objectValues(['news']))
  File C:\Zop\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
(Object: x="_.getitem('sequence-item')")
  File C:\Zop\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval
(Object: manage_clone(x,'versuch',REQUEST))
(Info: REQUEST)
  File string, line 0, in ?
  File C:\Zop\lib\python\OFS\CopySupport.py, line 321, in manage_clone
(Object: holle)
  File C:\Zop\lib\python\OFS\CopySupport.py, line 402, in
_verifyObjectPaste
(Object: holle)
Copy Error: (see above)



Thanks and Bye
 Sven

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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:


--
Traceback (innermost last):
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Zop\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Zop\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: NewsPruefer)
  File C:\Zop\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: NewsPruefer)
  File C:\Zop\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
(Object: NewsPruefer)
  File C:\Zop\lib\python\DocumentTemplate\DT_In.py, line 607, in
renderwob
(Object: objectValues(['news']))
  File C:\Zop\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
(Object: x="_.getitem('sequence-item')")
  File C:\Zop\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval
(Object: manage_clone(x,'versuch',REQUEST))
(Info: REQUEST)
  File string, line 0, in ?
  File C:\Zop\lib\python\OFS\CopySupport.py, line 321, in manage_clone
(Object: holle)
  File C:\Zop\lib\python\OFS\CopySupport.py, line 402, in
_verifyObjectPaste
(Object: holle)
Copy Error: (see above)

Thanks again!

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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:
---form action="second"
  dtml-tree branches_expr="objectValues(['Spam'])"
  input type="checkbox" name="destination" value="dtml- var id"
 dtml- var "absolute_url()"   

   /dtml-tree
The user can decide where to build the webpage(ZClass with metatype 'Spam')
In 'second' he can choose a template and then the constructor_site builds
it:
--dtml- with "_.getitem(destination,0)"
--dtml- with "manage_addProduct['Spam']"
dtml-call "Spam_page_add(_.None, _, NoRedir=1)"

---/dtml-with
I've also tried -dtml-with "_[destination]" and also with not saving the 'id' but 
the 'absolute_url' in 'destination'.
  The constructor_site is on the top level of the website and he doesn't know
the folders downside.How to solve the problem???Please help me because it's
only two days to finish everything.

___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 mistake only by viewing the
properties.

-
Error Type: TypeError
Error Value: len() of unsized object



Traceback (innermost last):
  File C:\Zope\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zope\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Zope\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Zope\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: manage_propertiesForm)
  File C:\Zope\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: manage_propertiesForm)
  File C:\Zope\lib\python\App\special_dtml.py, line 121, in __call__
(Object: manage_propertiesForm)
(Info: C:\Zope\lib\python\OFS/properties.dtml)
  File C:\Zope\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
(Object: manage_propertiesForm)
  File C:\Zope\lib\python\DocumentTemplate\DT_In.py, line 691, in
renderwob
(Object: propertyMap)
  File C:\Zope\lib\python\DocumentTemplate\DT_In.py, line 657, in
renderwob
(Object: getProperty(id))
TypeError: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 value: wrapped object





Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for
your patience.




Traceback (innermost last):
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File C:\Zopppaaa\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: ElementWithAttributes)
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File C:\Zopppaaa\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: testskript)
  File C:\Zopppaaa\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: testskript)
  File C:\Zopppaaa\lib\python\OFS\DTMLMethod.py, line 167, in __call__
(Object: testskript)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__
(Object: testskript)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_With.py, line 146, in
render
(Object: manage_addProduct['DBank'])
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object: eingang_DB_add (_.None, _, NoRedir=1))
(Info: eingang_DB_add)
  File string, line 0, in ?
  File C:\Zopppaaa\lib\python\OFS\DTMLMethod.py, line 163, in __call__
(Object: eingang_DB_add)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_String.py, line 502,
in __call__
(Object: eingang_DB_add)
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_With.py, line 146, in
render
(Object: eingang_DB.createInObjectManager(REQUEST['id'], REQUEST))
  File C:\Zopppaaa\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object:
propertysheets.eingangs_info.manage_editProperties(REQUEST))
(Info: REQUEST)
  File string, line 0, in ?
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 456, in
manage_editProperties
(Object: Traversable)
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 255, in
_updateProperty
(Object: Traversable)
  File C:\Zopppaaa\lib\python\OFS\PropertySheets.py, line 208, in
_wrapperCheck
(Object: Traversable)
ValueError: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] External method and stdout

2000-09-05 Thread Sven Hohage



Hallo,
that's theproblem:
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'musing the 
print-statement).How do I convince Zope to print the result on the 
html-page.
 Thanks.


[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- in citynames
dtml-sequence-key;: dtml-sequence-item;
/dtml- in
The output is:
L: London
L: Liverpool
N:New York
R: Rome





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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.  Why???
 Thanks!


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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.  Why???
 Thanks!




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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.
dtml- if "not MonthNow in oldTime"
dtml-call "oldTime.append(MonthNow)"
dtml-call "entries.manage_changeProperties({'months':
oldTime})"//months is the token-property
/dtml- if
The problem is that every new entry is a single list.I've tried
type-converting but it's not working for me.
 Many thanks for any hint.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Proxy-role????

2000-08-02 Thread Sven Hohage

Hello,
I wanted to change a method (code-a
href="Datenbank/index_html"Zurueck zur Einstiegsseite/a)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
   Thanks.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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
  - August
 -16.

 I hope you've got an idea.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[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 then to change the propertys.
Please mail me a version that's working because 
tomorrow I have to show it to my 
boss.
Thanks!!!