W3C home > Mailing lists > Public > www-forms@w3.org > November 2003

RE: Dynamic submission action attribute?

From: John Boyer <JBoyer@PureEdge.com>
Date: Thu, 13 Nov 2003 13:29:48 -0800
Message-ID: <7874BFCCD289A645B5CE3935769F0B52684039@tigger.pureedge.com>
To: "Klotz, Leigh" <Leigh.Klotz@pahv.xerox.com>, "Robert Leftwich" <robert@leftwich.info>, <www-forms@w3.org>

The prior two responses are correct: you haven't missed anything, 
and we did discuss this issue at the last face to face meeting.

In particular, users of XFDL have counted on this behavior since 1996, 
and we have seen a lot of need for it over the years.  Now that XFDL is
a host language wrapper for the XML model, we allow the host language to
change the attribute when needed as one of the actions hooked to the
event that precipitates the submission.  Perhaps you could use that
strategy as an interim measure?

John Boyer, Ph.D.
Senior Product Architect and Research Scientist
PureEdge Solutions Inc.

-----Original Message-----
From: Klotz, Leigh [mailto:Leigh.Klotz@pahv.xerox.com]
Sent: Thursday, November 13, 2003 10:26 AM
To: 'Robert Leftwich'; 'www-forms@w3.org'
Subject: RE: Dynamic submission action attribute?

You haven't missed anything.  If you are implementing an XForms processor,
please do keep the list informed of the results of your work. 

-----Original Message-----
From: Robert Leftwich [mailto:robert@leftwich.info] 
Sent: Wednesday, November 12, 2003 6:20 PM
To: www-forms@w3.org
Subject: Dynamic submission action attribute?

Is it possible to have the action attribute of the submission element be 
calculated or dynamic in some way? The scenario is that I would like to use 
an HTTP Put to submit the instance data and in some cases this will result 
in the creation of a new resource and in others it will be an update of an 
existing resource. Either way the action URI needs to be dynamically 
constructed (i.e. not hard-coded), but reading the spec it looks as though 
this is not possible, which would appear to limit the usefulness of the Put 
submit option.
Have I missed something?

Received on Thursday, 13 November 2003 16:29:51 UTC

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