Hello Leonardo,
On Thu, 2011-08-18 at 19:10 +0200, Leonardo Rochael Almeida wrote:
> For the 'cancel button' case, you need to have a form action with a
> validator that always validates, no matter what. You can find an
> example of one such null_validator here:
>
> https://svn.plone.org/svn/plon
Hi Joshua,
On Thu, Aug 18, 2011 at 09:59, Joshua Immanuel wrote:
> [...] Worse case scenario is where I have a cancel
> action button which just redirects to another page, that too screams for
> the NameAlreadyExists error.
For the 'cancel button' case, you need to have a form action with a
vali
Hello all,
I use the zope.schema field's constraint parameter to check for the
uniqueness of a particular field like this
class IMyObject(Interface):
def check_for_uniqueness(value):
cat = getUtility(ICatalog)
result