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

Re: multiple instance/model submission

From: Jason <jeacott@hardlight.com.au>
Date: Fri, 22 Sep 2006 18:23:04 +0930
Message-ID: <4513A470.7080309@hardlight.com.au>
To: Victor Bolshov <crocodile2u@yandex.ru>, www-forms <www-forms@w3.org>

Thanks Victor,
	yes you are correct in that you can submit these items separately. This 
is basically the heart of my problem!

If I submit them separately then the server thats doing the receiving 
cant really know which submissions really belong together without going 
to extra trouble trying to add tracking numbers to each instance for 
example, and then hoping that the server has actually received all the 
messages, or working out some custom protocol something like sending as 
part of the first submission exactly how many further submissions to 
expect before considering the job complete. It gets much more 
complicated should the hapless user happen to hit the submit button more 
than once, or if there are problems with the transmission of all the 
instances etc. - Its just a lot more awkward than would be the simple 
option of xforms submit these instances as a group to this address 
please. They could even be sent as a multipart post - make some use of 
that function beyond just data that might be collected as part of an 
instance instead of wrapping the xml fragments in order to send.


Regards
Jason.

Victor Bolshov wrote:
> Almost sure that the following suggestion had already been taken in 
> consideration by you - but nonetheless...
> 
> You can submit separate instances separately. I. e., data dealing with 
> message flow - in the "message" instance, but those dealing with the 
> real data - in "data" instance.
> 
> The <submission> element provides a means to submit the data from a 
> specified instance, via the "ref" attribute.
> 
> But I am quite sure that I'm just having a poor understanding of the 
> problem.
> 
> Best regards, Victor.
> 
Received on Friday, 22 September 2006 08:53:41 GMT

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