Re: [Zope3-Users] Re: Prevent Duplicate Persistency

2006-03-15 Thread Dax
Would it not make sense to do this when you define the object as persistent, like in mysql "create unique index ...". And then check for errors in the formlib level. On 3/15/06, jürgen Kartnaller <[EMAIL PROTECTED]> wrote: > Dax wrote: > > Thanks a lot, Mats. This is a way to do it, but if I wer

[Zope3-Users] Re: Prevent Duplicate Persistency

2006-03-15 Thread jürgen Kartnaller
Dax wrote: > Thanks a lot, Mats. This is a way to do it, but if I were to add a > "name" schema to IMark and checkName on the actual "name", then I > would not be able to do this for "url" as well, right? So my question > is how would I do this for url without having url as the name for the > Mar