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

Re: [ANN] formsPlayer / Tablet PCs / Text submission results

From: John Boyer <boyerj@ca.ibm.com>
Date: Tue, 14 Nov 2006 11:35:35 -0800
To: mark.birbeck@x-port.net
Cc: www-forms <www-forms@w3.org>, www-forms-request@w3.org
Message-ID: <OFE1EE72FF.46002EA5-ON88257226.006A6C72-88257226.006BA3FD@ca.ibm.com>
Hi Mark,

Congratulations, that's great news.  I've just updated the group's public 
site to add the announcement to the news.

Regarding your support for submissions that return text, again that's 
great news.

Just moments ago, I finished the grueling task of creating the first draft 
of XForms 1.1 full spec (not delta).
Did I mention it was gruelling?

Anyway, the very last thing I noticed that I thought worthy of *adding* a 
note about pertains to the xforms-submit-serialize event.
Because the submission-body context property is a string, it seems to me 
that this feature also allows one to *submit* non-XML data!
But no pressure :-)

Well, maybe a little: Regarding the instance-error attribute you are 
experimenting with, I would comment that it is not necessary in XForms 1.1 
because the xforms-submit-error contains the returned response in the 
response-body context property, which means you can use a simple handler 
for that event to put the data whereever you want.  Note that if the 
submission response is XML, then it is parsed and the response-body 
returns the node, so you can use insert to copy it somewhere.  If the 
response is not XML, then response-body is a string, so you can use 
setvalue to put it somewhere.  Finally, note that the response header are 
also available, so you should be able to write the conditional logic to 
make the choice (which is something you could not do right now with the 
instance-error attribute).

John M. Boyer, Ph.D.
STSM: Workplace Forms Architect and Researcher
Co-Chair, W3C Forms 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

"Mark Birbeck" <mark.birbeck@x-port.net> 
Sent by: www-forms-request@w3.org
11/14/2006 10:30 AM
Please respond to

www-forms <www-forms@w3.org>

[ANN] formsPlayer / Tablet PCs / Text submission results

Hello all,

The latest release of formsPlayer 1.5 has:

  * improved support for Tablet PC's;
  * support for submissions that return text (from XForms 1.1);
  * support for the new 'target' attribute on submission (from XForms 
 * support for an experimental 'instance-error' attribute on submission;
  * additional control over CSS, such as styling 'hints' in different ways
   depending on the parent control's MIPs.


Some new features have been added to formsPlayer to support the needs
of one of our customers in the insurance industry. We've some ideas
about other features that could be added, but we're keen to get
feedback from users may have experience using Tablet's in other areas,
including in non-XForms solutions. If you have any suggestions or
comments for the kinds of features that would be useful, they would be
most welcome:


For some screenshots on what we have so far, see Phil's blog:



The new release also includes a few new submission features.

The first supports requests that return text values. Paul has blogged
about it here:


and he links through to some examples and a discussion of the feature,
which is defined in XForms 1.1:


Another new submission feature is the ability to indicate where the
returned data should be stored. This is important when returning text,
since XForms can only store data in XML, so simple text would need to
be placed in an element or attribute. This feature is also defined in
XForms 1.1:


The last new feature in submission is the ability to indicate where to
place any XML returned by a failed submission--something that is
important when using protocols such as SOAP, which use HTTP error
codes to indicate failure, but can still return useful XML data. This
is an experimental feature, and we'd appreciate any feedback.


The release also includes various improvements in CSS styling. One
such improvement is that 'hints' can now have their style set based on
the status of their parent control; for example, a hint could be
styled differently depending on whether the control is valid or

All release notes are available here:


Best regards,


Mark Birbeck
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
Received on Tuesday, 14 November 2006 19:36:17 UTC

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