Re-evaluating a switch

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