Re: [Zope] Put a property value for a DTML document in Formulator field

2005-09-15 Thread Chris Withers

Martin Koekenberg wrote:

Hello,

Im building a edit form. The original values are in a DTML document.
My question, how can I get a default value from a DTML Document property 
in formulator field (string) as de default value ?


mydoc.getProperty('name','my default')

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Put a property value for a DTML document in Formulator field

2005-09-10 Thread Martin Koekenberg

Hello,

Im building a edit form. The original values are in a DTML document.
My question, how can I get a default value from a DTML Document property 
in formulator field (string) as de default value ?


regards,

Martin Koekenberg

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )