Sin Hang Kin writes:
 > What should I return to for a method that create a new object or modify the
 > object?
 > If I return a redirection, will it too restricted for web only? If I return
 > a simple ok, it seems very stupid.
The Zope management interface often uses constructions like:

    def XXXX(..., REQUEST=None):
      if REQUEST is not None:
        # through the WEB
        called directly

You may use similar code.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to