I've got some ZClasses, Property Sheets and views set up. I'm populating instances of my classes.... 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. I'm basically following the Developers Guide, with the ZClasses Howto filling in most of the blanks. -andy - - - - - - - - - - - - - - - - - - - Andrew Diller dillera@isc.upenn.edu Information Systems and Computing Unix Systems Group University of Pennsylvania v: 3-7360 f: 8-9348
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
Thanks for the information. The critical piece that I was missing was that I needed to go create a PropertySheet Interface in the methods view of my ZClass. That's exactly what I was looking for. It's obvious now, but wasn't then. -andy
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
participants (2)
-
Andrew Diller -
Kevin Dangoor