Index: /waeup/branches/ulif-layout/src/waeup/browser/layout.py
===================================================================
--- /waeup/branches/ulif-layout/src/waeup/browser/layout.py	(revision 4755)
+++ /waeup/branches/ulif-layout/src/waeup/browser/layout.py	(revision 4756)
@@ -16,4 +16,18 @@
 
 grok.templatedir('templates')
+
+def NullValidator(*args, **kw):
+    """A validator that does not validate.
+
+    This is needed especially for cancel buttons. We don't want data
+    to be validated that will be thrown away in the next step.
+
+    You can use it with ``grok.action`` decorator like this::
+
+      @grok.action('Cancel', validator=NullValidator)
+      def cancel(self, **data):
+        self.redirect(<whereever-you-go>)
+    """
+    return dict()
 
 class UtilityView(object):
