newbe question reg. orbeon xforms engine

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

newbe question reg. orbeon xforms engine

Mats Eklund-2
Hi,
 
I am experimenting a bit with using orbeon xforms, and am wondering whether the slow response I am experiencing with my forms is in order.
 
For example, I have a simple trigger that causes a simple javascript to be executed.
 
<xf:trigger>
<xf:label>click me</xf:label>
<xxforms:script ev:event="DOMActivate">
alert("hello");
</xxforms:script>
</xf:trigger>
 
When I click the button, a "loading..." image is appearaing on the page and after about 2-3 seconds it disappears and the javascript alert/message is appearing. I looks like the click is triggering a postback to the server, which takes a while to complete before running the script. Is this correct behavior?
 
Thanks,
Mats



--
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
Reply | Threaded
Open this post in threaded view
|

Re: newbe question reg. orbeon xforms engine

Erik Bruchez-3
Mats,

Yes, that's the behavior by design since the XForms engine's intelligence is on the server. How long exactly it takes depends on factors such as server performance and network latency.

-Erik

On Thu, Dec 3, 2009 at 4:08 AM, Mats Eklund <[hidden email]> wrote:
Hi,
 
I am experimenting a bit with using orbeon xforms, and am wondering whether the slow response I am experiencing with my forms is in order.
 
For example, I have a simple trigger that causes a simple javascript to be executed.
 
<xf:trigger>
<xf:label>click me</xf:label>
<xxforms:script ev:event="DOMActivate">
alert("hello");
</xxforms:script>
</xf:trigger>
 
When I click the button, a "loading..." image is appearaing on the page and after about 2-3 seconds it disappears and the javascript alert/message is appearing. I looks like the click is triggering a postback to the server, which takes a while to complete before running the script. Is this correct behavior?
 
Thanks,
Mats



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: newbe question reg. orbeon xforms engine

Mats Eklund-2

Erik,

Ok thanks for the explanation. In my case it seems the responsiveness of my forms when served by orbeon is not satisfactory. The orbeon forms engine seems to offer a number of neat features, however, good responsiveness is a critical factor for me. So I may have to stick with a client side xforms engine, while using orbeon for the page flow control etc.

Are there any initiatives to incorporate a pure client-side xforms engine with the orbeon framework? 

Mats


--- On Thu, 12/3/09, Erik Bruchez <[hidden email]> wrote:

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: newbe question reg. orbeon xforms engine
To: [hidden email]
Date: Thursday, December 3, 2009, 6:22 PM

Mats,

Yes, that's the behavior by design since the XForms engine's intelligence is on the server. How long exactly it takes depends on factors such as server performance and network latency.

-Erik

On Thu, Dec 3, 2009 at 4:08 AM, Mats Eklund <mats.eklund@...> wrote:
Hi,
 
I am experimenting a bit with using orbeon xforms, and am wondering whether the slow response I am experiencing with my forms is in order.
 
For example, I have a simple trigger that causes a simple javascript to be executed.
 
<xf:trigger>
<xf:label>click me</xf:label>
<xxforms:script ev:event="DOMActivate">
alert("hello");
</xxforms:script>
</xf:trigger>
 
When I click the button, a "loading..." image is appearaing on the page and after about 2-3 seconds it disappears and the javascript alert/message is appearing. I looks like the click is triggering a postback to the server, which takes a while to complete before running the script. Is this correct behavior?
 
Thanks,
Mats



--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



-----Inline Attachment Follows-----


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: newbe question reg. orbeon xforms engine

Erik Bruchez-3

Are there any initiatives to incorporate a pure client-side xforms engine with the orbeon framework? 


None that we are aware of at this point. Which did you have in mind?

-Erik



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: newbe question reg. orbeon xforms engine

Mats Eklund-2

Formfaces is one example which I think comes a long way.

Btw, one issue I see with client side implementations is how they can interact with orbeon's page flow control. In particular I'm trying to figure out how xforms submissions with replace="all" can be achieved. Any ideas?

Thanks,

Mats


--- On Thu, 12/3/09, Erik Bruchez <[hidden email]> wrote:

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: Re: Re: newbe question reg. orbeon xforms engine
To: [hidden email]
Date: Thursday, December 3, 2009, 11:11 PM

Are there any initiatives to incorporate a pure client-side xforms engine with the orbeon framework? 


None that we are aware of at this point. Which did you have in mind?

-Erik


-----Inline Attachment Follows-----


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?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