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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:35 GMT