W3C home > Mailing lists > Public > www-forms@w3.org > June 2001

Questions on the WD-XForms-20010608

From: Mats Norén <mats.noren@spectral.se>
Date: Mon, 25 Jun 2001 17:46:18 +0200
Message-ID: <007401c0fd8d$f978e640$3602a8c0@spectral.se>
To: <www-forms@w3.org>
How is the switch construct supposed to work?

By reading the spec I couldn´t really see how the bind between the action toggle to the switch construct is supposed to work.

<switch id="01" default="initial">
  <case id="us">
   <group>
    <caption>Please Specify a US Shipping Address.</caption>
   </group>
  </case>
  <case id="uk">
   <group>
    <caption>Please specify a UK shipping address.</caption>
   </group>
  </case>
  <case id="initial">
   <group>...</group>
  </case>

  
  <onevent id="shippingAddress" registerwith="01" type="dom-click">
         <action id="us">
              <toggle switch="01" case="us"/>
         </action>
  </onevent>

</switch>

Is the onevent embedded in the switch construct or?

Or is it embedded in the UI-control or in a group element?

/Regards 
Mats Norén
Received on Monday, 25 June 2001 11:45:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:49 GMT