[Zope] Returning an html page using a python script

Max M maxm@mxm.dk
Mon, 02 Sep 2002 14:16:37 +0200


Steve Nicholson wrote:

>Is there an equivalent way of doing the following dtml
>in a python script (but not using a
>REQUEST.RESPONSE.redirect)?
>
><dtml-return expr="editForm(_.None, _,
>message='Saved', DictionaryOfInfo=dict_of_info)
>

This should do the same from a Python script:

return context.editForm(context, context.REQUEST,
        message='Saved', DictionaryOfInfo=dict_of_info)



regards Max M

      
    ><evolve>
      >    >