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

Re: Active submissions

From: John Boyer <boyerj@ca.ibm.com>
Date: Fri, 16 Jun 2006 13:00:28 -0700
To: "Steven Pemberton" <steven.pemberton@cwi.nl>
Cc: "www-forms@w3.org" <www-forms@w3.org>, www-forms-request@w3.org
Message-ID: <OF9028A1B7.51C709E9-ON8825718F.006D54A5-8825718F.006DE947@ca.ibm.com>
This wouldn't work all that well because submissions can be performed by 
send actions, which can reside
anywhere.  The easiest place is in a DOMActivate handler of a trigger, of 
course, but a send can be done
in response to an event dispatched by an event dispatched by an event... 

Even the simple case of wanting to do a send preceded or followed by a few 
things like setting the focus
means that the trigger is logically connected to the submission but not in 
a way that allows the gray-out.

If we want to add this feature, perhaps we could make it a more generic 
feature that allows any UI control
to become non-active during the operation of a particular submission.

John M. Boyer, Ph.D.
Senior Product Architect/Research Scientist
Co-Chair, W3C XForms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com  http://www.ibm.com/software/

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer





"Steven Pemberton" <steven.pemberton@cwi.nl> 
Sent by: www-forms-request@w3.org
06/16/2006 10:44 AM

To
"www-forms@w3.org" <www-forms@w3.org>
cc

Subject
Active submissions







I have a form (and I'm sure many others have too) where the server takes a 
 
long time to return the results after a submission.

Users were getting confused about whether the submit had 'taken', so I 
added the necessary event handling to toggle feedback that the submit was 
being processed.

However, I think that there should be a low-cost default that makes it 
clear that something has happened, and I would like to propose that the 
spec states that all submit elements bound to a submission are in state 
'active' between xforms-submit and xforms-submit-done, so that you can use 
 
the CSS :active selector to style elements appropriately.

Steven Pemberton
Received on Friday, 16 June 2006 20:00:51 GMT

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