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

Dynamic submission action attribute?

From: Robert Leftwich <robert@leftwich.info>
Date: Thu, 13 Nov 2003 13:08:00 +1100
Message-Id: <5.2.0.9.0.20031113125709.01bab400@192.168.0.1>
To: www-forms@w3.org
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?

Robert


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 10/11/2003
Received on Wednesday, 12 November 2003 21:19:45 GMT

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