- From: Allan Beaufour <beaufour@gmail.com>
- Date: Thu, 4 May 2006 09:43:40 +0200
- 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