W3C home > Mailing lists > Public > www-forms@w3.org > December 2009

Re: Javascript implementation limitation

From: Mats Eklund <mats.eklund@yahoo.com>
Date: Fri, 4 Dec 2009 04:07:48 -0800 (PST)
Message-ID: <238923.60751.qm@web59002.mail.re1.yahoo.com>
To: Joern Turner <joernturner@me.com>
Cc: www-forms@w3.org
submission then load is how I currently do it, however, this requires the server to be tweaked to respond with a redirect in a non-conventional way. By conventional I'm referring to the "PRG pattern" (http://en.wikipedia.org/wiki/Post/Redirect/Get). As long as this pattern isn't used, there is no problem. Maybe xforms was not intended to be used with this pattern...?

--- On Fri, 12/4/09, Joern Turner <joernturner@me.com> wrote:

From: Joern Turner <joernturner@me.com>
Subject: Re: Javascript implementation limitation
To: "Mats Eklund" <mats.eklund@yahoo.com>
Cc: www-forms@w3.org
Date: Friday, December 4, 2009, 10:00 AM


On Dec 3, 2009, at 10:21 PM, Mats Eklund wrote:

> Hi,
> I'm weighing pros and cons of two xforms implementations, one is a server side implementation and the other is a browser side implementation in javascript. It appears to me that one inherent limitation of a javascript implementation is that xforms submissions with replace="all" is impossible to achieve. Any insights welcome?
That's not right. In Chiba we support submission/@replace="all". Though it comes to the price of having an additional URI param on the resulting URL. On the other hand you can always substitute a replace all with a combination of submission and load.



> Thanks,
> Mats

Received on Friday, 4 December 2009 12:08:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:23 UTC