Hello: In my ZClass, I want to create a new View to change the attributes of an instance. Thanks to kdie on this list, I understand how to create the view in my ZClass and have it appear as a tab when I MANAGE the instance. I still need some pointers to where the source html is from the default manage 'tab' is. here is a url: http://xxx.upenn.edu:8080/projects/Rebuild_Bleep/propertysheets/InstanceCons... This manage screen is the deafult created for me when I built my PropertSheet (InstanceConstants). Whenever I look at the source for this, its always got all the particulars of the instance 'rendered' in. Where can I find the method (and view its source) that creates this page? I'm trying of course to customize the form which is displayed. It is to small for the attributes that I need. thanks for any pointers, andy - - - - - - - - - - - - - - - - - - - Andrew Diller dillera@isc.upenn.edu Information Systems and Computing Unix Systems Group University of Pennsylvania v: 3-7360 f: 8-9348
Hi, Andrew Diller schrieb:
Hello:
In my ZClass, I want to create a new View to change the attributes of an instance.
I still need some pointers to where the source html is from the default manage 'tab' is.
here is a url:
http://xxx.upenn.edu:8080/projects/Rebuild_Bleep/propertysheets/InstanceCons...
it is defined in Zope/lib/python/ZClasses/views.dtml You can change the used form from the views tab. You can add a new tab or you can change the method for 'Properties ' to your new DTML Method. Ciao, Jochen -- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de
Hi, ----- Original Message ----- From: "Jochen Knuth" <J.Knuth@ipro.de> To: "Andrew Diller" <dillera@isc.upenn.edu> Cc: <zope@zope.org> Sent: Monday, February 21, 2000 2:15 PM Subject: Re: [Zope] View html source of _manage_
I still need some pointers to where the source html is from the default manage 'tab' is.
here is a url:
http://xxx.upenn.edu:8080/projects/Rebuild_Bleep/propertysheets/Instance Constants/manage
it is defined in Zope/lib/python/ZClasses/views.dtml
sorry, this is the definition of the views-tab-form. The properties form is definded in Zope/lib/python/OFS/properties.dtml
You can change the used form from the views tab. You can add a new tab or you can change the method for 'Properties ' to your new DTML Method.
Ciao, Jochen --
Hi=- thanks for the tip. Unfortunately this is not what I'm looking for. This shows the source for the creation of a propertsheet. What I'm looking for, is after you create a propsheet, and bind it to a view in "Views" - you find that a default 'view' is already created for you - for example, if I create a property sheet called "InstanceConstants" then back in "Views" I find: properysheets/InstanceConstants/manage already there. If I create a view with that, then back at the Instance of the ZClass, I can edit the properties for that PropertySheet. It's THAT html source that I am looking for. I guess its the: properysheets/InstanceConstants/manage source. - - - - - - - - - - - - - - - - - - - Andrew Diller dillera@isc.upenn.edu Information Systems and Computing Unix Systems Group University of Pennsylvania v: 3-7360 f: 8-9348 On Mon, 21 Feb 2000, Jochen Knuth wrote:
Hi, ----- Original Message ----- From: "Jochen Knuth" <J.Knuth@ipro.de> To: "Andrew Diller" <dillera@isc.upenn.edu> Cc: <zope@zope.org> Sent: Monday, February 21, 2000 2:15 PM Subject: Re: [Zope] View html source of _manage_
I still need some pointers to where the source html is from the default manage 'tab' is.
here is a url:
http://xxx.upenn.edu:8080/projects/Rebuild_Bleep/propertysheets/Instance Constants/manage
it is defined in Zope/lib/python/ZClasses/views.dtml
sorry, this is the definition of the views-tab-form. The properties form is definded in Zope/lib/python/OFS/properties.dtml
You can change the used form from the views tab. You can add a new tab or you can change the method for 'Properties ' to your new DTML Method.
Ciao,
Jochen --
If I create a view with that, then back at the Instance of the ZClass, I can edit the properties for that PropertySheet.
It's THAT html source that I am looking for.
give this a try: http://www.zope.org/Members/AlexR/CatalogAware/edit_props.zip good luck gidon
participants (4)
-
Andrew Diller -
Gidon Friedman -
Jochen Knuth -
Jochen Knuth