[Zope] Property Help

Steven Turoff steveturoff@home.com
Thu, 13 Dec 2001 15:10:58 -0600


Try this:

<dtml-with "resources.test_forum.posts">
<dtml-call expr="addDTMLDocument(id=REQUEST['topic'], title=REQUEST['topic'])">
<dtml-call expr="manage_addProperty('name', REQUEST['poster'], 'string')">
</dtml-with>
<dtml-call "RESPONSE.redirect('./index_html')">

At 10:26 AM 12/13/2001, Todd Loomis wrote:
>Hi All:
>
>I'm using the following code to create a page along with the following 
>properties, however only the page is created the property isn't. What 
>should I do:
>
><dtml-with "resources.test_forum.posts">
><dtml-call expr="addDTMLDocument(id=REQUEST['topic'], 
>title=REQUEST['topic']) and manage_addProperty('name', REQUEST['poster'], 
>'string')">
></dtml-with>
><dtml-call "RESPONSE.redirect('./index_html')">
>
>Thanks,
>Todd
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
>http://lists.zope.org/mailman/listinfo/zope-dev )