W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

Re: Restriction for submit event in section 11.4.1

From: Werner DonnÚ <werner.donne@re.be>
Date: Wed, 16 Jan 2002 10:42:55 +0100
Message-ID: <3C454B1F.5050805@re.be>
To: Micah Dubinko <MDubinko@cardiff.com>
CC: www-forms@w3.org

I think the confusion perhaps comes from how I have interpreted the
phrase "for a particular XForms Model", because indeed my explanation
would solve exactly the same problem.

An application could allow to open the same form several times. In that
case the form model would be instantiated more than once. The instances
would be independent of each other. For example, the user of some data
entry application could have two windows open with the same form, but
type in different data in them. The first one could be stalled, for example,
because some information is missing. It is possible that by coincidence the
two submit processes for the respective form instances overlap in time.

So, in fact I have interpreted the word model literally as being the
description of something. Then, several instances could exist which
all adhere to the same model at the same time in the same application.

Perhaps "XForms document" or even "XForms document instance" is clearer,
because it contains the model as well as the run-time instance data, which
makes it a unique unit with respect to submission.



Micah Dubinko wrote:

> Werner,
> Thank you for your attention.
> Maybe I'm missing something, but I don't see the difference between what the
> spec says and your proposed wording. The problem we seek to solve is the
> well-known 'impatient user repeatedly clicking the button' multiple-submit
> problem.
> Could you clarify? Is there better wording that "concurrent submit"?
> Thanks!
> .micah
> -----Original Message-----
> From: Werner DonnÚ [mailto:werner.donne@re.be]
> Sent: Tuesday, January 15, 2002 8:08 AM
> To: www-forms@w3.org
> Subject: Restriction for submit event in section 11.4.1
> Hi,
> That section says "Under no circumstances may more than a single concurrent
> submit
> process be under way for a particular XForms Model."
> I don't see a reason for this restriction. There could be several instances
> of the same model.
> An implementation will have to do something special to guarantee the
> restriction. If
> something needs to be serialised it is up to the server to take care of
> that.
> Wouldn't it be better to say then that only one submission of the same
> instance data may
> take place at the time? This can be done by simply masking submit events
> during submission.
> Regards,
> Werner.

Werner DonnÚ  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Wednesday, 16 January 2002 04:43:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:42 UTC