- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Fri, 11 Apr 2025 09:16:56 +0000
- To: Erik Bruchez <ebruchez@orbeon.com>
- Cc: XForms <public-xformsusers@w3.org>
- Message-Id: <1744362722797.4091448486.4116028437@cwi.nl>
These are the attributes of switch now:
switch <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#ui-switch>
Common <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-common> , Evaluation <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-evaluation> , Appearance <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#attrs-appearance> , Single Item Binding <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-single-node> (optional)
These are the Common attributes for controls:
Control Common
Element Attributes and their Content (after AVT evaluation)
(various)
Common <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-common> , Evaluation <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-evaluation> , Properties <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-properties> , Appearance <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#attrs-appearance> , Navigation <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#attrs-navigation> , UI Common <https://www.w3.org/community/xformsusers/wiki/XForms_2.0#attrs-ui-common> , Single Item Bindinghttps://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-single-node
<https://www.w3.org/community/xformsusers/wiki/XForms_2.0#structure-attrs-single-node>
My feeling is that Navigation should also be on switch; but what about UI Common (@label @hint @alert @help)? <switch> doesn't have those as children elements, but on the other hand it does now have a binding.
Worth discussing.
Steven
On Thursday 10 April 2025 23:41:31 (+02:00), Erik Bruchez wrote:
Yes it should!
On Thu, Apr 10, 2025 at 2:18 PM Steven Pemberton <steven.pemberton@cwi.nl <mailto:steven.pemberton@cwi.nl> > wrote:
<switch/> has an optional binding. Presumably MIPs apply to a switch as
well. Should it also have the property attributes?
<switch ref="method" relevant="amount > 0">
<case name="credit">
...
</case>
<case name="cash">
...
</case>
</switch>
Steven
Received on Friday, 11 April 2025 09:17:09 UTC