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

Re: XForms timer

From: Allan Beaufour <beaufour@gmail.com>
Date: Thu, 4 May 2006 09:43:40 +0200
Message-ID: <90d6cb0e0605040043w1272fc72i1620c23902c7011f@mail.gmail.com>
To: "Erik Bruchez" <ebruchez@orbeon.com>
Cc: "Xforms W3C WG" <www-forms@w3.org>

On 4/27/06, Erik Bruchez <ebruchez@orbeon.com> wrote:
> <xforms:timer id="my-timer" timeout="1000" repeat="true"/>
> The timer will just fire an event, for example "xforms-timer", when
> necessary.
> <xforms:timer id="my-timer" timeout="1000" repeat="true">
>    <xforms:send ev:event="xforms-timer" submission="background-save"/>
> </xforms:timer>
> You probably need actions and/or events to start and stop a timer as well.

Yes, it looks fine, but then yes "you probably need ...", etc. All
this is "solved" in javascript. I would still like a justification to
why it is important to have an XForms specific timer.

> But it looks easier than the Javascript below, no? ;-)

That _is_ the aim of syntatic sugar ;)

... Allan
Received on Thursday, 4 May 2006 07:43:44 UTC

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