Hi,
Is there a method to trigger periodic submissions from within OPS/XForms. Eg. to refresh instance data every 20 secs from a webservice? Thanks in advance, Franco -- 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 |
hi franco,
> Is there a method to trigger periodic submissions from within OPS/XForms. > Eg. to refresh instance data every 20 secs from a webservice? you could implement such a fuctionality using JavaScript. Maybe this posting is helpful for you: http://mail-archive.objectweb.org/ops-users/2007-06/msg00317.html (don't forget the emendation at: http://mail-archive.objectweb.org/ops-users/2007-06/msg00379.html ) I described how to implement a periodical backup mechanism, but with a slight change regardingthe submission, i think it can be used also to reffresh an instance. HTH florian -- 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 |
Hi Florian,
Perfect - Thanks for the extra quick response Regards, Franco Florian Schmitt wrote: > hi franco, > >> Is there a method to trigger periodic submissions from within >> OPS/XForms. >> Eg. to refresh instance data every 20 secs from a webservice? > > you could implement such a fuctionality using JavaScript. Maybe this > posting is helpful for you: > > http://mail-archive.objectweb.org/ops-users/2007-06/msg00317.html > > (don't forget the emendation at: > http://mail-archive.objectweb.org/ops-users/2007-06/msg00379.html > ) > > I described how to implement a periodical backup mechanism, but with a > slight change regardingthe submission, i think it can be used also to > reffresh an instance. > > > HTH > florian > > > ------------------------------------------------------------------------ > > > -- > 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
|
Franco,
For this specific case, we have recently added one additional parameter to dispatchEvent(): ignoreErrors. ignoreErrors is false by default, but if you set it to true, then communication errors with the server that happen when dispatching the event will be ignored. I.e. they won't open the "orange error dialog". This is useful when users have an intermittent connection, and you don't want to alert them when just refreshing the data from the server failed. Alex On 7/31/07, franco pace <[hidden email]> wrote: > Hi Florian, > > Perfect - > Thanks for the extra quick response > > Regards, > Franco > > Florian Schmitt wrote: > > hi franco, > > > >> Is there a method to trigger periodic submissions from within > >> OPS/XForms. > >> Eg. to refresh instance data every 20 secs from a webservice? > > > > you could implement such a fuctionality using JavaScript. Maybe this > > posting is helpful for you: > > > > http://mail-archive.objectweb.org/ops-users/2007-06/msg00317.html > > > > (don't forget the emendation at: > > http://mail-archive.objectweb.org/ops-users/2007-06/msg00379.html > > ) > > > > I described how to implement a periodical backup mechanism, but with a > > slight change regardingthe submission, i think it can be used also to > > reffresh an instance. > > > > > > HTH > > florian > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > 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 > > -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- 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 |
Thank you Alex,
Thats a good idea when the refresh is not critical (as in my case). Regards, Franco Alessandro Vernet wrote: > Franco, > > For this specific case, we have recently added one additional > parameter to dispatchEvent(): ignoreErrors. > > ignoreErrors is false by default, but if you set it to true, then > communication errors with the server that happen when dispatching the > event will be ignored. I.e. they won't open the "orange error dialog". > This is useful when users have an intermittent connection, and you > don't want to alert them when just refreshing the data from the server > failed. > > Alex > > On 7/31/07, franco pace <[hidden email]> wrote: > >> Hi Florian, >> >> Perfect - >> Thanks for the extra quick response >> >> Regards, >> Franco >> >> Florian Schmitt wrote: >> >>> hi franco, >>> >>> >>>> Is there a method to trigger periodic submissions from within >>>> OPS/XForms. >>>> Eg. to refresh instance data every 20 secs from a webservice? >>>> >>> you could implement such a fuctionality using JavaScript. Maybe this >>> posting is helpful for you: >>> >>> http://mail-archive.objectweb.org/ops-users/2007-06/msg00317.html >>> >>> (don't forget the emendation at: >>> http://mail-archive.objectweb.org/ops-users/2007-06/msg00379.html >>> ) >>> >>> I described how to implement a periodical backup mechanism, but with a >>> slight change regardingthe submission, i think it can be used also to >>> reffresh an instance. >>> >>> >>> HTH >>> florian >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> -- >>> 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 >> >> >> > > > > ------------------------------------------------------------------------ > > > -- > 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 |
Free forum by Nabble | Edit this page |