hey all
I'm loading a moderate size document and rendering it into a table. i've noticed that a bunch of time is spent on events as the table is built, see below. is there a trick to stop the events as the table is rendered that would speed things up a bit? i can't make the instance read-only (atleast using xxforms:read-only) as the point of the table/page is to edit the loaded instance data. i would probably use the repeat/@number attribute to narrow the table, but it doesn't look implemented. any alternatives on this? cheers, ckw ... 2007-08-10 10:46:36,058 http-8080-Processor25 DEBUG processor.XFormsServer - XForms - dispatching event: xforms- valid - xforms-element-76·2141 - at XFormsValidEvent.java, line 27, column -1 2007-08-10 10:46:36,060 http-8080-Processor25 DEBUG processor.XFormsServer - XForms - dispatching event: xforms- enabled - xforms-element-76·2140 - at XFormsEnabledEvent.java, line 26, column -1 2007-08-10 10:46:36,061 http-8080-Processor25 DEBUG processor.XFormsServer - XForms - dispatching event: xforms- required - xforms-element-76·2140 - at XFormsRequiredEvent.java, line 26, column -1 2007-08-10 10:46:36,063 http-8080-Processor25 DEBUG processor.XFormsServer - XForms - dispatching event: xforms- readwrite - xforms-element-76·2140 - at XFormsReadwriteEvent.java, line 26, column -1 2007-08-10 10:46:36,065 http-8080-Processor25 DEBUG processor.XFormsServer - XForms - dispatching event: xforms- valid - xforms-element-76·2140 - at XFormsValidEvent.java, line 27, column -1 ... -- 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 8/10/07, Chris K Wensel <[hidden email]> wrote:
> i've noticed that a bunch of time is spent on events as the table is > built, see below. > > is there a trick to stop the events as the table is rendered that > would speed things up a bit? Are you saying that you would like the "MIPs events" (valid, read-only, ...) not to be dispatched when you are loading the form? Are you listening on those events? Are you using a recent build nightly build of Orbeon Forms? Alex -- 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 |
> Are you saying that you would like the "MIPs events" (valid,
> read-only, ...) not to be dispatched when you are loading the form? > Are you listening on those events? Are you using a recent build > nightly build of Orbeon Forms? > i think so. I've noticed many events firing off while the TABLE is being rendered (before the page is even displayed). I expect this slows things a bit. but of course, they may be important during that stage. just looking for advice i guess. Nope, i'm using 3.5.1. I tried a nightly once and had a problem. Was likely a config issue on my end as I was still learning OPS, and figured it was safer to stick with 3.5.1 till I was more confident. -- 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
|
Chris K Wensel wrote:
>> Are you saying that you would like the "MIPs events" (valid, >> read-only, ...) not to be dispatched when you are loading the form? >> Are you listening on those events? Are you using a recent build >> nightly build of Orbeon Forms? >> > > i think so. I've noticed many events firing off while the TABLE is being > rendered (before the page is even displayed). I expect this slows things > a bit. > > but of course, they may be important during that stage. just looking for > advice i guess. > > Nope, i'm using 3.5.1. I tried a nightly once and had a problem. Was > likely a config issue on my end as I was still learning OPS, and figured > it was safer to stick with 3.5.1 till I was more confident. dispatching of MIP events since 3.5.1. In particular, we try not to dispatch these events if there are no listeners present. If/when you try this, could you please follow-up and let us know if there is an improvement? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way 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 |
Free forum by Nabble | Edit this page |