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

RE: Questions on the WD-XForms-20010608

From: Josef Dietl <josef@mozquito.com>
Date: Mon, 25 Jun 2001 18:09:32 +0200
Message-ID: <D0F1529EE943B3449F755CA1A40887461D3436@winserver.windomain.mozquito.com>
To: Mats Norén <mats.noren@spectral.se>, <www-forms@w3.org>
Hi Mats,
the answer to your question is actually not specific to XForms, but the
broader issue of HTML events which we have borrowed for the purposes of
XForms. The Events draft [1] is still undergoing a revision (in other
words: stay tuned), but for the purposes of XForms we have thought of a
shortcut that would look like the following: Given the structure you
provided, you could write
    <toggle switch="us" case="uk" />
This is in no way approved yet - please tell us what you think about it.

-----Original Message-----
From: Mats Norén [mailto:mats.noren@spectral.se]
Sent: Monday, June 25, 2001 5:46 PM
To: www-forms@w3.org
Subject: Questions on the WD-XForms-20010608

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">
    <caption>Please Specify a US Shipping Address.</caption>
  <case id="uk">
    <caption>Please specify a UK shipping address.</caption>
  <case id="initial">

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

Is the onevent embedded in the switch construct or?
Or is it embedded in the UI-control or in a group element?
Mats Norén
Received on Monday, 25 June 2001 12:09:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:04 UTC