[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:
  


   


   

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:
-->>
  


   


   

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 )




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 you
want(here the language)--> 


<--the point is to adress the propertysheet of the ZClass you are
adressing-->
  


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


 
  


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] 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 )




[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:
 

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] 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

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 ->

  




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] 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/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=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 
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 )




[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 should I check if the user knows the Password??
 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] 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:

--


  



--

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 , 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] newbie question

2000-11-09 Thread hohage

Hallo Stephan
you can't iterate over a string!
That's working:

 This is not much!
 
 This is ok!
 
 This is very much!
 





___
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 , 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 )




RE: [Zope] meta type?

2000-10-31 Thread hohage

Hallo Jason,
you are on the right way.
Try this in a folder:
-



-
You'll get the names of all the metatypes in the current folder.
 Bye
   Sven
P.S.:the "available objects" button shows all available metatypes in your 
installation(you can add more by installing products or creating them on your 
own).


>= Original Message From "Jason C. Leach" <[EMAIL PROTECTED]> =
>hi,
>
>What is ment by a meta type?
>
>Is that like 'Image' in the case of images, and Folder in the case of
>folders?
>
>j.
>
>..
>. Jason C. Leach
>... University College of the Cariboo.
>..
>
>
>___
>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 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] dtml-while

2000-10-29 Thread hohage

Hallo Diego,
this works(tested):


  

  


Bye
  Sven

>= Original Message From Diego Rodrigo Neufert 
<[EMAIL PROTECTED]> =
>Why there isnt a dtml-while function in Zope?
>How to implement it with dtml?
>how to do a simple while x != y in dtml?
>
>Thanks in advance...
>
>--
>---
>Diego Rodrigo Neufert
>-webmaster
>---
>(Magic Web Design)
>(email) ([EMAIL PROTECTED])
>(curitiba) (pr)
>
>___
>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 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] Adding many instances at once

2000-10-23 Thread hohage

Hallo,
how can you add many ZClass-instances at once.
I mean with the correct content,title and other properties.The example(adding 
zclass to a zclass)is always adding one class.The next problem is how to deal 
with the properties in a form if you don't know how many items are added by 
the user??
User A is adding three news-items at once, the next is adding 5.



___
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] Working with versions

2000-10-23 Thread hohage

Hallo Chris,
thank you for your reply, but I don't understand what I have to do.
I looked into the documentation but it is obscure to me.
 Sven

>= Original Message From "Chris McDonough" <[EMAIL PROTECTED]> =
>Hi...
>
>You need to open a versioned database connection manually.  This is probably
>harder than it should be.  For more info, see
>http://www.zope.org/Documentation/Developer/Models/ZODB and look under
>Architecture --> DB.
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, October 23, 2000 5:06 AM
>Subject: [Zope] Working with versions
>
>
>> Hallo,
>> I've got a question concerning versions.
>> The working with versions in the management screen is obvious to me, but
>> what about hiding the management-screen and working with them.
>> I want to add ZClasses programmatically but some users should only be able
>> to add them after a Controller has checked that everything is o.k.
>> What are the right methods to use???
>>
>> --
>> Sent through GMX FreeMail - http://www.gmx.net
>>
>>
>> ___
>> 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 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:
---
  
  


   
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:
--
--


---
I've also tried -> 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 , 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 , 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 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.
   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-sequence-key;: &dtml-sequence-item;

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 (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] 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] 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
   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.


//months is the token-property

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] 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!!!