23 Jun
2001
23 Jun
'01
8:37 p.m.
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 .... else: called directly You may use similar code. Dieter