ModalForm close action

In the modalform when I'm pressing the add button it does this:
call the on-demand process
do some verifications and:
if give some error it shows error and don't close form
if it's all ok send and close form
My problem is that it's not closing if it's all ok.
I'm doing this:
var gReturn = ajaxRequest.get();
if(gReturn)
{ alert(gReturn) }
else
{ ajaxRequest = null;
closeForm();
gReport.search('SEARCH');
But it's not closing after I press add button. Can anyone help me?

Hi,
I think you need give more information.
Start e.g. telling what is your Apex version.
Also we do not know anything about your "modal form".
Do you use some Apex or jQuery plugin?
it is good create sample about problem to apex.oracle.com so we can see it.
Regards,
Jari

Similar Messages

  • Gnome3: Cannot set laptop lid close action

    I've checked the lid closing sensor with watch /proc/acpi/button/lid/LID/state and the status changes without problems, but i can't set the lid closing action in gnome-tweak-tool or under power options. The laptop suspends only when an external monitor is not connected, i want to change it so it always suspends when the lid is closed.
    How can I fix this?
    Screenshots
    power options
    gnome-tweak-tool
    Last edited by klingt.net (2014-03-19 20:28:05)

    Seems to be a bug in gnome, gnome-tweak-tool outputs the following messages:
    INFO : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-battery-action)
    INFO : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-ac-action)
    INFO : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)
    I added the keys manually to the schema but gnome-tweak-tool show this error when i try to start it with the new keys:
    GLib-GIO-ERROR **: Settings schema 'org.gnome.settings-daemon.plugins.power' does not contain a key named 'lid-close-battery-action'
    There are more people having a similar problem.
    Last edited by klingt.net (2014-03-23 10:12:03)

  • Why "Will Close" action is not triggered?

    Hello
    I've created a simple pdf file that should show an alert box before the document is closed. But it does not work as expected, the message is not shown. 
    Why is the action not triggered? 
    ( After I added another action (before print), executed it, then the "Will Close" event is triggered when the document is being closed and the message show up. )
    the same issue reported here: adobe - close document action() level in pdf javascript - Stack Overflow
    Foxit reader triggers the action correctly.
    Thank you

    sure,
    Will Close doesn't work at all:
    js-onBeforeClose.pdf - Google Drive
    Will Close works after the document is printed:
    js-onBeforePrint-onBeforeClose.pdf - Google Drive
    Thanks

  • Change display close actions, and turn off sleep light

    I know apple doesn't like to make these things easy to change but here goes... my powerbook is in my bedroom. when I close the lid, I must put something in front of the glowing sleep light or it keeps ME awake. is there a way to disable it? or does this fall into the same category as moving the song name column out of the first position in itunes? apple has made a decision (based on who knows what input) and the end user is stuck with it...?
    while we're at it: can I change the action performed when I close the lid? lock my user account but don't put the computer to sleep, for example? leave everything as it is but just turn off the display? mute the volume? show that I'm still online but attach an away message in adium? these are all things I could do with windows (tho I would never switch back) and I'm not sure why it seems so hard to do things like this with a mac.

    Welcome to the forum.
    If you're in to tech,you can read this.
    Description and modification of the different hibernate modes
    When the computer goes into sleeping mode, its behavior depends on a power management variable called hibernate mode. The hibernate mode can be set to different values:
    * 0 : Default sleep behavior on most Apple computers. RAM is still powered on while sleeping. Wake up is fast. Safe sleep is disabled.
    * 1 : Hibernation behavior. System is totally shut down while sleeping. RAM contents are dumped to disk. Wake up is slow.
    * 3 : Default behavior on Powerbook HD computers. RAM is still powered on while sleeping. Wake up is fast. Safe sleep is enabled, so RAM contents are also dumped to disk before going to sleep.
    Only a single mode can be activated at a time. In order to check what hibernate mode is currently active, the following command can be used in the Terminal application:
    pmset -g | grep hibernatemode
    In addition, users with administrator privileges can choose the hibernate mode. In order to do so, the following command can be used:
    sudo pmset -a hibernatemode X
    with X replaced by the value of the hibernate mode to set. You will be asked to enter your admin password. It will not be echoed.

  • Close Action Wizard Pane After Running Action

    Hello,
    Is it possible to execute a few lines of JavaScript to close the action wizard pane once the action has completed running? Thanks.

    No.
    On Tue, Aug 12, 2014 at 3:32 PM, Shawnny Canuck <[email protected]>

  • Capturing a browser page close action

    Is there a way to capture a keyclick when a user clicks on the browser's close button (The X in the upper right corner), or selects file and then exit from the drop down list.
    I want to ensure the user is logged off of the application on the server side.
    I'm using uix from JDeveloper 9.0.3.3.
    Thanks Steve

    This topic is closed. The following javascript snippet seems to work:
    var iX = window.document.body.offsetWidth + window.event.clientX ;
    var iY = window.event.clientY ;
    if (iX <=30 && iY < 0 )
    // this means the user clicked the X button, do whatever you want to do here
    I did have to specifically add the
    <uix:base onunload="javascript"> tag to get this to work.

  • Closing JInternalFrame with Ctrl+F4 not using default close action

    If you have a JInternalFrame and set the default close operation to HIDE, when you close the frame with Ctrl+F4, the frame is disposed instead of hidden. Anyone know if this is the way it is suppose to work, or is this a bug?

    Assuming the above is correct:
    public void keyPressed(KeyEvent e){
    if( (e.isControlDown())&&(e.getKeyCode() == 115 ) )doDefaultCloseAction()); rykk

  • uix:body  onUnload=" not working on browser close action

    The code below used to fire when I closed the browser. Now nothing happens when I close the browser. If I go to different pages within the browser, it works fine.
    Does anyone know what I am doing wrong?
    Thanks, Steve
    <uix:body onUnload="
    var iX = window.document.body.offsetWidth - window.event.clientX ;
    var iY = window.event.clientY ;
    alert('Window Unload event');
    alert('iX = ' + iX + ' and iY = ' + iY);
    if (iX &#60;= 30 &#38;&#38; iY &#60; 0 )
    alert('Logging User Off');
    alert('User Logged Off');
    ">

    Perhaps it is a problem in UIX 2.1.11.
    In UIX:
    <contents>
      <body onLoad="javascript:addRowSelectionHandler('viewTable');" onUnload="alert('hallo');">
    <contents>In HTML:
    </head>
      <body class="OraBody" onload="return _chain('_checkLoad(event)','javascript:addRowSelectionHandler(\'viewTable\');',this,event)" onunload="return _chain('_checkUnload(event)','alert(\'hallo\');',this,event)">
    <script src="/presentation/cabo/jsLibs/MarlinCoreA3.js"></script>
      <iframe id="_pprIFrame" name="_pprIFrame" frameborder="0" src="/presentation/cabo/images/t.gif" style="position:absolute;top:-100" width="0" height="0"></iframe>Btw: addRowSelectionHandler can be ignored

  • Set the command "close" in an action to answer "no" to save changes. (CS5)

    I am using a command now which I want to at the end of the command close the new file it opened.
    I tried recording the action and clicking 'no' while recording but this is not carried over into the action.
    How can I solve this?

    If you do not want to close a document, then I am not sure why you desire a close action with status of no. Can you elaborate, as I am not understanding that.
    I would say to try using toggle dialog on/off (2nd column), but for close that is not even available. You can though remove the check in the first column.

  • [SOLVED] Laptop action ignore close lid settings

    I run gnome 3.4.2 and my laptop goes to sleep even though I set the laptop lid close action to "blank." I used gnome-tweak
    Last edited by tancrackers (2012-10-14 07:04:19)

    Are you using systemd? https://wiki.archlinux.org/index.php/Sy … th_systemd

  • How do I add a close button to an item in a NavigationPane

    We are creating tabs (commandNavigationLink) dynamically for a NavigationPane that are driving data in a set of iframes. We are using the tabs to show and hide the iframes which really works well.
    My issue is that I cannot figure out how to put a close buton on a commandNavigationLink. As this is the only component allowed in a NavigationPane I am at a standstill.
    I am starting to look at extended the ADF components to add this capability, however this does not seem trivial at this point.
    Any thoughts???

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • How do I add a close command to multiscreen layouts?

    I need to add a close command multiscreen HTML5 screen layouts that will work on multiple platforms and browsers. I have 3 screen layouts defined: Desktop, Tablet, Mobile. These are called by a responsive design web application and display based on the screen width of the platform calling the help. My problem is that there is a requirement to be able to close the help. To do this I have added the javascript code:
    </a>
           <a href="javascript:window.close()" class="wPrintButton"><img
           src="Close.png" alt="" class="wPrintButton" border="0" />
    in each of the layouts to allow the user to close the help browser tab/window.
    My Desktop layout is based on the stock desktop. I added this command Topic.slp and SearchResults.slp d just to the right of the Print icon.
    My Mobile lay out is based on the stock iPhone. I added this as an additional row in the homepage links to the Home.slp.
    My Tablet layout is based on the stock iPad. Again I added this as an additional item to the homepage links to the Home.slp.
    My problem is - it appears that the window.close() javascript will not work with iOS. Has anyone incountered a similar problem and how did you deal with it?

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • Capturing the LOG OFF url click action in a Webdynpro application

    Hi,
    I have this requirement where I need to know when the User logs off in a webdynpro application.
    I have several webdynpro applications, each independent, and each need to do some clean up tasks when the user clicks on the LOG OFF url in the portal login.
    Is there some standard event attached with the LOG OFF Url of the portal login?
    And could anybody please specify when exactly would the  <i>wdDoExit()</i> method of the application view(s) or the application component controller get's trigerred when the application is run from the portal login?
    Thanks in Advance.
    Regards,
    Swapna Priya.

    Hi Luciano,
    I was successfully able to call the RFC from wdDoExit() method of the component controller.
    Also I could successfully place a custom alert call when the user clicks on the LOGOFFurl in the portal browser.
    Now I have one more pending requirement for me to completely use this cycle of events.....The Portal Browser close action i.e., 'X' action.
    I did find a forum link with some code for the same but i did not understand where to place that code and have already raised a reply for hte same.
    Below is the link:
    /message/230174#230174 [original link is broken]
    Do you have any idea about how to trap this?
    Thanks for all your support
    Regards,
    Swapna Priya.

  • Image Processor script won't close windows

    I'm testing a client's favorite method for converting folders of, say, 1000 images from RAW to large JPEG. He now uses Photoshop in CS3: He opens File Menu > Scripts > Image Processor, designates a huge folder of RAW files, sets the right parameters, and saves to a different folder. Works perfectly (but slowly) on a Mac G5.
    Now I am testing it on a Mac Pro in PS-CS4, the setup he wants to buy, using exactly the same parameters. Trouble is, the window that opens on each document isn't closed, and so they accumulate! Doesn't matter whether Tabs is enabled or not. Starts eating up scratch space and has the potential to open 1000 tabs or windows. Something is wrong.
    Same operation works perfectly in PS-CS3 on this Mac Pro.
    If the Close Window is missing from this repeating script, then it should be added back -- or a checkbox should be added: "Close each window." I haven't been able to create an Action that will close each window without confusing the Save/Save As mechanism in the script.
    How can I report this apparent bug? Or can someone please tell me what I'm missing.
    (I know there are other ways to accomplish this task. But this one should work!)

    From Kathy: "I still can not find out your issues here. You may try report this to adobe through this link.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform"
    Thank you, Kathy! This was the tip I needed. I thought that Adobe may, indeed, be monitoring this forum. Many manufacturers monitor and post in their own forums, e.g. Apple.
    "Also one simple workaround for you, could be create a close action and run this action in Image Processor."
    I really did try this. Trouble is, you run into unresolvable interactions with a Save As dialog. I.e. the Close Action seems to interfere with the saving of the converted JPEG. At least I couldn't get it to work -- but it should not be necessary.
    There are workarounds, such as selecting multiple items in Bridge, opening them all into ACR, and then selecting them all and clicking Save File. Doesn't open any windows at all! But the bug still needs to be reported.
    From Ramon: "Before your frustration causes you to become overly argumentative, you may want to consider that your interlocutor may actually know a bit more than you seem to think she does. Kathy may even be part of the Adobe team, for all you know."
    You are reading way too much into what I said. Argumentative? I meant what I said literally. The behavior of the Image Processor script should not have any dependencies, and the documentation (such as it is) indicates none whatever. Further, the script, when run identically in CS3, runs perfectly.

  • I want ALT+F4 to close the active Tab (CTRL+W) rather than the whole window.

    Since I've bound the "Close" (ALT+F4) action to one of the auxiliary mouse buttons, when I'm in Firefox I'd like the button to close a tab instead of the whole window.
    Binding another mouse button to CTRL+W could be done, but I'd like to have only one button to the "Close" action bound in the mouse and I want it to close a single tab not all the window in Firefox.
    Thank you.

    You can use Ctrl+F4 to close the current tab. I don't think that you can change the Alt+F4 action with Keyconfig.

Maybe you are looking for

  • Your Voucher has been suspended and can no longer be used !!?

    Hi guys, I have purshased 2 vouchers for 2 Java exams it's been a while, they have both expiration date at 31-AUG-2013 , lately when I tried to apply them for my exam at PearsonVue a message appears and tells me that "the voucher is SUSPENDED and can

  • Sorting Albums in Grid View

    This must be a simple fix, but for the life of me I can't figure it out. I just entered George Michael's CD, Faith into a new playlist. The playlist is set to sort albums by TITLE and then ARTIST. No matter what I do, this particular album will not g

  • Descending order for arrays by name

    Hi, thank you to all the people who previously helped me before.... Is there a way to sort an array in decending order by name? I was trying to figure out what to do but this is what i have so far double [] Salary = new double [10]; String [] Names =

  • User defined G/L Account cannot view in Balance Sheet

    Hi, i have created one User defined G/L Account in Assets and also assign opening balance to it. But at a time during balance sheet view, user defined G/L Account cannot see.. How can i see this User Defined G/L Account in balance sheet.... Plz...Vie

  • The Case of the Missing Podcast

    I just bought an iPod Touch a few days ago. I installed the 2.0 software, and I've figured out how to manually synch and all that, and I've been listening to podcasts and music and watching videos with little problem. However, yesterday I downloaded