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

RE: Grouping tag for actions

From: Eric Fu <ericfu@etrieve.com>
Date: Thu, 13 Dec 2001 09:44:32 -0800
Message-ID: <BD3A1AAD5A57D411AD6700B0D020246502399FAB@HIMALAYA>
To: www-forms@w3.org
I think the "action" tag is supposed to do what I asked for, i.e. for
grouping purposes, right?
Just want to confirm.

eric
 

-----Original Message-----
From: Eric Fu [mailto:ericfu@etrieve.com]
Sent: Thursday, December 13, 2001 9:22 AM
To: www-forms@w3.org
Subject: Grouping tag for actions


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:55:30 GMT

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