Dialog inside BAPI_GOODSMVT_CREATE

Dear Friends,
                      We came across a situation where a material document should be posted at the end of Transfer Order Confirmation. we used a User Exit: EXIT_SAPLL03T_002. this user exit is called in update task. we are calling BAPI_GOODSMVT_CREATE inside the user exit to post a Goods movement. the issue here is, while we are trying to confirm the TO, this BAPI is trying to throw a popup window which is not allowed inside update task(coming from QM lot creation). this ends up in dump. my question is if BAPIs are intended to call from outside, there should not be a direct popup in any way.
any idea how to overcome this situation ?
with Regards,
Sudhahar R

Thanks Ankur,
                       if I call it in the background task, I'll not be able to get the Material document number which is created or any other export parameters/Return table.
regds,
Sudhahar R

Similar Messages

  • Show a dialog inside touchup event

    Hi, I  display a dialog when touching the button.
    the problem is the touch event wouldn't  work when I first touch the buttons inside the dialog.
    but if I use mouse to click my buttons, it works fine!
    Here is my project
    https://github.com/qucc/ShowDialogInTouchUpEvent . the exe is inside the debug/bin directory.

    Hi quleo,
    The touch events which wasn't handle is translated into a mouse event.
    Probably, this translation process will be incomplete caused by show dialog.
    private void Button_TouchUp(object sender, TouchEventArgs e)
    Action act = () =>
    var dialog = new MyDialog();
    var result = dialog.ShowDialog();
    lable.Text = result.Value ? "1" : "2";
    this.Dispatcher.BeginInvoke(act, null);
    個別に明示されていない限りgekkaがフォーラムに投稿したコードにはフォーラム使用条件に基づき「MICROSOFT LIMITED PUBLIC LICENSE」が適用されます。(かなり自由に使ってOK!)

  • JSF problem Session Scoped and dialog

    Hello All! i have one problem with using ajax and session scoped .
    I'm using JSF 2.0 and Primefaces for build 2 dialog.
    I have one icon to click on it dialog 1 will display and show all list of customers and when i click details of customer on dialog 1, dialog 2 will display , and details of customer show base on <h:form>
    but my problem is when i click details of customer with id #1 it not show details of customer it return null, i must refresh this page and click on customer #1 and it display, but when i click on customer with id #3 it still display customer with id #1,and i must refresh page again to view customer with id #3 and after that if i want see details of other customer such as customer with id #5 i must click and refresh page, after refresh page i click on any id of customer if always show the last id of customer before refresh page, it mean because i use p:commandButton with ajax and 2 dialog inside one page, i know , if using session scoped i must pass value from one page to another page. But i want get id in the same page with session scoped this mean when i use p:commandButton call dialog 2 for pass id value from dialog one to dialog two it will get value don't refresh page . How can i do it? or can i call dialog from another show on the same page contain dialog 1?
    Primefaces dialog http://www.primefaces.org/showcase/ui/dialogHome.jsf

    Hello All! i have one problem with using ajax and session scoped .
    I'm using JSF 2.0 and Primefaces for build 2 dialog.
    I have one icon to click on it dialog 1 will display and show all list of customers and when i click details of customer on dialog 1, dialog 2 will display , and details of customer show base on <h:form>
    but my problem is when i click details of customer with id #1 it not show details of customer it return null, i must refresh this page and click on customer #1 and it display, but when i click on customer with id #3 it still display customer with id #1,and i must refresh page again to view customer with id #3 and after that if i want see details of other customer such as customer with id #5 i must click and refresh page, after refresh page i click on any id of customer if always show the last id of customer before refresh page, it mean because i use p:commandButton with ajax and 2 dialog inside one page, i know , if using session scoped i must pass value from one page to another page. But i want get id in the same page with session scoped this mean when i use p:commandButton call dialog 2 for pass id value from dialog one to dialog two it will get value don't refresh page . How can i do it? or can i call dialog from another show on the same page contain dialog 1?
    Primefaces dialog http://www.primefaces.org/showcase/ui/dialogHome.jsf

  • When we create JDialog inside Thread's run() method it is creating problem

    I have application that has feature that mainframe will be locked after three minutes and the time when it is locked it will show other locked dialog.
    Now my problem is given below:
    I have created one Dialog inside Threads run() method and this thread will execute when mainframe is locked.So what is happening is when mainframe is locked internally Thread is doing its job (its job is to display one dialog) and it is displaying dialog but mainframe is locked and still it is showing that dialog.This should not happen in our application when mainframe is locked nothing should come outside.
    simple code sample is given below:
    SwingUtilities.invokeLater(new Runnable()
    JDailog dlg = new JDialog();
    dlg.pack();
    dlg.show();
    Now when my applications mainframe is locked and thread is doing its job when mainframe is locked and it will show one dialog when its run() method will execute and it showing dialog even though mainframe is locked.This is major issue for me.please help me.
    sample code may contain compile errror but this only to give understanding what i am doing actually i cant show my original code.
    But show me some work around for this problem.Why dialog is coming outside when mainframe is locked?
    Please help me.I cant use delay inside run() method because of performance.
    Is there any way to control this behaviour?

    public class BackGroundThread extends javax.swing.JFrame implements BackgroundTaskInf {
        boolean isMainWindowActive = false;
        /** Creates new form BackGroundThread */
        public BackGroundThread() {
            initComponents();
            new DBBackgroudProcess(this).start();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jDialog1 = new javax.swing.JDialog();
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jButton1 = new javax.swing.JButton();
            jLabel1.setText("JOB DONE");
            javax.swing.GroupLayout jDialog1Layout = new javax.swing.GroupLayout(jDialog1.getContentPane());
            jDialog1.getContentPane().setLayout(jDialog1Layout);
            jDialog1Layout.setHorizontalGroup(
                jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jDialog1Layout.createSequentialGroup()
                    .addGap(95, 95, 95)
                    .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(240, Short.MAX_VALUE))
            jDialog1Layout.setVerticalGroup(
                jDialog1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jDialog1Layout.createSequentialGroup()
                    .addGap(22, 22, 22)
                    .addComponent(jLabel1)
                    .addContainerGap(22, Short.MAX_VALUE))
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jLabel2.setText("Background work in progess");
            jButton1.setText("unlock");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(56, 56, 56)
                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 218, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(126, Short.MAX_VALUE))
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(263, Short.MAX_VALUE)
                    .addComponent(jButton1)
                    .addGap(74, 74, 74))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGap(40, 40, 40)
                    .addComponent(jLabel2)
                    .addGap(37, 37, 37)
                    .addComponent(jButton1)
                    .addContainerGap(43, Short.MAX_VALUE))
            pack();
        }// </editor-fold>                       
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            isMainWindowActive = true;
            backgroundTaskFinished();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new BackGroundThread().setVisible(true);
        public void backgroundTaskFinished(){
            if(isMainWindowActive) {
                jDialog1.setSize(200,200);
                jDialog1.setVisible(true);
                jLabel2.setText("Task is finished");
        // Variables declaration - do not modify                    
        private javax.swing.JButton jButton1;
        private javax.swing.JDialog jDialog1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        // End of variables declaration                  
    class DBBackgroudProcess extends Thread {
        BackgroundTaskInf infObj;
        public DBBackgroudProcess(BackgroundTaskInf infObj){
            this.infObj = infObj;
        public void run(){
            try{
                // here you can do your backgroudn task
                System.out.println("In BackGroud task");
                Thread.sleep(1000);
                System.out.println("task completed");
                infObj.backgroundTaskFinished();
            }catch(Exception e){
                e.printStackTrace();
    interface BackgroundTaskInf{
        public void backgroundTaskFinished();
    }

  • ADF 11g: Change Text Value within af:dialog

    Any guidance much appreciated: I'm new to ADF 11g and java scripting...
    I have a popup containing a dialog inside my af:document. I want to be able to dynamically change the text message being displayed inside the dialog at runtime prior to showing the popup. I have added an af:panelGroupLayout inside the dialog component, with an af:outputText component inside that.
    <af:popup id="nexusAlertPopup">
    <af:dialog id="nexusAlert"
    inlineStyle="vertical-align:top; text-align:left; font-size:small;"
    type="ok" closeIconVisible="false" title="Change Me"
    affirmativeTextAndAccessKey="Continue">
    <af:panelGroupLayout id="nexusAlertPanelGroup">
    <af:outputText id="nexusAlertText"/>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    When I look at the ADF javascript API, I cannot find a set method to change the value of the outputText in my JS Function. Can you use a normal setAttribute method on any ADF object?
    Regards,
    Mario

    Branislav Nemec wrote:
    Is there a particular reason you need to change the title in JS function?Thanks for your reply Branislav.
    To make a short story long: I am trying to create a dynamic popup dialog on an ADF page template. We have Oracle Form Modules which are being clipped inside this center panel of the pages using this template and the communication between the ADF application and our Forms application happens through JS on the client. What I need to do is on the Forms side, override all forms alerts with a call to a JS Function which would popup a synchronous ADF dialog and return the result back to Forms in a Global variable. So the text of the alert needs to be dynamically passed through and this needs to preferably happen on the client side without a roundtrip to the ADF server. If it is possible. Also, it is not the TITLE I am concerned about as there is a setTitle() method in the AdfRichDialog class.
    Hope this sheds some light on the issue...

  • Close Popup on clicking OK button of Information Message Dialog

    JDev 11.1.1.5.0 ADF BC
    I have a popup and a dialog inside it where user inputs some data and clicks Save button.
    I am showing an Information message on click of Save on successful insertion of data into the database.
    What I am looking to achieve is that I want to close the popup window on click of the OK button which is inside the information message dialog that is been shown on successful Saving of data.
    There is already a similar thread Close popup in adf but that doesn't have a correct answer.

    1) Bind the main popup to a bean variable:
    <af:popup id="mainPopup" binding="#{MyBean.myPopup}" ...>
    public class MyBean
      private RichPopup myPopup;
    }2) Add a DialogListener to the <af:dialog> of the information message:
    <af:popup id="infoPopup">
      <af:dialog dialogListener="#{MyBean.infoPopupDialogListener}">
        ... Info message here ...
      </af:dialog>
    </af:popup>3) Use this DialogListener to close the main popup programatically:
      public void infoPopupDialogListener(DialogEvent dialogEvent) {
        myPopup.hide();
    }Dimitar

  • Run-as-dialog

    Hi,
    I am launching a jspx page using run-as-dialog. Page is displayed in a dialog. But now I want to be able to close this dialog using escape key. This does not seem to work.
    If I use a normal pop-up and use dialog inside it, escape key works for closing the dialog.
    This is a known issue? any work-around for this?
    Thanks,
    Suma

    Michael, thx for the response.
    When i launch a page using pop-up(af:pupup), pressing on escape dismisses the pop-up. Similarly, shoudn't it be same for the above case? The only difference here is that the page is launched using "run-as-dialog" of taskflow. Even in this case clicking on "Close" (X) works fine. Escape should be similar to this. Your solution requires a server call. Any way to avoid the server call?
    Thx,
    Suma

  • Why doesn't this simple applescript work any more in ML mail.app (as a rule)

    It works only when you right click on the mail message and choose "run rules", but not on incoming messages (without interaction).
    The first dialog is shown both when incoming or running manually, but the second dialog (with the id) is only shown when running manually. Nothing is shown in console.log
    Any ideas?
    using terms from application "Mail"
        on perform mail action with messages theMessages for rule theRule
            tell application "Mail"
                repeat with theMessage in theMessages
                    display dialog "inside"
                    set theId to id of theMessage
                    display dialog "the id is " & theId
                end repeat
            end tell
        end perform mail action with messages
    end using terms from

    Might it be that any incoming message doesn't have an ID yet ?
    Try this:
    using terms from application "Mail"
        on perform mail action with messages theMessages for rule theRule
            tell application "Mail"
                repeat with theMessage in theMessages
                    display dialog "inside"
                    set theTest to (exists id of theMessage)
                    display dialog theTest
                end repeat
            end tell
        end perform mail action with messages
    end using terms from

  • How to open a configurat​ion file with a relative path?

    I want to open a configuration file during the initialization of my application (first "state," u can say) and I am using "Open Config file.vi" and tried to pass the config file's path as "data\myconfig.ini" and the "File exists?" vi didn't give any error (simply, the output was "false") but the Open config File gave an error.
    If I pass an absolute path "D:\xyz\xyz\myconfig.ini" it works fine. Isn't it allowed to use "relative path" as I remember using it before for other tasks?
    I actually prefer to have this file in the "data" folder that my application's setup will create in the destination directory while installing the application, because it will be easy when I want to ask the user to open and edit it. Or, I would just put it in "C:\" which exists on all the windows computers, but then it would be too much open.
    Thanks ahead!
    Vaibhav
    Solved!
    Go to Solution.

    Relative paths have sometimes a meaning for command line tools (where a relative path gets appended to the current path, which usually is the executables directory).
    But for Windows GUI applications that makes not much sense. Windows also maintains a per process current path, but that path gets updated by several Windows APIs, one of them being the File Dialog. So whatever your user has last selected in any file dialog inside your application will from then on be the applciations current path. It should be clear that with such a braindamaged current path implementation it has basically no useful meaning, and LabVIEW consequently does not do path expansion, where relative paths are expanded by prepending them with the applications current path.
    Also LabVIEW uses mostly the Windows 32 Bit API, which does provide the current path implementation but does almost not use it in any of its file operations. The use of that feature is mostly reserved for the Windows shell API, which is a higher level API that can as best be described as a collection of various APIs that have been thrown together by whatever some MS developer felt at the moment. You can not by any means call it a designed API at all, and LabVIEW makes almost no use of it, as it needs lower level access, to make its operation similar in its working across all the platforms, LabVIEW can run on.
    So while you can work with relative paths inside your application (and actually should as much as possible to make your application not depend on a particular location) you should make that path absolute whenever you pass it to a function that actually accesses a file somewhere.
    Rolf Kalbermatter
    Message Edited by rolfk on 09-08-2009 11:31 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Creative Cloud desktop application does not load properly under Windows 8.1

    I'm having a very strange problem with the CC tool too.
    When I open it I just see an empty box with a smaller dialog inside it showing the icon. It won't close and I can't interact with any of the windows. The only way to get rid of it is to kill it via task manager. I've tried the "rename opm.db file" hack and this makes the CC app ask for my Adobe credentials as though its going to work, but then ends up showing the same thing. I've attached a screengrab of what's happening. Windows 8.1 FWIW.

    Branching this to a new discussion.
    NPotter.UK please make sure you are using version 1.2.1.260 or later of the Creative Cloud desktop application.  You can find more details at Creative Cloud desktop missing text | Windows 8.1 - http://helpx.adobe.com/creative-cloud/kb/creative-cloud-desktop-missing-text.html.

  • Camera Raw 5.4 beta plug-in error with Hasselblad H3D-39

    Whenever I open a .3FR file taken with my Hasselblad H3D-39 in Adobe Camera Raw 5.4 Beta I get
    "Error. Unable to read the ful size image. There was an unknown error"
    and a white exclamation mark inside a red octagon shows at the top right corner of the image.
    Any idea why and what the implications are?
    Thanks,
    Antonio

    Hi Antonio,
    Two questions...
    1. Are you sure you are using the dialog inside 64-bit Photoshop, or is it possible that you are using the Bridge-hosted Camera Raw dialog to open the files? To check this, verify which application is the current, active, application in the Windows tool bar while the Camera Raw dialog is up (you may have to exit full-screen mode to see it).
    2. Can you open the file if you quit and re-launch Photoshop/Bridge then attempt to re-open the file, does the error still occur?
    Thanks,
    David

  • Script running in the background and buffer overflow

    Hi,
    I have written a script that is supposed to be a background process, which will check every 5 minutes if given person is logged in on Skype.
    The script does it basic job (alters me when given person is on Skype) but when I try to quit it (see code below, first display dialog inside on idle handler) it does not quit. Instead it displays "buffer overflow" or "stack overflow" error message (I am not certain how to exactly translate the error message - it is not in English as I am not running MacOS X in English). Also on rare occasions it displays another error message about terminated connection.
    Any advise about how get rid of these errors would be greatly appreciated.
    I have saved the script as an application and I have added to Contents/info.plist the following:
    Application is agent (UIElement) = true
    Here is the applet code:
    global interval
    global _path
    on run
    set _path to POSIX path of (alias ((path to me as text) & "Contents:Resources:sound.aif"))
    set interval to 300
    end run
    on idle
    tell application "System Events"
    set _run to (name of processes) contains "Skype"
    end tell
    if _run = true then
    tell application "Skype"
    set _Calls to send command "SEARCH ACTIVECALLS" script name "cal"
    end tell
    if _Calls = "CALLS" then
    tell application "Skype"
    set Lstat to send command "GET USER " & "user_nickname" & " ONLINESTATUS" script name "stats"
    set AppleScript's text item delimiters to " "
    set status to text item 4 of Lstat
    if status is "OFFLINE" then
    --do nothing
    else
    do shell script "afplay " & _path
    tell me
    activate
    display dialog "user_nickname is on Skypie" buttons {"OK", "Change interval", "Quit"} default button 1 giving up after 60 with icon note with title "Skype check"
    if button returned of the result is "Quit" then
    quit
    else if button returned of the result is "Change interval" then
    display dialog "Enter new interval in minutes:" buttons {"OK"} default button 1 default answer "5" with title "Skype check"
    set interval to ((text returned of the result as number) * 60)
    end if
    end tell
    end if
    end tell
    else
    -- do nothing
    end if
    else
    -- do nothing
    end if
    return (interval as number)
    end idle
    on quit
    quit
    end quit

    Delete the following code:
    on quit
    quit
    end quit
    The purpose of the 'on quit' handler is so additional instructions can be executed when the script is told to quit. If desired, 'continue quit' can be part of the handler to call the normal quit command; without the 'continue', the script just repeats the handler over and over with no exit, which causes the overflow.
    (53695)

  • Export time lapse for Premiere

    (I'm a switcher from Final Cut Pro to AE/PrPRo, normally I would assemble timelapses in QT 7 pro as Prores then import and edit/"pan" in FCP.)
    I have shot a bunch of timelapses as jpegs.  I gather that I want to assemble the image sequence in After Effects and then export a video from AE to be imported into Premiere. 
    Qs:
    How would I assemble the timelapses in AE?
    How do I save them out of AE for use in Premiere?   (format, settings, etc..)
    I want the native resolution of the 18 megapixel image which is approx 5200x3500 px, not scaled down to 1080p, can Premiere work with that resolution?
    Thanks for your time.

    Rick Gerard wrote:
    There's no need to convert an image sequence to ProRez. Image sequences load just fine in After Effects, Premiere Pro, or Final Cut.
    Your best option would be to do a batch resize in Photoshop to something close to the final size the un-cropped image will be in your project.
    The reason for downsizing the images is to improve the look and to speed up rendering. AE and Premiere can easily handle the full resolution images but neither will do as good a job as a nicely written action in Photoshop.
    Check the preferences and see what frame rate your APP assigns as a default to image sequences. In AE it's 30. If you're project is something else (23.976 for example) then either change the setting in the preferences or change the file interpolation after the image sequence is imported.
    Thanks for your reply Rick.
    I was thinking that just importing the jpegs as an image sequence would be more taxing on the computer than "baking" them down to a video file, even though that video file would be 5200x3500px. 
    Ideally, I would like to retain all the resolution of the images so I have more options in Premiere for doing pans/zooms.  If I do want to convert to a video file, what format would be appropriate? 
    Is there a way I could use Adobe Camera RAW in conjunction with After Effects to export a graded, full resolution video file of my image sequence for Premiere?
    If I use your workflow, could I bypass the Photoshop batch resize step and just import the image sequence into Premiere?  Is there an Interpret Footage dialog inside Premiere like in AE for me to set framerate to 23.976?
    Thanks again.

  • How do I catch cancel dialogEvent from a popup?

    Guys and Gals,
    I was wondering about this myself and after doing a little googling and forum spelunking, thought I'd share what I came up with.
    Setup:
    <ol>Edit dialog inside of a popup. PopupCanceledListener and DialogListener defined</ol>
    Requirement:
    <ol>Need to catch cancel event to perform operation, most often a rollback</ol>
    Issues:
    <ol>By default, it does not appear that the "cancel" event triggers the dialog's dialogEventListener. Changing the dialog to yes/no has its own problems and so does inserting your own af:commandButtons. (TP4: ok/cancel dialogEvent - how to undo work?
    Proposed Solution:
    <ol>Record the state of the last dialog's event in a string. Compare that string's state to your PopupCanceledListener to perform an operation.</ol>
      private String dialog = "cancel";
      public void partDialogListener(DialogEvent dialogEvent)
        BindingContainer bindings = getBindings();
        if (dialogEvent.getOutcome().name().equals("ok"))
          dialog = "ok";
      public void onPartPopupCancelListener(PopupCanceledEvent popupCanceledEvent)
        if (dialog.equals("cancel"))
           // perform cancel operations
        dialog = "cancel";
      }Hope it helps someone out.

    Hi,
    the popup has a client side (JavaScript) cancel event
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_popup.html
    Maybe this is a better option than setting a flag
    Frank

  • How to close a popup using a function key in adf + Jquery

    Hello All,
    I want to display some error message using function key so I have used javascript function
    *function showText(event) {*
    var k = event.getKeyCode();
    *if (k == 115) {*
    ------------------------------------------CODE-------------------------------------------
    This is working fine on click of F4 it is invoking a popup and inside that popup in dialog it is showing some error messages. The property modal of dialog is true. So that user should not be able to navigate to main form until error message is closed.
    Now on click of F6 I want that error message to be closed. When I added af:clientListener on popup or dialog type="keyDown" is not available.
    So I thought using jquery for this. I have created a form.js file inside that I have written:
    *$(function first()*
    *               jQuery('*').bind('keydown', 'F6', function (evt){closePopup();evt.stopPropagation();return false;});*
    *function closePopup(){*
    *     alert("Do you want to close the error message");*
    I have also added jquery.hotkeys.js and jquery-latest.js file.
    My question here is How can i find that popup or dialog inside that jquery function and close it?
    On click of F6 I am getting that alert Do you want to close the error message but after that how can I find the popup or dialog and close it?
    I am new to jquery still I tried using some code:
    var dialog = event.getSource();
    var popup = dialog.findComponent("p1");
    popup.close();
    and
    var output1 = AdfUIComponent.findComponent("p1");
    output1.close();
    and
    curElm = document.activeElement;
    var frm = curElm.close();
    But none of them worked.
    Please help
    Thanks

    Hi,
    this whitepaper: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf has an example of registering keyboard keys on a global level (see page 36). So you would define a key to close dialogs in general. The paper also explains how to search and find components. Note that you should always work with the ADF Faces client side API and never against the generated markup or DOM (which in fact your code does)
    Frank

Maybe you are looking for

  • Why can't I get my ipod touch to slide all the way to the right to unlock

    ok so im having issues with my ipod and it wont completely slide to the right for me to unlock it it was "sticking" like this before I updated to the new software bt now its just not sliding to the right for me please help with the solution as it wou

  • How can we download the latest management pack : microsoft.systemcenter.webapplication.library.mp?

    I try to search the whole internet but still unable to find this mp file: microsoft.systemcenter.webapplication.library.mp, I use 2007R2 and import a new MP which need higher version webapplication.library.mp, does it only exist in SCOM2012 installat

  • How to use "put" function in Java.util.Map class

    intially an entry for key is null in a Map. then if I try to do put function on the map with the same key which had a null value previously It doesn't allow me to put the new value for the Key. Can anyone pleasee suggest as to how I can put a value o

  • Printing address in chinese

    Hi I have a requirement to print address in chinese(ZH language). currently we need to write down the Chinese address manually on envelop if mailing address is in China. we would like to have the logic for the output. if there is Chinese name/address

  • Icalendar access

    At work, I authorized a macbook to have access to my icalendar. Now I am on maternity leave, and want to deauthorize that computer, and make it so my calendar is no longer shared. I went into "authorize accounts" but that macbook is not listed as an