Re: [SMW-devel] "one-to-many" validation

2012-05-30 Thread Vladimir Kostyukov
You are right. Its just a normal validation with "values from" and "existing values only" tag. It the first message of this thread, I described the situations when current implantation doesn't work correctly (the same situation described in bug), So, I was working on patch, which a) solves this pr

Re: [SMW-devel] "one-to-many" validation

2012-05-30 Thread Stephan Gambke
I read the bug and the thread. I still do not understand what "one-to-many" validation means. What do you want to validate against what? What is the "one", what is the "many"? How would it be different from normal validation? On 30 May 2012 11:22, Vladimir Kostyukov wrote: > I guess, its about Se

Re: [SMW-devel] "one-to-many" validation

2012-05-30 Thread Vladimir Kostyukov
Hi Stephan! I guess, its about SematicForms. You can read this thread. Here is bug about it https://bugzilla.wikimedia.org/show_bug.cgi?id=32976. Also you can read current thread: http://wikimedia.7.n6.nabble.com/quot-one-to-many-quot-validation-td678004.html#a1572068 On Wed, May 30, 2012 at 4:0

Re: [SMW-devel] "one-to-many" validation

2012-05-30 Thread Stephan Gambke
Hi Vladimir. On 30 May 2012 10:48, Vladimir Kostyukov wrote: > Are SFI stil has problem with "one-to-many" validation, that we discussed > before in this thread? I am planing to make same changes in my patch > (regarding notes before) and submit it again. What do you think about it? Is this real

Re: [SMW-devel] "one-to-many" validation

2012-05-30 Thread Vladimir Kostyukov
Hi everyone! Are SFI stil has problem with "one-to-many" validation, that we discussed before in this thread? I am planing to make same changes in my patch (regarding notes before) and submit it again. What do you think about it? On Mon, Dec 12, 2011 at 12:22 PM, badon wrote: > Here's a fresh r

Re: [SMW-devel] "one-to-many" validation

2011-12-11 Thread badon
Here's a fresh report for this enhancement: https://bugzilla.wikimedia.org/show_bug.cgi?id=32976 -- View this message in context: http://wikimedia.7.n6.nabble.com/one-to-many-validation-tp678004p1572068.html Sent from the Semantic Mediawiki - Development mailing list archive at Nabble.com. ---

Re: [SMW-devel] "one-to-many" validation

2011-12-09 Thread Yaron Koren
Hi Vlad, The "text with autocomplete" and "textarea with autocomplete" input types both allow multiple values. If you're going to change the code to support it, please note the "delimiter" parameter - by default the delimiter is a comma, but it can be manually set to be a semicolon, newline, etc.

Re: [SMW-devel] "one-to-many" validation

2011-12-09 Thread badon
I agree with Yaron. The "mandatory" parameter should have a limited meaning: something must be entered. The "existing values only" parameter should not require that something be entered. Instead, it only requires that IF something is entered, it must be an existing value. -- View this message in c

Re: [SMW-devel] "one-to-many" validation

2011-12-09 Thread Vladimir Kostyukov
Hi Yaron, Sorry for delay. Regarding fields with multiple values. You are right, its big potential problem. But I can try to implement it support. Which fields can has multiple values? Regarding mandatory fields. From my point of view this is correct behavioral. Mandatory - means "required field

Re: [SMW-devel] "one-to-many" validation

2011-12-08 Thread badon
Here is the bug report for the issue being discussed: https://bugzilla.wikimedia.org/show_bug.cgi?id=26088 -- View this message in context: http://wikimedia.7.n6.nabble.com/one-to-many-validation-tp678004p1371217.html Sent from the Semantic Mediawiki - Development mailing list archive at Nabble

Re: [SMW-devel] "one-to-many" validation

2011-12-07 Thread Yaron Koren
Hi Vladimir, Thanks - responses below. On Wed, Dec 7, 2011 at 11:02 AM, Vladimir Kostyukov < vladimir.kostu...@gmail.com> wrote: > Hi Yaron, > > Regarding yours questions. > > - Yes, I've added this feature only for "text with autocomplete" and for > "combobox". The reason of it very simple: I d

Re: [SMW-devel] "one-to-many" validation

2011-12-07 Thread Vladimir Kostyukov
Hi Yaron, Regarding yours questions. - Yes, I've added this feature only for "text with autocomplete" and for "combobox". The reason of it very simple: I didn't need this functionality for "textarea". Actually, It seems to me, that we can very easily add this feature to "textarea" input. - You a

Re: [SMW-devel] "one-to-many" validation

2011-12-07 Thread Yaron Koren
Hi Vladimir, Sorry again about the delay, and thanks for the reminder. I just looked through your patch, and it looks like quite a useful feature. I have a few questions: - You added this capability in for the "text with autocomplete" input type, but not for "textarea with autocomplete". Is there

Re: [SMW-devel] "one-to-many" validation

2011-12-06 Thread Vladimir Kostyukov
Hi Yaron, Have you looked into my patch about validation. Could you please update status? On Wed, Nov 30, 2011 at 12:35 AM, Yaron Koren wrote: > Hi Vladimir, > > Sorry about the delay - we've had the Thanksgiving break here, which has > restricted my internet time significantly. This patch soun

Re: [SMW-devel] "one-to-many" validation

2011-11-29 Thread Yaron Koren
Hi Vladimir, Sorry about the delay - we've had the Thanksgiving break here, which has restricted my internet time significantly. This patch sounds very interesting, and I plan to look at it at some point soon, unless someone else does first. -Yaron On Tue, Nov 29, 2011 at 12:26 PM, Vladimir Kost