[Zope] howto format/customize property sheets for zclasses ?

chas panda@skinnyhippo.com
Mon, 06 Sep 1999 05:32:10 +0900


answering my own question :

>basic question : how does one format/customize the "properties" 
>management page of a zclass instance ? 

the answer lies in that most thrilling of documents,
"the zope product api"  (on the sixth reading, it made 
more sense).

so, looks like i'll have to create a product the old fashioned
way (following the steps outlined in the product API for the 
'poll' example).  i had hoped the zclasses would allow us to 
easily format the property-update page but seems like they're
still baking (unlike my brain which is fried)... 

happy monday to all.

chas


>basic question : how does one format/customize the "properties" 
>management page of a zclass instance ? 
>this must be quite obvious but even after a shower i can't find 
>it.
>
>eg. say i have a zclass called "Article". creating this
>    via the zope interface will automatically create the 
>    following : 
>
>       Article 
>       Article_add (Article constructor) 
>       Article_addForm (Article constructor input form)
>Article_add_permission (Article constructor permission) 
>	Article_factory (Article factory) 
>
>    i have edited the Article_addForm dtml-document to make the
>    html form better (eg. larger text areas larger with WRAP
>    attributes). so, now it is easier to create a new instance
>    of this zclass.
>
>    but when somebody wishes to edit/update the properties of this
>    instance, the following form is used :
>    http://domain/[zclass-instance]/propertysheets/properties/manage
>    
>    is there a quick and easy way to over-ride this ? i'm only going
>    to add a few things (like better textareas or comments for users)
>    in the name of usability.
>
> (going back to the Lotus Notes analogy earlier,  how does one
> format/customize the "form" ?)
>
>cheers,
>
>chas
>
>
>
>
>
>
>
>
>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>
>