[Zope-CMF] Customizing the document edit behaviour

kamon ayeva kayeva@hotmail.com
Mon, 10 Sep 2001 21:57:35 +0000


Hi Jens,

>From: Jens Vagelpohl <jens@zope.com>
>To: "kamon ayeva" <kayeva@hotmail.com>
>CC: zope-cmf@zope.org, odeckmyn@experts-md.com
>Subject: Re: [Zope-CMF] Customizing the document edit behaviour
>Date: Mon, 10 Sep 2001 14:35:47 -0400
>
>kamon,
>
>make sure your factory type information points to your special form as the
>edit form by putting "howto_edit_form" as the "Initial view name".

Done that.

>then delete one of the two separate edit actions, either "edit" or
>"metadata". the remaining edit action should point to "howto_edit_form" as
>its action.

Done that.

>define a python script that acts as the target for the form on your
>howto_edit_form. this python script has to call both the "editMetadata"
>and the "edit" methods on your howto object. look in the skins tool at
>content/metadata_edit and document_edit for what you need to do.

Oh yeah ! I will do that.

Thanks for the tip.
Kamon

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp