- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Tue, 04 Jul 2017 13:59:20 +0200
- To: "Erik Bruchez" <ebruchez@orbeon.com>
- Cc: XForms <public-xformsusers@w3.org>
Received on Tuesday, 4 July 2017 11:59:59 UTC
On Mon, 03 Jul 2017 21:54:18 +0200, Erik Bruchez <ebruchez@orbeon.com> wrote: > I can see how this would make sense for binding controls. But then other > uses like actions might not be as clear. > > One benefit of the first item rule is that it is easy to understand. > Introducing relevance makes things a bit harder. > > When relevance matters, you can easily be explicit, with: > > ref="foo[relevant()]" > > But I can't say that I have a very strong opinion about the idea at this > point. It's not a suggestion; I think this particular ship has sailed. More a discussion point, to see if there was a reason we chose it to be this way. Steven > > > -Erik > > On Mon, Jul 3, 2017 at 4:32 PM, Steven Pemberton > <steven.pemberton@cwi.nl> wrote: >> Something I've just been bitten by, though I'm not suggesting a change. >> >> The first item rule says that for a single item binding, if a selector >> selects more than one item, the first is used. >> >> Wouldn't it in general have been more useful if it selected the first >> *relevant* item? >> >> Steven
Received on Tuesday, 4 July 2017 11:59:59 UTC