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

Grouping tag for actions

From: Eric Fu <ericfu@etrieve.com>
Date: Thu, 13 Dec 2001 09:22:14 -0800
Message-ID: <BD3A1AAD5A57D411AD6700B0D020246502399FAA@HIMALAYA>
To: www-forms@w3.org
I found it programmatically easier to introduce a "grouping" tag around
XForms action. 

For example, in the current specification, you define something like: 

<button>
  <caption>Press Me:</caption>
  <resetInstance ev:event="..." />
  <loadURL href="..." ev:event="..." />
</button>

It would be easier for a programmer of the XForms viewer to group the action
tags together, for example: 

<button>
  <caption>Press Me:</caption>
  <actions>
      <resetInstance ev:event="..." />
      <loadURL href="..." ev:event="..." />
  </actions>
</button>

It's more efficient because the code does not have to search for all the
possible action tags but just iterate through the "actions" tag.

Has the working group considered this?


Eric
Received on Thursday, 13 December 2001 12:33:16 GMT

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