Hi, Francisco

Here's a link to a howto on automatically generating ids.

You may want to look at the howto's and zope tips at
http://www.zope.org/Documentation.  There are a lot of answers to
questions you may have there. 

Now, about getting unexpected authentication boxes on a new ZClass:

In my experience, what you need to do is, within your ZClass's
management area, go to the Define Permissions tab, and assign "Access
Contents Information" to "Access Contents Information", or do something
similar with whatever permissions you are having trouble with.  The
default has few permissions, so you need to manage these things.

-- Jim Washington

zopist wrote:
> dear zopists,
> im a zope newbie and i have one of those little problems ppl like me can spend hours 
>on ...
> i just built my first ZClass and now im trying to automatically assign a generated 
>ID to an instance of this class in the -add method.
> i want to generate the id because there is no unique fieldvalue available and i dont 
>want to have the users get stuck on this point.
> another problem i encountered is that when i try to add an instance in a folder i 
>get an authentication box where no valid login is accepted
> i would really much apreciate if someone could help.
> Francisco (chico) Webber

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

Reply via email to