W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Re-evaluating a switch

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 09 Nov 2016 16:26:47 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yqn2ixiqsmjzpq@steven-aspire-s7>
This is about XForms 1.1 behaviour.

<switch ref="foo">
<case id="a">...</case>
<case id="b" selected="true">...</case>
</switch>

Initially b is selected.

Then I do <toggle case="a"/>.

So now a is selected.

Then I do <setvalue ref="foo">bar</setvalue>

I am assuming that b gets reselected.

Do we agree?

Steven
Received on Wednesday, 9 November 2016 15:27:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 November 2016 15:27:28 UTC