|Invoke rap application from another IFrame. [message #780534]
||Wed, 18 January 2012 13:47
| Amandeep Chahal
Registered: September 2011
I have a requirement to invoke certain operations on my RAP application from another application.
Here I want to create a rap request for that operation. This operation in my RAP application is performed by a button click, so I thought of simulating the button mouse event which would eventually create a request (Request.js does it).
2. I want some parameters to be a part of the request that would be created as a result of this mouse event. Is there a way I can pass this?
Or is there another approach I should be looking at to achieve the above?
var fireOnThis = document.getElementById('someID');
var evObj = document.createEvent('MouseEvents');
evObj.initMouseEvent( 'click', true, true, window, 1, 12, 345, 7, 220, false, false, true, false, 0, null );
Powered by FUDForum
. Page generated in 0.01792 seconds