RE: Submission examples available in editor' draft

Hi Leigh,

I fixed this by changing the value attribute to be a non-literal, as that 
is a more realistic example of why we want the feature anyway.

Thanks for point it out.

Cheers,
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





"Klotz, Leigh" <Leigh.Klotz@xerox.com> 
Sent by: public-forms-request@w3.org
10/23/2007 09:46 AM

To
John Boyer/CanWest/IBM@IBMCA, "Forms WG (new)" <public-forms@w3.org>
cc

Subject
RE: Submission examples available in editor' draft






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

Received on Wednesday, 24 October 2007 00:00:23 UTC