[Zope] problem creating properties via python methods

Chris Withers chrisw@nipltd.com
Mon, 20 Nov 2000 11:53:26 +0000


Try moving your manage_addDTMLDocument:

> <dtml-with Test>
> <dtml-call "manage_addDTMLDocument('hello', REQUEST['new_name'])">
>  <dtml-with hello>
>    <dtml-call "manage_addProperty( id='company_name',
> value=REQUEST['new_name'], type='text', REQUEST=REQUEST)">
>    <dtml-call "manage_addProperty( id='message',
> value=REQUEST['new_message'], type='text', REQUEST=REQUEST)">
>    <dtml-call "manage_addProperty( id='contact_phone',
> value=REQUEST['new_phone'], type='text', REQUEST=REQUEST)">
>  </dtml-with>
> </dtml-with>
>  <dtml-call "RESPONSE.redirect('manage_main?update_menu=1')">

cheers,

Chris