W3C home > Mailing lists > Public > public-forms@w3.org > October 2007

RE: Submission examples available in editor' draft

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Tue, 23 Oct 2007 09:46:55 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF403AC68B2@USA7061MS01.na.xerox.net>
To: "John Boyer" <boyerj@ca.ibm.com>, "Forms WG (new)" <public-forms@w3.org>
John,
These look more useful now.
 
In the xforms-submit-serialize event, would
<setvalue ev:event="xforms-submit-serialize"
ref="event('submission-body')" value=" 'Hello, world!' "/> 
be better written as
<setvalue ev:event="xforms-submit-serialize"
ref="event('submission-body')"> Hello, world! </setvalue>
Leigh.
________________________________

From: public-forms-request@w3.org [mailto:public-forms-request@w3.org]
On Behalf Of John Boyer
Sent: Tuesday, October 23, 2007 12:11 AM
To: Forms WG (new)
Subject: Submission examples available in editor' draft



The latest editor's draft now contains numerous submission examples. 

It would help for the group to review them.   

I corrected numerous outstanding errors, such as use of ref on resource,
use of action instead of resource, etc. 

I reworked some of the examples, such as those for method=get,
method=put, method=post and instance replacement 

I added examples for 
- login with method=urlencoded-post 
- data preparation with an xforms-submit handler 
- sequenced submissions with xforms-submit-done 
- error reporting using xforms-submit-error and its error-type event
info 
- plain text submission using xforms-submit-serialize and its
submission-body event info 
- replacement of text content 

The following attributes are also now demonstrated in the examples:
relevant, validate, target, serialization. 

The web service example is yet to come, but it should be pretty clear
from the above why I had to delay producing that example. 

John M. Boyer, Ph.D.
STSM: Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com  

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
<http://www.ibm.com/developerworks/blogs/page/JohnBoyer> 
Received on Tuesday, 23 October 2007 16:47:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:45 UTC