[Xsltforms-support] Submission/@replace='all'
Brought to you by:
alain-couthures
From: Klotz, L. <Lei...@xe...> - 2010-03-03 19:35:08
|
This is a follow-on to the discussion before on xsltforms-support [1]. We discussed the issue of replace='all' and user agent behavior at the W3C Forms Working Group. Particular issues were the user agent behavior expectations for "new page" with regards to the location displayed and the behavior of the back button. Here is the resolution: [2] Resolution 2010-02-24.1: Dispatching xforms-submit-done and xforms-submit-error after submission/@replace='all' is optional and is not as important as other considerations, such as conforming to non-XForms user agent requirements of showing the page's URI and back button. While some non-native (JavaScript and server-side) XForms+XHTML implementations have been able to use techniques to retain most of these advantages in the complex cases of POST with application/xml serialization, we still see it as more important to conform to greater user-agent expectations in easier cases, such as <submission method='get' replace='all'>. My belief is that if the back button and location bar issues can be solved (and Erik Bruchez seems to think at least back button can be solved) that the current XSLTForms approach is good; however, if they can't, the replace='all' ought to do actual browser page loads in cases where it can. Another option is offering an XSLTForms extension value for replace or submission method for keeping the page but breaking location and back. [1] http://tinyurl.com/yenkenu [2] http://lists.w3.org/Archives/Public/public-forms/2010Feb/att-0046/2010-02-24.html#resolution1 Leigh. |