Hi,
My queries have become complicated and are taking long. I want to indicate that activity is taking place after the user presses a trigger control. Something like an ephemeral message (I know it is not there yet, no problem) or maybe a switch. Does one of the examples show this, or any quick suggestions? Thank all, Hank Hank Ratzesberger NEES Programmer Institute for Crustal Studies University of California, Santa Barbara -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
You know, my server must have been in an unusual state,
the Loading... message was not showing up and now is. Maybe I will work on styling the Loading message a little differently. Cheers, Hank ----- Original Message ----- From: "Hank Ratzesberger" <[hidden email]> To: <[hidden email]> Sent: Wednesday, November 29, 2006 12:17 PM Subject: [ops-users] Please Wait Notification - how to > Hi, > > My queries have become complicated and are taking long. > I want to indicate that activity is taking place after > the user presses a trigger control. > > Something like an ephemeral message (I know it is not > there yet, no problem) or maybe a switch. > > Does one of the examples show this, or any quick > suggestions? > > Thank all, > Hank > > Hank Ratzesberger > NEES Programmer > Institute for Crustal Studies > University of California, Santa Barbara > > > -------------------------------------------------------------------------------- > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Good!
Note that at the moment, all the actions that result from a user interaction (click, key presses) execute on the server completely before returning to the client. A consequence of that is that you can't simply do something like xforms:toggle followed by xforms:submission, and expect that the toggle will be visible by the user while the submission is going on. Something to think about in the future. -Erik Hank Ratzesberger wrote: > You know, my server must have been in an unusual state, > the Loading... message was not showing up and now is. > > Maybe I will work on styling the Loading message a little differently. > > Cheers, > Hank > > ----- Original Message ----- From: "Hank Ratzesberger" > <[hidden email]> > To: <[hidden email]> > Sent: Wednesday, November 29, 2006 12:17 PM > Subject: [ops-users] Please Wait Notification - how to > > >> Hi, >> >> My queries have become complicated and are taking long. >> I want to indicate that activity is taking place after the user >> presses a trigger control. >> >> Something like an ephemeral message (I know it is not there yet, no >> problem) or maybe a switch. >> >> Does one of the examples show this, or any quick suggestions? >> >> Thank all, >> Hank >> >> Hank Ratzesberger >> NEES Programmer >> Institute for Crustal Studies >> University of California, Santa Barbara Orbeon Forms - XForms Everywhere http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hmmm... so <trigger> <label>Charge!<label> <action ev:event"DOMActivate"> <toggle case="wait"/> <send submission="charge"/> <toggle case"thank-you"/> </action> </trigger> Will all be done en-group, leaving just the "thank-you" case. Is there some elaborate way to <dispatch> events ? Also for the future... --Hank ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Wednesday, November 29, 2006 6:55 PM Subject: Re: [ops-users] Please Wait Notification - how to > Good! > > Note that at the moment, all the actions that result from a user > interaction (click, key presses) execute on the server completely before > returning to the client. > > A consequence of that is that you can't simply do something like > xforms:toggle followed by xforms:submission, and expect that the toggle > will be visible by the user while the submission is going on. > > Something to think about in the future. > > -Erik > > Hank Ratzesberger wrote: >> You know, my server must have been in an unusual state, >> the Loading... message was not showing up and now is. >> >> Maybe I will work on styling the Loading message a little differently. >> >> Cheers, >> Hank >> >> ----- Original Message ----- From: "Hank Ratzesberger" >> <[hidden email]> >> To: <[hidden email]> >> Sent: Wednesday, November 29, 2006 12:17 PM >> Subject: [ops-users] Please Wait Notification - how to >> >> >>> Hi, >>> >>> My queries have become complicated and are taking long. >>> I want to indicate that activity is taking place after the user >>> presses a trigger control. >>> >>> Something like an ephemeral message (I know it is not there yet, no >>> problem) or maybe a switch. >>> >>> Does one of the examples show this, or any quick suggestions? >>> >>> Thank all, >>> Hank >>> >>> Hank Ratzesberger >>> NEES Programmer >>> Institute for Crustal Studies >>> University of California, Santa Barbara > > -- > Orbeon Forms - XForms Everywhere > http://www.orbeon.com/blog/ > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 11/30/06, Hank Ratzesberger <[hidden email]> wrote:
> > Hmmm... so > > <trigger> > <label>Charge!<label> > <action ev:event"DOMActivate"> > <toggle case="wait"/> > <send submission="charge"/> > <toggle case"thank-you"/> > </action> > </trigger> > > Will all be done en-group, leaving just > the "thank-you" case. > Is there some elaborate way to <dispatch> > events ? Right now, you can do <toggle case="wait"/>, then <xxforms:script> that uses ORBEON.xforms.Document.dispatchEvent() to run an event that then does the long running <send submission="charge"/>. In the future, you could imagine that in a sequence of actions you can insert an extension action like <xxforms:synch-client/> which tells the client what has happened so far, before continuing on with the rest of the actions. Or there might be better ways. If you had anything in mind, just let us know. Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
reply within...
----- Original Message ----- From: "Alessandro Vernet" <[hidden email]> To: <[hidden email]> Sent: Friday, December 01, 2006 12:00 PM Subject: Re: [ops-users] Please Wait Notification - how to > On 11/30/06, Hank Ratzesberger <[hidden email]> wrote: >> >> Hmmm... so >> >> <trigger> >> <label>Charge!<label> >> <action ev:event"DOMActivate"> >> <toggle case="wait"/> >> <send submission="charge"/> >> <toggle case"thank-you"/> >> </action> >> </trigger> >> >> Will all be done en-group, leaving just >> the "thank-you" case. > > Yes. > >> Is there some elaborate way to <dispatch> >> events ? > > Right now, you can do <toggle case="wait"/>, then <xxforms:script> > that uses ORBEON.xforms.Document.dispatchEvent() to run an event that > then does the long running <send submission="charge"/>. > > In the future, you could imagine that in a sequence of actions you can > insert an extension action like <xxforms:synch-client/> which tells > the client what has happened so far, before continuing on with the > rest of the actions. Or there might be better ways. If you had > anything in mind, just let us know. there was a way that a toggle would be able to capture the xforms-submit event and then the bubbling of the xforms-submit-done event -- but where would this toggle "live," a child of <case>? Then the case would select itself because it receives events before and then after a particular submit. (and this doesn't make your server-side any easier does it -- unless you want to declare which events are guaranteed to synch the client.) Anyway, that is my likely uninformed idea and in any case, thank you, Erik and everyone for the remarkable support. I hope something does come to my mind someday to express that. Cheers, Hank > > Alex > -- > Blog (XML, Web apps, Open Source): > http://www.orbeon.com/blog/ > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
On 12/1/06, Hank Ratzesberger <[hidden email]> wrote:
> I don't have a complete grasp of the event model, but my thought was that > there was a way that a toggle would be able to capture the xforms-submit event > and then the bubbling of the xforms-submit-done event -- but where would > this toggle "live," a child of <case>? Then the case would select itself > because it receives events before and then after a particular submit. > (and this doesn't make your server-side any easier does it -- unless > you want to declare which events are guaranteed to synch the client.) You are saying that because the send triggers a submission, the server would detect that this is potentially a long running operation, and inform the client of what has happened so far (i.e. the <toggle case="wait"/>). <toggle case="wait"/> <send submission="charge"/> <toggle case"thank-you"/> That is reasonable as well, and there could be an attribute on <xforms:action>, say synch-client-on-submission="true" to enable this behavior. We'll keep these different approaches in mind. Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
On 12/1/06, Alessandro Vernet <[hidden email]> wrote:
> That is reasonable as well, and there could be an attribute on > <xforms:action>, say synch-client-on-submission="true" to enable this > behavior. We'll keep these different approaches in mind. When it comes to keeping information around, I trust Wikis more than my mind. So I put on the page linked below the two strategies discussed so far in this thread, plus two other variants. And as usually say: this is a Wiki, so please do edit it and improve it. https://wiki.objectweb.org/ops/Wiki.jsp?page=XFormsClientNotification Alex -- Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |