Hello all, Sorry for bothering again.
On Fri, 2011-06-03 at 15:13 +0530, Joshua Immanuel wrote:
> How to do the URL redirection in EditForm when the 'Apply' button is
> pressed?
In order to handle the redirection part I added a method as below
@form.action("Apply")
def apply_action(self, action, data):
...
self.request.response.redirect('.')
But in this method I have to call the form.applyData(..) and then I have
to notify zope for the ObjectModifiedEvent etc. Basically I am re-doing
the function of 'handle_edit_action' method in order to redirect the
page. I feel this is not the best way of doing it.
Is there any other better way of doing this?
Regards
--
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
signature.asc
Description: This is a digitally signed message part
_______________________________________________ bluebream mailing list [email protected] https://mail.zope.org/mailman/listinfo/bluebream
