W3C home > Mailing lists > Public > www-forms@w3.org > October 2005

Re: AJAX vs. Xforms

From: Erik Bruchez <erik@bruchez.org>
Date: Wed, 26 Oct 2005 11:59:37 +0200
Message-ID: <435F5389.7000107@bruchez.org>
To: www-forms@w3.org


Daniel doesn't only want to tell whether there was a success or a 
failure, but also to display a series of errors returned by the server. 
In that case, the event sent upon the completion of the submission will 
always be xforms-submit-done, whether his server-side code succeeds or 
fails, since in both cases a new instance containg the status of the 
server-side operations will be returned successfully. So he needs some 
type of conditions, whether by using relevant or conditional events, as 
I suggested.


Mark Birbeck wrote:
> Erik,
> Daniel doesn't actually need the conditional events feature for this
> particular use case--as you said yourself, you get one event for success and
> one for failure, so he could put the toggle actions into the xforms-submit-*
> handlers.
> (Which is not to say that we don't need the conditional handlers.)
> Regards,
> Mark
Received on Wednesday, 26 October 2005 09:59:45 UTC

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