- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Fri, 21 Jun 2024 12:38:37 +0000
- To: XForms <public-xformsusers@w3.org>
- Message-Id: <1718973237487.1803006742.3350521569@cwi.nl>
Another thing, just to check
If I have a control
<input ref="v" readonly="...whatever..."/>
but v also has a readonly binding in the model, then the two readonlys are
combined as if the two readonlys are in the model, agreed?
So if v also has a whitespace binding, none is allowed on the control?
Steven
On Thursday 20 June 2024 13:16:55 (+02:00), Steven Pemberton wrote:
Still working on my MIPs actions, I have come up with a question.
Imagine I have this structure (from an actual application by the way, not
hypothetical):
<input
ref="instance('data')/country" incremental="true"
label="Country"/>
<select1
ref="instance('data')/country" appearance="full">
<label>Suggestions</label>
<itemset
ref="instance('countries')/country[
starts-with(., instance('data')/country)
]">
<label ref="."/>
<value ref="."/>
</itemset>
</select1>
Note that both controls reference the same location.
If I were to add an @relevant to the select1:
<select1 ref="country" appearance="full" relevant="../show =
true()">
should this relevance, in your opinion, apply only to the select1, or to
both the select1 and the input. In other words, does the relevance apply to
the reference or to the control?
Steven
Received on Friday, 21 June 2024 12:38:44 UTC