- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 19 Oct 2016 13:31:27 +0200
- To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>, "Steven Pemberton" <steven.pemberton@cwi.nl>
Also related <item> allows a binding. Although the text doesn't say what the role of the binding is I am assuming (and will update the text accordingly): 1. it supplies a value 2. It overrides @value Example: <item label="Your name" ref="name"/> Can you check your implementations? Steven On Wed, 19 Oct 2016 13:24:55 +0200, Steven Pemberton <steven.pemberton@cwi.nl> wrote: > I'm having a feeling of déjà vue here, but nevertheless: > > @value in (almost) all cases is an alternative for the content of an > element: > > <setfocus><control>start</control></setfocus> > <setfocus><control value="'start'"/></setfocus> > > But it doesn't work like that with <item>. > > These are OK: > > <item label="Credit" value="'cc'"/> > <item label="Credit"><value>cc</value></item> > and even > <item label="Credit"><value value="'cc'"/></item> > > but NOT > > <item label="Credit">cc</value> > > Is there really a reason why this is not allowed. It looks like an > obvious case... > > Steven
Received on Wednesday, 19 October 2016 11:32:04 UTC