calling an XPL from a javascript function

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

calling an XPL from a javascript function

Dishant Gupta

Hi All,

Can somebody please suggest a way to call an XPL from a javascript function.

Also how to perform multiple actions on an event?


Regards,


Dishant


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


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

Re: calling an XPL from a javascript function

Mathias Picker
Am Montag, den 17.04.2006, 13:03 +0530 schrieb Dishant Gupta:
>
> Hi All,
>
> Can somebody please suggest a way to call an XPL from a javascript
> function.
> [snip]

If you mean Javascript in the browser, why not just put the xpl in
page-flow.xml and call the respective url? Like alle the nice ajax libs
do, like e.g.
http://weblogs.macromedia.com/mesh/archives/2006/01/encapsulating_a.cfm
describes?

Cheers, Matias





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

RE: calling an XPL from a javascript function

Ryan Puddephatt
In reply to this post by Dishant Gupta

Dishant,

            If you are using xforms to do the call use an

<xforms:submission ref=”instance(‘someInstanceId’)” id=”someId” action=”/some/uri/to/xpl” method=”post” replace=”instance” instance=”someInstanceId”>

 

This uses Orbeons javascript to do the call.

 

In regards to doing multiple things on an event just do

 

<xforms:action ev:event=”eventName”>

            …Event stuff

</xforms:action>

 

Hope this helps

 

Ryan

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Dishant Gupta [mailto:[hidden email]]
Sent: 17 April 2006 08:33
To: [hidden email]
Subject: [ops-users] calling an XPL from a javascript function

 


Hi All,

Can somebody please suggest a way to call an XPL from a javascript function.

Also how to perform multiple actions on an event?


Regards,


Dishant


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



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