Enforcing commit when switching between windows

Today our OracleForms application is built using the call_form built-in. The end user can navigate from FormA to FormB but he must close formB in order to continue work in FormA. This is the expected behavior of the call_form built in. We also ensured that all changes are committed when navigating between forms; posting is not used. This architure/technique ensures that end-users commit frequently; with 400concurrent users we must ensures locking is kept to a minimum. Consequence of this architecture is that we do not have a full MDI application.
In order to have a full MDI application I have to use the open_form built-in but if possible i want to keep 1 session for each application user, not 1 session for each form opened. This in order to prevent an explosion of database sessions. Oke lets use the no_session parameter.
Now what's my problem ? I order to keep locking to a minimum I want to enforce the end user to commit changes when switching between windows. Does somebody has an advice which trigger(s) would be the most appropriate one ?
Note : that the "raise form_trigger_failure" has no effect in the "when-window-deactivated" trigger.
Note : post-form does not fire since I'am not actually leaving the calling form
Note : if possible I would like to program the validation in the calling form instead of the called form; this in order to prevent switching between windows - can cause screen flikkering.
chris

note the when-window-deactivate does not always fire when switching between windows of different forms !!!
I simply want to keep the focus on the calling form when there are pending changes and throw a message to the enduser saying 'please commit before continuing...'
I tried to program the when-form-navigate trigger but in this trigger I'am not able to retrieve the form_status of the called form.
any other help would be appreciated.

