Close event

i have web page with an apple that opens up and RDP application....i want that on close of that RDP application my web page should be notified about its closing......can anyone help me out.........
thanks

Hi
Thank you for ur reply
Now I have another doubt
Does applets support odbc connectivity in connecting to a database ?

Similar Messages

  • How To Get The CLOSE Event In a JSP File?

    Hello everybody,
    Right now I am working in a JSP project which is about access log, when the users start , oprate, or close the system, the access log system works. I am in trouble in that when the users close the system, how can I get the close event?
    The JSP file contains the following fields :
    Close Window
    How to add code to get the CLOSE Event and submit to the service?
    And If I hit the "Close Button"(on the right-top of the window), how can I get the CLOSE event, too?
    Can anyone tell me?

    1. Add a hidden field:
    <input type="hidden" id="status" value="">2. modify <a href="index.jsp" onclick ="parent.window.close( );">Close Window</a> with <a href="index.jsp" onclick ="closefn();">Close Window</a>3. Add a javascript
    <script language="javascript">function closefn(){
    document.getElementById('status').value="close";
    document.form.action="";
    document.form.method="post";
    document.form.submit();
    parent.window.close( );
    }4. Now on the action page get the value of status by request.getParameter("status"); and log it.

  • I've subscription "oracle.apps.wf.notification.close" event ,but not work!

    Hi,
    I've subscription "oracle.apps.wf.notification.close" event,but when notification close my codes don't still work and have no exception come out !
    I've try my codes by subscription "oracle.apps.wf.notification.send" event , and when notification send it can work ! I'm sure that there have no different between the subscription "oracle.apps.wf.notification.close" and the subscription "oracle.apps.wf.notification.close" in the subscription step .
    Doesn't when notification closing raise the "oracle.apps.wf.notification.close" event?
    I need your help!
    Best regard!
    Your friend, yao!

    Please do not create duplicate posts across the forums -- What event is fired when notification close ?

  • [svn:cairngorm3:] 16810: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16810
    Revision: 16810
    Author:   [email protected]
    Date:     2010-07-03 03:32:49 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • [svn:cairngorm3:] 16809: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16809
    Revision: 16809
    Author:   [email protected]
    Date:     2010-07-03 03:05:21 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • [svn:cairngorm3:] 16808: Changed close event from flash.events.Event. CLOSE to mx.events.CloseEvent.CLOSE.

    Revision: 16808
    Revision: 16808
    Author:   [email protected]
    Date:     2010-07-03 03:04:40 -0700 (Sat, 03 Jul 2010)
    Log Message:
    Changed close event from flash.events.Event.CLOSE to mx.events.CloseEvent.CLOSE. See MXML examples in PopupTest.
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
        cairngorm3/trunk/libraries/PopupTest/.flexProperties
        cairngorm3/trunk/libraries/PopupTest/src/PopUpMXMLExample.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/MyPopup.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/ZoomAndFadePopUpBehavior.mxml
        cairngorm3/trunk/libraries/PopupTest/src/samples/parsley/ParsleyPopup.mxml
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/src/samples/ModulePopups.mxml

    Hmmm Strange!!!
    Seems like a bug which requires target for parallel effect while hide only but does not set it.
    For the time being you can remove the sequence effect as there is no othe effect other than parallel and use effect like
             <mx:Parallel id="fadeOutTw">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>
    or you can also set target explicitly like :
    <mx:Sequence id="fadeOutTW" >
            <mx:Parallel target="{largeImgTW}">
                <mx:Fade alphaFrom="1.0" alphaTo="0.0" duration="1000"/>
                <mx:WipeUp duration="1000" />       
            </mx:Parallel>   
        </mx:Sequence>
    I have tested on this code, and works fine. Hope this helps you
    -Vikash

  • Can't find an application close event.

    I have a script that runs on the document close event.  It looks like the document close event doesn't fire when the application is closed while a document is open. I checked for an application close event in the Script listener log, but there wasn't an entry for it, and the document close event wasn't present either.
    The script I'm making writes a file in the same folder as the opened document that indicates that the file is in use. Then when the document is closed, the lock file is removed.  It works except when you close the application.  There is no document closed event firing, so the documents just close and the application shuts down without any events firing.
    Is there a way know when the application is closing?
    I found a possible work around that would be a huge pain.  The idea is about loading a custom external library that performs cleanup when it is automatically unloaded when Photoshop closes.  This is the prototype for the function that would do the work:
    void ESTerminate (void );
    There is another work around that invloves some button that the user has to remember to click to close the application. That would be awkward and open to user error.
    I just want the document closed event to fire before the application closes. Thanks for you help!

    That's too bad.  I don't feel like getting a whole build environment setup for CS just so I can get a pre-close event in Photoshop.  I implemented a script that the user will run in order to close photoshop. I saved a shortcut to the script in "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Presets\Scripts".  The script closes each document and runs my event handler. Then it exits. Check it out, it seems to work:
    #target photoshop
    //user will run this script instead of hitting exit button
    var MLAB_CUSTOM = new Folder($.getenv('MLAB_CUSTOM')).absoluteURI
    var docs = app.documents
    for(var i = docs.length-1; i >= 0; i--)
    docs[i].close()
    $.evalFile(MLAB_CUSTOM+"/Ps-FileLock/PsLock-OnDocClose.jsx")
    photoshop.quit();

  • Item close event is triggering twice for Advanced Data Grid

    HI, I'm using AdvancedDataGrid for my project. My issue is when click on item close, the item close event is triggering twice. Why it is triggering twice? Thank you...

    Hi,
    Would you mind reposting your question over on the Flex forums?  You'll most likely have better luck over there.
    Thanks,
    Chris

  • Call Webservice/API during browser close event

    Hello,
    I am using JDEV 11g. My application catches the browser close event to call a return Task Flow.
    I am wondering if its possible to call a webservice/API during the same event.
    Thanks
    Padmapriya

    Probababy too late to ask .. did u manage to get this resolved.
    I am not able to call any server Listeners during browser close event ...
    Details here -Re: Calling an ActionListener on browser window close using JS event queuing

  • Problems with close event scripts and closing Photoshop

    Hi!
    We are having problems with close event scripts ("Cls ") when closing/quitting Photoshop.
    The close event scripts are working without problem when closing an image. But when quitting Photoshop without having closed all images we are observing the following behaviour:
    with CS2 the close event scripts are not triggered at all
    with CS4  the close event scripts are triggered and executed correctly. But after that the Photshop process freezes. No visible GUI, you have to kill the process with the task manager.
    I can reproduce this behaviour even with a small script consisting of a single alert('hello') and even an empty script. Is this an known bug or am I doing something wrong?
    Thanks for your help!
      Eric

    Check your energy saver settings under system preferences. That is where you set sleep setting.

  • Close Event in Photoshop CS3

    Any scripts associated with the Close event in the Script Events Manager execute after the close is completed; any references to activeDocument are therefore either null or point to the next open document. Is there a way to execute a script between the time the user initiates the close event and the time that the document actually closes?

    [email protected] wrote:
    > Is there a way to execute a script between the time the user initiates the close event and the time that the document actually closes?
    No. It would be very nice and very very useful, though.
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Handling Mac Close events

    I'm having an issue handling the various close event when running my application on a Mac. (all fine on Windows)
    When loading the page I execute this statement:
    window.nativeWindow.addEventListener(air.Event.CLOSING, MainWindow_OnClosing);
    The code to handle this event is as follows:
    var MainWindow_OnClosing = function(event){
            event.preventDefault();
            window.nativeWindow.visible = false;
    I need this handler so that the application returns to the Doc when hitting the standard Chrome close button.
    The problem I have is that this event also fires when a user hits the Command-Q comment (and also when the user shuts down the mac). This prevent the application from closing which is not what I want to do. The only way to close the application seems to be the ForceQuit command.
    Does anyone know of a way to distinguish between the close event from the Chrome close button and the close event from the Command-Quit or shutdown event?

    Yeh, thing is these are just data object, not anything graphical... but i want my graphical components to update when their data is changed.
    Ive actually just now re-organised it a bit, ive set up each data object to have its own listeners, where as before i had the gui component had listeners...
    Is there anything in the java api that i could extend to include listeners? otherwise ill just make one...

  • On close event

    how to invalidate managed bean scope sesion at user close/leave her browser. it's need on close event or can be done with simple action

    With Firefox I am often experiencing that PopUps do not close at all on CRM 2007. It probably is a bug in the JavaScript framework. Or you set Firefox to pose as an IE and it is requesting the wrong javascript includes. Maybe you can have a look in the browser which libraries are currently loaded (->Firebug).
    Afaik Firefox is supported for CRM, with numerous exclusions of single components. Mostly all the ActiveX stuff.
    cheers Carsten

  • Does PopUpManager "close" event remove PopUp from memory?

    I'm using a lot of popup windows (in addition to tooltips) in an application.  Does the PopUpManager's close event remove the popup from memory?  If not, I'd like to find out how this could be done.
    Thanks.

    on close, you need to call PopupManager.removePopup(this) here this is the popup. and make sure that this popup does not have any strong references/event handlers listening to custom events /events

  • Close event Illustrator

    I have finally had enough of being told by Adobe Developer support that the close event issue for Illustrator CS5, CS5.5 and CS6 for panels and modeless dialogs is broken and won't be fixed and I have been waiting for weeks for a possible workaround that doesn't seem to be forthcoming. So no I am looking to see if any other developers have managed to find a workaround for this. It seems that in CS6 the problem is worse because the hidden property is also not being updated either so the timer solution that has been given previously on this forum won't work either. Moving to CC for the customer with several thousand CS6 users is not going to be an option unfortunately at the moment..

    Thanks, but I did a search in all forums but nothing could help me.
    It could be an Adobe restriction then?
    Thanks

  • Close event on stratus Netconnection

    Hi everyone,
    Can close event get's fired of it's own on stratus netconnection suddenly when everyone is connected on p2p? I got this scenario occured twice in my application when everyone in session were connected to p2p.
    What all can be the possible reason for close event? Can this be created locally for testing so that damage control code can be put in appropriate place?
    Thanks,
    Vivek.

    Thanks for the help, but that doesn't do it. I had something similar to that pulled directly from Sun's website, and it didn't work either way. thoughts?
    here's the code:
    public static void main(String args[]) throws Exception{
              WindowListener close_window = new WindowAdapter()
                   public void windowClosing(WindowEvent e)
                        System.out.println("Hello, Dave");          }
              System.out.println("Starting DataConverter...");
              final DataConverter mainFrame = new DataConverter();
              mainFrame.setupFiles();
              mainFrame.setSize(400, 600);
              mainFrame.setTitle("DataConverter");
              mainFrame.setVisible(true);
              mainFrame.addWindowListener(close_window);
    in theory, this should print out "Hello Dave" upon closing, but it does no such thing. Gooftacular.
    Using Java 1.3.1_01, btw.
    thanks
    Calvin

Maybe you are looking for