Changeset 4758 for waeup/branches/ulif-layout/src
- Timestamp:
- 9 Jan 2010, 11:20:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/pages.py
r4755 r4758 11 11 from hurry.workflow.interfaces import NoTransitionAvailableError 12 12 from waeup.browser import (WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage, 13 WAeUPDisplayFormPage )13 WAeUPDisplayFormPage, NullValidator) 14 14 from waeup.catalog import search, search_context 15 15 from waeup.datacenter import Import … … 121 121 return 122 122 123 @grok.action('Cancel' )123 @grok.action('Cancel', validator=NullValidator) 124 124 def cancel(self, **data): 125 125 self.flash('Action cancelled.') … … 194 194 return 195 195 196 @grok.action('Cancel' )196 @grok.action('Cancel', validator=NullValidator) 197 197 def cancel(self, **data): 198 198 self.redirect(self.url(self.context.__parent__)) … … 487 487 return 488 488 489 @grok.action('Cancel' )489 @grok.action('Cancel', validator=NullValidator) 490 490 def cancel(self, **data): 491 491 self.redirect(self.url(self.context)) … … 543 543 return 544 544 545 @grok.action('Cancel' )545 @grok.action('Cancel', validator=NullValidator) 546 546 def cancel(self, **data): 547 547 self.redirect(self.url(self.context)) … … 574 574 self.redirect(self.url(self.context)) 575 575 576 @grok.action('Cancel' )576 @grok.action('Cancel', validator=NullValidator) 577 577 def cancel(self, **data): 578 578 self.redirect(self.url(self.context)) … … 607 607 self.redirect(self.url(self.context)) 608 608 609 @grok.action('Cancel' )609 @grok.action('Cancel', validator=NullValidator) 610 610 def cancel(self): #, **data): 611 611 self.redirect(self.url(self.context)) … … 650 650 return 651 651 652 @grok.action('Cancel' )652 @grok.action('Cancel', validator=NullValidator) 653 653 def cancel(self, **data): 654 654 self.redirect(self.url(self.context)) … … 757 757 return 758 758 759 @grok.action('Cancel' )759 @grok.action('Cancel', validator=NullValidator) 760 760 def cancel(self, **data): 761 761 self.redirect(self.url(self.context)) … … 805 805 return 806 806 807 @grok.action('Cancel' )807 @grok.action('Cancel', validator=NullValidator) 808 808 def cancel(self, **data): 809 809 self.redirect(self.url(self.context)) … … 830 830 self.redirect(self.url(self.context)) 831 831 832 @grok.action('Cancel' )832 @grok.action('Cancel', validator=NullValidator) 833 833 def cancel(self, **data): 834 834 self.redirect(self.url(self.context))
Note: See TracChangeset for help on using the changeset viewer.