Can we stop user navigating away from Block in an Error condition?

Hi all,
I am writing validation code in custom library attached to an Oracle Form. Is there any way to stop
the user from navigating away from a Data Block if there is a validation failure?
Many Thanks,
Prathima.

it depends. some triggers fire, before validations are complete, e.g. when-button-pressed. there is also a difference between navigable and non-navigable buttons/items.
better you check it out by putting messages inside your code.

Similar Messages

  • How can I stop iCloud email servers from blocking email I would like to receive?

    An online forum I participate in and reeceive daily summaries of activity from has recently been blocked by iCloud servers, so I no longer receive my daily summaries.  How can I stop this?  I've added the email address that sends me the summaries to my contacts, but this doesn't rectify the situation

    First look at the mail it will tell you the community sending the email
    Now go to the header page of that comunity
    and click the Stop notifications
    Now from your profile page clcik
    Then look for notofications like
    and delete those.

  • Detecting navigation away from a screen

    To play mp3 files in my web application, I've a  simple audio player with play/pause buttons, progress bar, etc. Just the way  VideoPlayer stops playing video when user of the application switches to some  other screen, I would like my audio player to stop playing audio when the user  switches to some other screen. What event can I use to detect that the audio  player (s:VGroup) isn't 'visible'?
    Although this question is framed around stopping an  audio player, the same applies to a situation where user is navigating away from  a form without saving modified data.
    Thanks,
    Dilip

    Hey Dilip,
    You need to include Javascript here. What you need to do is put an event on window.blur and on window.blur call a code of Flex application to make the audio player mute.
    I think that make sense to you still if you have any question let me know.
    Thanks & Regards
    Ankur Arora
    Project Leader(Flash and Flex)
    http://flashdeveloper.blogspot.com
    http://www.ankur-arora.com

  • How to Prevent Navigating Away From a Page?

    Hi all,
    I�m developing a JSF application using IBM Rational Application Developer v6.0 and have this scenario:
    Background:
    I have a page that acts as a 3 step wizard. It also contains links to other pages. The page has a corresponding �pagecode� bean with a request scope and another managed bean with a session scope and basically everything happens here, all the action and action listeners. Also this managed bean handles three important events the �page load�, �page load ends�, and �page post�.
    Desired Behavior:
    I want to enforce the user to complete all three steps of the wizard without navigating away from this wizard like page by displaying a message �hey you must complete all three steps� or something like that :).
    Problem:
    The user can click on other links on the page and navigate away from the wizard without completing all three steps.
    Any suggestions to this issue would be of great help.
    Thanks in advance.

    First: how do I change my stupid screen name? :)
    Thanks for your solution. Would this also work for normal html navigation? My understanding that this may only work for the JSF framework navigation rules. On the other hand I also have plain html links on the page and not really sure if the JSF framework also handles these types of navigation.
    This maybe a partial solution though and I really appreciate this.
    Thanks.

  • Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the pro

    Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the program and did a few profile building sessions, now it pops up each time I start the program, blocking me from using it. Help sure would be appreciated.
    Jay

    I looked at your post this morning and did not know enough to respond, other than to find out that links to iListen now go to newer, renamed software. Considering it's been nine hours with no response, I'm suspecting few people here have experience with that software. You could contact the current copmany that used to sell that package and see if they have any archived support info.
    BTW: please check you entry for "Mac OS" in your profile. It says iOS, which cannot run on an iMac. iOS is the system for phone and iPads but can't run on Mac computers. Do "About this Mac" from the Apple menu and see what it says about the OS version. Should look like this:
    If the "Processor" line says "Intel," you have a newer Mac than the old modles this forum covers; Intel iMac have their very own forum here:
    iMac (Intel)

  • Executing ABAP on Navigating away from BSP

    Hi All,
    I would like to know if it's possible to execute a piece of ABAP code when the user navigates away from a BSP page.
    I have the necessary ABAP clean-up code that I need to execute if the user decides to quit the BSP page (that includes closing the browser window, going to another website like cnn.com, or hitting the "Back" button).
    Can anyone think of a possible solution? I tried to use javascript function on page "unload" property, but it appears it is not possible to restrict ABAP statements by enclosing them in javascript tags.
    Thanks in advance!
    Roman D.

    Hi Thomas,
    Thanks for the quick response. No, the application is stateless.
    Due to the programming design, the person who developed the application created a certain document on the "OnInitialization" routine. What I need is to delete that document unless the user hits the Save button...sounds absurd, but it's more of a workaround than a real solution.
    So, in other words, if the user enters the page and hits "Save", everything is OK. But if the user doesn't hit "Save", but instead just quits the BSP application, I need to make sure that the document is deleted.
    Is this problem more clearer now?  Let me know if I can provide more details.
    Thanks!
    Roman D.

  • When user browses away from my html

    Like most of the use of swf, my swf is embedded in an html.
    I'm wondering if I can catch the event in my swf when user browses
    away from the html. Is swf gets unloaded at the time? Can I do
    certain things in actionscript when it happens?
    Help is appreciated.
    thanks,
    Ted

    Hi Ted,
    Tough to say how much you will be able to do as the URL is
    changing,
    but I believe JavaScript has some function like "onUnload"
    that you can
    use. You can then use the fscommand-style call to invoke a
    function in
    your Flash movie to let it now it's about to be gone.
    I haven't tried this though so I don't know how effective it
    is.
    Patrick
    nehcdet wrote:
    > Like most of the use of swf, my swf is embedded in an
    html. I'm wondering if I
    > can catch the event in my swf when user browses away
    from the html. Is swf
    > gets unloaded at the time? Can I do certain things in
    actionscript when it
    > happens?
    >
    > Help is appreciated.
    >
    > thanks,
    > Ted
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • How can I stop the Drudgereport page from autorefreshing? None of the standard answers work.

    How can I stop the Drudgereport page from autorefreshing? None of the standard answers work.
    ''locking - https://support.mozilla.com/en-US/questions/775159 ''

    Drudgereport includes JavaScript code that refreshes the page. You could disable JavaScript for the drudgereport site, that will stop it from refreshing. You can do that by installing the [https://addons.mozilla.org/firefox/addon/4922/ YesScript] extension which allows you to block JavaScript on sites that you specify.

  • How can I stop Maverick OS X from downloading?

    How can I stop Maverick OS X from downloading?

    There are multiple ways to configure the proxy settings on a Mac it sounds like your trying to do it manually. All the places I have been that have used a proxy server have used the "Auto Proxy Discovery" method and this has worked fine. This will work fine for multiple user accounts on multiple Macs.
    For those unaware "Auto Proxy Discovery" uses WPAD (Windows Proxy Auto-Discovery) protocol. This means it either 'learns' the address to download a PAC file from via DHCP option code 252 (preferred), or if it cannot get that address via DHCP it tries using the DNS method.
    All the Mac web-browsers use the proxy settings learned via System Preferences -> Network -> Advanced -> Proxies however some other software particularly command-line tools may need configuring individually. For example curl needs to be told separately.

  • How can I stop music and movies from being automatically deleted from my phone and saved on the cloud? I've just tried to watch a movie on my 2 hour commute, but yet AGAIN it has been removed. I do NOT want to spank all of my data allowance

    How can I stop music and movies from being automatically deleted from my phone and saved on the cloud? I've just tried to watch a movie on my 2 hour commute, but yet AGAIN it has been removed. I do NOT want to spank all of my data allowance downloading it again, especially because (believe it or not) I added it to my phone because that's precisely where I wanted it!! Any help much appreciated

    FYI I had to put this link into firefox to reply - because **** back safari just wouldn't register my clicks to any of the links on the post... Despite reloadeing and even restarting my computer. Totally annoying and a massive pain in the ***.
    But in terms of my initial query; thanks for responding. But no, this is NOT the cause of the problem. I have auto sync and sync over wifi activated, but have also selected manually manage music and videos. Plus, all of my music and videos are on my macbook, absolutely all of it, so if it my phone was syncing with my macbook everything would still be on the phone. Life would be peachy if my phone jsut copied everything that was on my macbook, but unfortuantely it keeps deleting tracks for no apparent reason.
    Any thoughts greatly welcomed, because at the moment i can only conclude that my iphone is crap.

  • How can I stop mail on iPad from going to next message when deleting an email?

    How can I stop the mail app from moving to the next message when deleting an email?
    I like to keep messages as new until I can take action on them, but this just makes an unnecessary step.  I do not have this problem on my iPhone, but I am still running 5.0.1 on the phone and have the new iPad 5.1 software.

    Hi furiousbalancing,
    With regards to deleting messages in Mail, you may find the following portion of the following article helpful:
    To prevent the next message from being automatically selected (and marked as read), hold down the Option key when you delete a message.
    Mail (Mavericks): Delete messages
    http://support.apple.com/kb/PH14900
    You can also use Command-Shift-U to toggle a message between Read and Unread (command should be the same in Mavericks):
    Mail (Mountain Lion): Keyboard shortcuts
    http://support.apple.com/kb/PH11679
    You can also close the Preview portion of the Mail window, which should then require you to double-click on a message to open it and have it show as read (it appears the double click on the seperator may no longer work in Mavericks, but you should still be able to drag it to make it disappear):
    Mac OS X Mail: How to show or hide the preview pane or mailboxes drawer
    http://support.apple.com/kb/HT2583
    Regards,
    - Brenden

  • How can I stop my iphone 4s from asking for my icloud, yahoo and other passwords all the time?

    How can I stop my iphone 4s from asking for my icloud, yahoo and other passwords all the time?

    As long as you share that AppleID for iCloud, you cannot.  You are sharing a a single iCloud account and sync services.  The only thing you can do is get a second AppleID and use it with iCloud - you do not have to use that new AppleID for anything but iCloud (ie. you can still share an AppleID for iTunes and App store purchases).
    P.S. I am assuming you both want to sync your contacts with iCloud?

  • How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    How can I stop receiving email automatically from the community when they have issues with there problems regarding the apple products.

    Click here for the instructions on stopping the emails.
    (85713)

  • How can i stop user to get the same screen while entering same T code

    hi experts,
    how can i stop user to get the same screen while entering same T code (_Means i want user enter same t code but got different different screen how it is possible.)_
    i want to know how can we set a authorization is such a manner ...
    Through different different login id user got different different screen while entering same T-code.
    for example if there is two functional login id mum & noida...
    then user login through that and
    enter any same functional tcode (for getting purchase order)
    but get different different window...so how come it is possible.....
    plz explain in brief
    thanks in advance...plz do reply as soon as possible

    For a custom transaction this is easy, you need to ask your developers to be able to direct users to different screens based on the results of an authorisation check.  You could have an auth field e.g. ZSCREEN which is checked in the program & decides what screen the user has access to.
    For standard transactions, unless already coded, I would forget it & do what is recommended by Subramaniam and create transaction variants as required.  Assign each variant to a custom t-code and users access it that way.
    What I am interested is is why do you want to do this?

  • Can i use it at away from home

    can we use apple tv away from home

    Yes if you have a network.  Say you have internet access elswhere but you're computer is home.  You could still watch netflix and rent movies and tv shows for example.  Or say you have your content on your laptop, iPhone or iPad and have that with you - you'd have access to that on your Apple TV as well regarless of where you are - as long as you have a network.

Maybe you are looking for

  • Open Document from a webi report

    Hi I am trying to open the webi document from a report and the data source is BW , can u guys help me out and give me the syntax thanks

  • Using the X Series interal clock for synchronization

    Hi, I am slowly learning how to use Labview in my work.  I have 2 X-series multifunction DAQs that are each linked to a computer.  I am reading in the user manual that the DAQ has a built in 10MHz clock that can be used by other DAQs in the system. 

  • No support for date type in object views !?

    The very simple example below raises SQL Error: ORA-00932: types de données incohérents ; attendu : DATE ; obtenu : DATE Occurs on XE and 10.2.0.3 on HP-UX Any clue? Thanks, Robert create type t1 as object (id number, time date) create view t1v of t1

  • Unit tests: more than one startup (teardown) process

    Whether I can create more than one startup (teardown) process? Mike

  • Got stuck with pages

    i made a long document with Pages and want to insert a new section within this document. All the photographs and texts get jumbled up. Pages sees the document as a whole and I want to cut it into separate pages so as to insert a new section. How do I