Similar Messages

  • Lag/delay when switching between windows/applications in Yosemite

    I have installed Yosemite onto a 27" iMac mid 2011 with 16Gb RAM.  Since the installation anytime I switch between windows in an application or between applications I get a delay or lag of between 5-10 sec before I can then utilise then next window.  I have 3 other iMacs of various ages that I have also installed Yosemite on and there has been no lag/delay issues.  One of the other iMacs is exactly the same specification as the one that is displaying the lag/delay.  It did not exist in 10.9.5.
    Has anyone else encountered this issue?

    Run some of the maintenance utilities such as Onyx, Cocktail or Main Menu.
    Create a new user account and see if it is also happening there.

  • About:config settings change by themselves when switching between windows/linux on dual-boot machine with profile shared between OSs

    I dual-boot ubuntu and windows7, and have set up firefox to use the same profile data when running under either OS. This works great, except:
    (1) each time I switch OSs and start firefox, it runs the "checking add-on compatibility" test (which is a minor annoyance)
    (2) each time I start firefox in ubuntu after recently using it under windows, the about:config setting "browser.backspace.action" gets reset from my preferred setting (0) to the default setting (2).
    How can I prevent these two things from happening?

    Maybe it is better to use separate profiles for each OS and create symlinks or hard links to the sqlite databases that you want to share.
    Your Linux profile may be using extensions (e.g. Ubuntu Firefox Modifications) that modify specific settings and in such a case you can't really prevent this.<br />
    You can use a user.js file to initialize specific prefs on each start, but that makes it impossible to make changes on the about:config page that last the current session and you need to remember which prefs are affected.

  • Using Windows 7 and Firefox 10.0.2, at random times all home page images "disappear" when switching between web sites. Page layout on some web sites is lost. Requires removing and downloading Firefox to restore. Any ideas?

    I have recently (6 months ago) purchased and use an HP Pavilion desktop with Windows 7. At times, when especially active (several windows open) and switching between windows or using links to connect with another web page, all the images on the home home page "disappear", that is to say there is space, but no image, as if the page did not load correctly. When this happens, pages other than the home page also do not display images.
    Same pages display correctly in Explorer whenever this happens.

    Hi
    Can you please try setting up full persmission in the security properties for everyone on the wsconfig folder C:\ColdFusion10\config\wsconfig  and restart ColdFusion Server.
    Swaraj

  • Can't change the shortcut to switch between windows (^F4) to altTAB

    Hi,
    I would like to switch between windows (not applications) by hitting ALT and TAB (same as Windows) instead of ^F4. In the preferences, I tried to change the shortcut labelled something like "Move focus to the active (or next) window". Unfortunately, it always complains that this shortcut is already used by another operation. However I can't find which operation uses ALT+TAB ?!
    How should I do ?
    Thanks in advance,
    Barth

    ecologisto wrote:
    Hi,
    I would like to switch between windows (not applications) by hitting ALT and TAB (same as Windows) instead of ^F4. In the preferences, I tried to change the shortcut labelled something like "Move focus to the active (or next) window". Unfortunately, it always complains that this shortcut is already used by another operation.
    Interesting. I can't use the TAB key in ANY custom shortcuts. it gives an error sound (but no message) when i try. I tried it on 3 different computers. I suggest you try a different shortcut like alt+`. It's very close to alt+tab.
    However I can't find which operation uses ALT+TAB ?!
    How should I do ?
    Thanks in advance,
    Barth

  • Safari auto switches between windows, makes the front window inactive...

    Hi all,
    I'm having a really annoying problem with Safari...
    When I'm browsing quite often the front window kind of deselects itself, say for instance I have a couple of browser windows open and the downloads window, it will automatically bring the downloads window to the front! Meaning I then have to click on the browser window to make it active so I can then continue whatever I am doing... I am not pressing any key commands for this to happen (I know cmd and ~ (tilde) does this as I use it often to switch between windows). It just does it off it's own back, it's like someone else is controlling the window...
    Funnily enough, it's just happened then again! when i'm typing this message, it brought the downloads window to the front and then this one back to the front, in the space of a second or so...
    Thanks in anticipation as this is one **** of an annoying problem!

    HI and Welcome to Apple Discussions...
    Try maintenance...
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem.
    http://support.apple.com/kb/TS1594
    And make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
    If you still have problems with Safari, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If it's a successful launch, then that .plist file needs to be moved to the Trash.
    Carolyn

  • Music pauses on my iPhone 5C when switching between apps or when receiving alerts/notifications sometimes (not always) and I have to manually restart the song. I'm running the latest 7.0.1 software. It's a bit annoying.

    Music pauses on my iPhone 5C when switching between apps or when receiving alerts/notifications sometimes (not always) and I have to manually restart the song. I'm running the latest 7.0.1 software. It's a bit annoying.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Dreamweaver 6.1 - JavaScript error when switching between open tabs

    When switching between open tabs a sequence of javascript
    errors occurs. I had not used Dreamweaver for about 2 weeks, and
    last time I used it with no problems.
    I have tried uninstalling it, OKing removal of all files when
    asked, re-installing it and updating with dwmx61_updater.exe, but I
    still get the same errors.
    This has rendered the software virtually unuseable, so any
    help would be greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Forward enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error occurred"
    The relevant code seems to be :
    <!-- Browser nav toolbar -->
    <toolbar id="Browser_Toolbar" platform="win"
    label="Browser Navigation" container="document"
    initiallyVisible="false">
    <button id="Browse_Back"
    image="Toolbars/images/MM/back.gif"
    disabledImage="Toolbars/images/MM/back_dis.gif"
    tooltip="Back"
    label="Back"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    command="dw.getDocumentDOM().browser.backPage()"
    update="onEveryIdle"/>
    <button id="Browse_Forward"
    image="Toolbars/images/MM/forward.gif"
    disabledImage="Toolbars/images/MM/forward_dis.gif"
    tooltip="Forward"
    label="Forward"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    command="dw.getDocumentDOM().browser.forwardPage()"
    update="onEveryIdle"/>
    <button id="Browse_Stop"
    image="Toolbars/images/MM/stop.gif"
    disabledImage="Toolbars/images/MM/stop_dis.gif"
    tooltip="Stop"
    label="Stop"
    enabled="dw.getDocumentDOM().browser.getPageBusy()"
    command="dw.getDocumentDOM().browser.stopPage()"
    update="onBrowserPageBusyChange"/>
    <button id="Browse_Refresh"
    image="Toolbars/images/MM/browserRefresh.gif"
    tooltip="Refresh"
    label="Refresh"
    enabled="true"
    command="dw.getDocumentDOM().browser.refreshPage()"/>
    presumably the next error is caused by the previous ones
    failing :
    "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error occurred"
    the relevan tcode :
    function getCurrentValue()
    var dom = dw.getDocumentDOM();
    var value = dom.browser.getURL();
    if (value && value.length)
    //check if is it not a temp file
    //extract the tail of the url
    var filename = value;
    var slashIndex = filename.lastIndexOf("/");
    filename = filename.substring(slashIndex+1);
    var tempIndex = filename.indexOf("TMP");
    if (tempIndex != 0)
    addRecentAddress(value);
    return value;

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "earthdoctor" <[email protected]> wrote in
    message
    news:[email protected]...
    > When switching between open tabs a sequence of
    javascript errors occurs. I
    > had
    > not used Dreamweaver for about 2 weeks, and last time I
    used it with no
    > problems.
    >
    > I have tried uninstalling it, OKing removal of all files
    when asked,
    > re-installing it and updating with dwmx61_updater.exe,
    but I still get the
    > same
    > errors.
    >
    > This has rendered the software virtually unuseable, so
    any help would be
    > greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    >
    >
    > "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    > followed by
    > "While executing Browse_Forward enabled in toolbars.xml,
    a JavaScript
    > error
    > occurred"
    > followed by
    > "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    >
    > The relevant code seems to be :
    >
    > <!-- Browser nav toolbar -->
    >
    > <toolbar id="Browser_Toolbar" platform="win"
    label="Browser
    > Navigation"
    > container="document" initiallyVisible="false">
    >
    > <button id="Browse_Back"
    > image="Toolbars/images/MM/back.gif"
    > disabledImage="Toolbars/images/MM/back_dis.gif"
    > tooltip="Back"
    > label="Back"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    > command="dw.getDocumentDOM().browser.backPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Forward"
    > image="Toolbars/images/MM/forward.gif"
    > disabledImage="Toolbars/images/MM/forward_dis.gif"
    > tooltip="Forward"
    > label="Forward"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    > command="dw.getDocumentDOM().browser.forwardPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Stop"
    > image="Toolbars/images/MM/stop.gif"
    > disabledImage="Toolbars/images/MM/stop_dis.gif"
    > tooltip="Stop"
    > label="Stop"
    > enabled="dw.getDocumentDOM().browser.getPageBusy()"
    > command="dw.getDocumentDOM().browser.stopPage()"
    > update="onBrowserPageBusyChange"/>
    >
    > <button id="Browse_Refresh"
    > image="Toolbars/images/MM/browserRefresh.gif"
    > tooltip="Refresh"
    > label="Refresh"
    > enabled="true"
    > command="dw.getDocumentDOM().browser.refreshPage()"/>
    >
    >
    >
    > presumably the next error is caused by the previous ones
    failing :
    >
    > "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error
    > occurred"
    > the relevan tcode :
    >
    >
    > function getCurrentValue()
    > {
    > var dom = dw.getDocumentDOM();
    > var value = dom.browser.getURL();
    > if (value && value.length)
    > {
    > //check if is it not a temp file
    > //extract the tail of the url
    > var filename = value;
    > var slashIndex = filename.lastIndexOf("/");
    > filename = filename.substring(slashIndex+1);
    > var tempIndex = filename.indexOf("TMP");
    > if (tempIndex != 0)
    > {
    > addRecentAddress(value);
    > }
    > }
    > return value;
    > }
    >
    >

  • Graphic distortion when switching between external and built-in display (rMBP)

    Recently (within the past two weeks or so) I've noticed a strange issue when switching between my external display (Thunderbolt) and my built-in display on my 15" rMBP. The following issue seems to be specific to Photoshop CS6.
    Typically, I'll have a PS document open on my external display and I'll wind up taking my to another location. If I close the PS document while on my built-in and then re-open it, I get all kinds of distortion and pixellation. Closing out PS and reopining, restarting, logging on/off; none of it seems to work. It seems like the issue is with the PSD itself, but it doesn't make any sense to me. Any ideas? Screenshot: http://i.imgur.com/iCipSc7.jpg

    Do you have intel gpy as well as other graphic card?  You may be viewing document on different gpu's.  PS does not like multiple gpu's.

  • HT1343 how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.

    how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.  For example if I'm in Excel and have 5 windows open I want to be able to scroll between each window of Excel only with a shortcut.
    Please help!

    Command and ~ keys to tab between open windows.
    Technically it is the Grave Accent ` (aka reverse quote) under the tilda ~ key.  Tilda ~ is shifted, and Grave Accent ` is not.
    Command-Grave Accent

  • How to keep location in a table persistent when switching between pages

    Hi -
    How would I keep my last location persistent in a table when switching between pages? If I am on cell X and switch to another page, when returning to the previous page, I return to the top of the table. This can be very annoying when trying to find the same location in a large table (or even in a small one).
    Thanks.

    If by "page" you mean "sheet", you can do it. To get back to the same place you were in the other sheet, click on the sheet in the sidebar (the list of sheets/tables/charts/etc on the left). Don't click on the table, click on the sheet.

  • Switching between windows

    I used to be able to switch windows by using command-`. That no longer works in any application, Safari, Mail, Pages, Numbers, etc. Please help. This just happened today; yesterday I was able to switch between windows in this way. I know I can go to the Windows drop-down mwnu and choose the right window from there, but that's a real pain. I'm using 10.6.8.

    Go to System Preferences and make sure this shortcut is enabled:

  • Can't play sound on Mac book air when switched to windows mode any one with solution to that..?

    Cant play sounds on my Mac book air when switched to windows mode

    Do you have any unknown devices in Windows Device Manager? Are the BC drivers installed?

  • Switch between Windows in Mission Control

    What is the shortcut to switch between windows, add a Space or delete a space in Mission Control?
    I bring Mission Control with CONTROL - UP. However, once I see all windows, I cannot choose the application with a keyboard shortcut, nor add or delete a space with a keyboard shortcut.
    Any ideas?

    Control  right/left arrow or control space number will switch between Desktops.
    Tom delete a Desktop, select it and an X should appear in the top left corner of the Desktop.
    To add a Desktop, slide the cursor to the top right corner and a + sign should appear.
    Mission Control - Mac Basics
    Mission Control Preferences

  • Auto show/hide Plug-in when switching between patches in Mainstage 2

    Hi, I was wondering if there is a way to have Mainstage 2 automatically reveal a plug-in when switching between patches. For instance, when switching to a Clav patch, have it reveal the EVD6 plug-in. Then, if you switch to a Rhodes patch, it automatically closes the EVD6 and reveals the EVP88.

    As far as I know, no. I haven't found a way to do this. It would be useful in certain setups.

Maybe you are looking for