[BlueBream] disabling zope.schema constraint check in edit form
josh at hipro.co.in
Thu Aug 18 07:19:33 EDT 2011
Thanks for the reply.
On Thu, 2011-08-18 at 12:46 +0200, Michael Howitz wrote:
> > Is there a way to disable the constraint check in the EditForm if
> > the 'name' field isn't modified?
> Make sure your catalog search does not return the object you are
> currently editing.
Yes. But considering the fact that I am doing this check at the
interface level. I wonder if that is ever possible, because the
constraint method knows just the value of the field.
> > What is the preferred way of doing these kind of checks?
> Some time a ago I wrote a blog post about objects with attributes
> which are unique in their container .
> Besides it is written in German you might get the clue from the code
I'll check this and get back.
HiPro IT Solutions Private Limited
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/bluebream/attachments/20110818/4de09f2b/attachment.bin
More information about the bluebream