[Zope] changing sizes of Property Sheets/Views

Kevin Dangoor kid@kendermedia.com
Tue, 22 Feb 2000 13:45:03 -0500


I didn't see a reply to this earlier...

----- Original Message -----
From: "Andrew Diller" <dillera@isc.upenn.edu>
To: <zope@zope.org>
Sent: Saturday, February 19, 2000 12:56 AM
Subject: [Zope] changing sizes of Property Sheets/Views


> but when I want to come back and edit them, I'm using the management
> screen of the instance, and its default view, created I guess from the
> Property Sheet that I created.
>
> How can you change the sizes of these fields? For instance, I specified
> one attribute as a text, but the resulting textarea is too small to work
> with.
>
> Or am I approaching this wrong- should I be creating DTML methods that
> read the values and edit them in a form I write as a method, then update
> the instance. Right now I'm directly trying to edit the View that was
> created.

That's basically it. You create your own methods that make the interface
look like whatever you want. This is something you need to do anyway if
you're making CatalogAware ZClasses. (You can check out KM|Net News for an
example of this. Drill down to the KMArticle ZClass and look at "edit" and
"postit".)

Kevin