javascript integration

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

javascript integration

Mats Eklund-2
Hi,

I'm thinking of migrating a solution that currently uses a client-side javascript implementation of xforms onto orbeon. My solution uses javascript extension at some points to do things such as reading out instance data and transforming it with xslt (sarissa) and outputting resulting markup at some location in the document, or to modify/update instance data in the xforms model. For this I use the getInstanceDocument() and the recalculate(), revalidate(), refresh(), rebuild() functions. However, Orbeon doesn't seem to support these functions. Is this right? Does Orbeon offer any alternative mechanisms to this kind of stuff?

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: javascript integration

Erik Bruchez-3
Mats,

The answer is yes.

It is correct that Orbeon Forms does not support these functions from JavaScript.

One reason, obviously, is the hybrid client-server architecture.

Another one is that Orbeon Forms is designed so that your stuff stays secure on the server, and transparent access to your instance data is currently not allowed.

We do have some JavaScript support though, see:

We use these functions and xxforms:script in XBL controls to provide XForms/JavaScript integration, and that has worked pretty well so far. We would like to have some slightly higher-level functions. That should come in the future.

-Erik

On Tue, Dec 1, 2009 at 2:03 PM, Mats Eklund <[hidden email]> wrote:
Hi,

I'm thinking of migrating a solution that currently uses a client-side javascript implementation of xforms onto orbeon. My solution uses javascript extension at some points to do things such as reading out instance data and transforming it with xslt (sarissa) and outputting resulting markup at some location in the document, or to modify/update instance data in the xforms model. For this I use the getInstanceDocument() and the recalculate(), revalidate(), refresh(), rebuild() functions. However, Orbeon doesn't seem to support these functions. Is this right? Does Orbeon offer any alternative mechanisms to this kind of stuff?

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: javascript integration

Mats Eklund-2
Ok,
 
Is the text on this page valid?
 

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: javascript integration
To: [hidden email]
Date: Wednesday, December 2, 2009, 3:41 AM

Mats,

The answer is yes.

It is correct that Orbeon Forms does not support these functions from JavaScript.

One reason, obviously, is the hybrid client-server architecture.

Another one is that Orbeon Forms is designed so that your stuff stays secure on the server, and transparent access to your instance data is currently not allowed.

We do have some JavaScript support though, see:

We use these functions and xxforms:script in XBL controls to provide XForms/JavaScript integration, and that has worked pretty well so far. We would like to have some slightly higher-level functions. That should come in the future.

-Erik

On Tue, Dec 1, 2009 at 2:03 PM, Mats Eklund <mats.eklund@...> wrote:
Hi,

I'm thinking of migrating a solution that currently uses a client-side javascript implementation of xforms onto orbeon. My solution uses javascript extension at some points to do things such as reading out instance data and transforming it with xslt (sarissa) and outputting resulting markup at some location in the document, or to modify/update instance data in the xforms model. For this I use the getInstanceDocument() and the recalculate(), revalidate(), refresh(), rebuild() functions. However, Orbeon doesn't seem to support these functions. Is this right? Does Orbeon offer any alternative mechanisms to this kind of stuff?

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: javascript integration

Mats Eklund-2
btw, would it not be possible to support that extension api, even with the hybrid client-server implementation? by secure, do you mean to protect potential confideniality of the instance data, or is it to secure the integrity of the instance data? my data is not confidential in any way, and I would really beneifit from the extension api.
 
Mats

--- On Wed, 12/2/09, Mats Eklund <[hidden email]> wrote:

From: Mats Eklund <[hidden email]>
Subject: [ops-users] Re: Re: javascript integration
To: [hidden email]
Date: Wednesday, December 2, 2009, 9:15 AM

Ok,
 
Is the text on this page valid?
 

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: javascript integration
To: [hidden email]
Date: Wednesday, December 2, 2009, 3:41 AM

Mats,

The answer is yes.

It is correct that Orbeon Forms does not support these functions from JavaScript.

One reason, obviously, is the hybrid client-server architecture.

Another one is that Orbeon Forms is designed so that your stuff stays secure on the server, and transparent access to your instance data is currently not allowed.

We do have some JavaScript support though, see:

We use these functions and xxforms:script in XBL controls to provide XForms/JavaScript integration, and that has worked pretty well so far. We would like to have some slightly higher-level functions. That should come in the future.

-Erik

On Tue, Dec 1, 2009 at 2:03 PM, Mats Eklund <mats.eklund@...> wrote:
Hi,

I'm thinking of migrating a solution that currently uses a client-side javascript implementation of xforms onto orbeon. My solution uses javascript extension at some points to do things such as reading out instance data and transforming it with xslt (sarissa) and outputting resulting markup at some location in the document, or to modify/update instance data in the xforms model. For this I use the getInstanceDocument() and the recalculate(), revalidate(), refresh(), rebuild() functions. However, Orbeon doesn't seem to support these functions. Is this right? Does Orbeon offer any alternative mechanisms to this kind of stuff?

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


-----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: javascript integration

Erik Bruchez
Administrator
In reply to this post by Mats Eklund-2
It is projected and has not yet been implemented. I added a note on that page to make it clearer.

-Erik

On Wed, Dec 2, 2009 at 12:15 AM, Mats Eklund <[hidden email]> wrote:
Ok,
 
Is the text on this page valid?
 

From: Erik Bruchez <[hidden email]>
Subject: [ops-users] Re: javascript integration
To: [hidden email]
Date: Wednesday, December 2, 2009, 3:41 AM


Mats,

The answer is yes.

It is correct that Orbeon Forms does not support these functions from JavaScript.

One reason, obviously, is the hybrid client-server architecture.

Another one is that Orbeon Forms is designed so that your stuff stays secure on the server, and transparent access to your instance data is currently not allowed.

We do have some JavaScript support though, see:

We use these functions and xxforms:script in XBL controls to provide XForms/JavaScript integration, and that has worked pretty well so far. We would like to have some slightly higher-level functions. That should come in the future.

-Erik

On Tue, Dec 1, 2009 at 2:03 PM, Mats Eklund <mats.eklund@...> wrote:
Hi,

I'm thinking of migrating a solution that currently uses a client-side javascript implementation of xforms onto orbeon. My solution uses javascript extension at some points to do things such as reading out instance data and transforming it with xslt (sarissa) and outputting resulting markup at some location in the document, or to modify/update instance data in the xforms model. For this I use the getInstanceDocument() and the recalculate(), revalidate(), refresh(), rebuild() functions. However, Orbeon doesn't seem to support these functions. Is this right? Does Orbeon offer any alternative mechanisms to this kind of stuff?

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




--
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