what to return for a manage_edit method
23 Jun
2001
23 Jun
'01
12:07 a.m.
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. Rgs, Kent Sin --------------------------------- kentsin.weblogs.com kentsin.imeme.net
23 Jun
23 Jun
8:37 p.m.
New subject: [Zope-dev] what to return for a manage_edit method
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
9076
Age (days ago)
9076
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Sin Hang Kin