W3C home > Mailing lists > Public > www-forms@w3.org > April 2006

Dynamic @action attribute on xforms:submission

From: Erik Bruchez <erik@bruchez.org>
Date: Wed, 19 Apr 2006 10:24:15 -0700
Message-ID: <4446723F.7030802@bruchez.org>
To: Xforms W3C WG <www-forms@w3.org>


With XForms 1.0 and 1.1 draft, it is not possible to dynamically
specify the @action attribute on xforms:submission. However, in these
days of REST, it is obviously necessary to be able to do that.

How have implementors addressed this? The following solutions come to

o Handle @action as an attribute value template, for example:


   Benefits: very flexible; XSLT does it so we are not reinventing the

   Drawbacks: XForms doesn't use attribute value templates anywhere at
   the moment. Users will expect that avt will work in other places as

o Extra attribute on xforms:submission, such as @action-ref.

   Benefits: does not introduce avt.

   Drawbacks: another attribute to remember; requires @action to be no
   longer required; doesn't scale to other attributes; *-ref attribute
   names are not nice-looking ;-)

Any other ideas or suggestions?

Received on Wednesday, 19 April 2006 17:24:33 UTC

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