Hi there! I’m trying to find a solution to trigger a dialog *before* a – longlasting – submission is started and to remove it when the transmission has ended. Actually I want to place a hint with a bit more information than „Loading…“ into our form ;-) which should be visible either on every (long-lasting) request or at least right before sending a specific request (the slowest one). So I tried to trigger a XForms-Orbeon dialog by listening for xforms-submit but it is shown only *after* the request returned which is somehow purportless. And the same is true for JavaScripts. I also tried to find an event which is fired by YAHOO.widget.Overlay (Yahoo! UI Library) but wasn’t able to find one. And there is no sensible way to watch the changes on the styles of the loading-overlay. Well, maybe I’m a just a bitt to lazy to recode all the JavaScript from Yahoo! UI ;-). So I beg your pardon therefor ;-) The bottom line is I think the situation of high latency submissions is really a pitty because 1. the javascript xforms-send for xforms-submit should be executed on the client side before the submission is blocking the UI, 2. the loading animation should at least fire an event for showing/hiding (which would enable any developer to bind to it and react properly) and 3. one should be able to show dialogs on long running requests I found the notes to alter the loading-animation by changing the theme-setup but I don’t see any solid information what exactly to alter because not all of the relevant links are up to date. So unfortunately I don’t really know where to begin because the loading animation is still hard coded and any other way somehow leeds to a dead end for me. Can you give me a hint? Thanks a lot in advance, JT -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Have you looked into using an asynchronous submission?
http://wiki.orbeon.com/forms/doc/developer-guide/asynchronous-submissions -Erik On Mon, Jun 25, 2012 at 7:58 AM, Stumpf, Jens Thorsten <[hidden email]> wrote: > Hi there! > > > > I’m trying to find a solution to trigger a dialog *before* a – longlasting – > submission is started and to remove it when the transmission has ended. > > Actually I want to place a hint with a bit more information than „Loading…“ > into our form ;-) which should be visible either on every (long-lasting) > request or at least right before sending a specific request (the slowest > one). > > > > So I tried to trigger a XForms-Orbeon dialog by listening for xforms-submit > but it is shown only *after* the request returned which is somehow > purportless. > > And the same is true for JavaScripts. > > > > I also tried to find an event which is fired by YAHOO.widget.Overlay (Yahoo! > UI Library) but wasn’t able to find one. > > And there is no sensible way to watch the changes on the styles of the > loading-overlay. Well, maybe I’m a just a bitt to lazy to recode all the > JavaScript from Yahoo! UI ;-). So I beg your pardon therefor ;-) > > > > The bottom line is I think the situation of high latency submissions is > really a pitty because > > 1. the javascript xforms-send for xforms-submit should be executed on > the client side before the submission is blocking the UI, > > 2. the loading animation should at least fire an event for > showing/hiding (which would enable any developer to bind to it and react > properly) and > > 3. one should be able to show dialogs on long running requests > > > > I found the notes to alter the loading-animation by changing the theme-setup > but I don’t see any solid information what exactly to alter because not all > of the relevant links are up to date. > > > > So unfortunately I don’t really know where to begin because the loading > animation is still hard coded and any other way somehow leeds to a dead end > for me. > > Can you give me a hint? > > > > Thanks a lot in advance, > > > > JT > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |