What is the event to handle before leaving the page?

Hello All,
I am using splitApp. I have a scenario where user can edit few fields in one of the "Detail" page. When user clicks some item in master page, before changing the detail page I want to show a popup to user if changes should be saved.
Is there an event where I get to know any detail page navigation? or some event to handle before leaving the page.
Thanks,
Rashmi

Hi Rashmi,
It depends on which element you are using.
Suppose you are using sap.ui.commons.TextField where you are editing your data(In Detail View) then change event is triggered whenever the text in the field has changed AND the focus leaves the TextField or the Enter key is pressed and you can use this event in your code according to your need.
Here you may set some global variable and check that value if it is set or not.
Best Regards
Dhananjay

Similar Messages

  • Too bad ipods can't be checked before leaving the store

    I had made a suggestion that folks check their ipods before leaving the store with them, but Prof said that's not possible. they must be synced first. bummer.
    Message was edited by: David.

    I havent got my touch yet. I have been reading up on these forums and it looks like Apple Store is the last place to buy it.
    Anyway, you said that when u turn it on without syncing, it has a BLACK screen saying whatever. Isnt that big Black screen enough to notice if it is negative or not?
    And for those who have a screen with negative blacks, will you take it back and complain or will you keep it as if thats the way it was made and meant to be???

  • In downloading my Events from iPhoto on my Mac to my iPad Air, the Events arrive in the proper order but not showing the Key Photo.  At the same time, the Events arrive in iPhoto on the iPad in totally random order but showing the Key Photo.Why?

    In downloading my Events from iPhoto on my Mac to my Ipad Air, the Events arrive in Photos in the correct order but not showing the Key photo. At the same time, the Events arrive in iPhoto in a totally random order but with the Key phto showing. Why? of course and is there a way to shift the order in Iphoto and get a Key photo in Photos?

    HHi, thank you for the reply. I have checked my iPad and iPhone and neither has iCloud Photo Library (Beta) enabled. Turned off in both. Photostream is turned on.
    i tried to sort it out  by dragging all the photos to Events on the Mac and then deleting them from iCloud - (left hand side of iPhoto under the section 'Shared'). the photos now show up in Events. I did force quit but the issue remains. The message reads ' photos are bing imported to the library. Please wait for import to complete.'
    i can't empty iPhoto trash either. The message read "Delete error. Please wait for import to complete.'
    WHen I was moving the photos to the Events I always had a message about duplicates - to the effect that the photos already existed, did I want to import them? I clicked on Yes, import all duplicates. But when it showed the images - duplicates side by side - one showed the photo and the other was blank.
    I really don't know what to do! And I don't know how to handle my iOS devices. Is it to do with the large number of photos? Any help, advice appreciated.

  • Possible to have alert message for unsaved changes before leaving a page ?

    Hi Experts,
    just wonder if the subject matter is handled by APEX now or need some further technique to do so.
    Thanks.

    There is no standard solution for that. See this thread:
    Re: Autocommit or showing the message before leaving the page
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Hi, It's my last day test on adobe elements 12. I want to buy it now but It's looks only posible to buy the Adobe elements 13 version. If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation? Thanks!

    Hi, It's my last day test on adobe elements 12. I want to buy it now but It looks only posible to buy the Adobe elements 13 version. If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation? Thanks!

    licancabur123
    Are you currently working on a tryout of Premiere Elements 12 downloaded from Adobe?
    If so, you do not have to buy from Adobe. You can purchase the version from an authorized reseller of
    the product.
    At that point, you can leave the 12 tryout installed and just install your purchased serial number from
    the authorized reseller or uninstall the tryout and just install the purchased product with its serial number.
    When you open a tryout 12 project file (with Adobe watermark) in a purchased Premiere Elements 12, the
    Adobe watermark should disappear
    a. if you use Timeline/Delete Rendered Files
    or
    b. do nothing...so of us have found that just opening the tryout file in a purchased product removes the Adobe
    watermark automatically.
    As for
    If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation?
    Are you talking about the Adobe watermark? You will not lose the projects, but whether or not the Adobe watermark
    is removed in a purchased version which is not the version in which it was created is of concern.
    I will see what exploration and experimentation on that I can do.
    ATR

  • Using Javascript to rotate images with the style.backgroundImage property & I leave the onload pg & return, the images have trouble loading.

    I'm using Javascript to rotate background images -->
    function rotateImages() {
    setInterval("startRotator()", 7000);
    var counter = 0;
    function startRotator() {
    var images = ["images/finance1.jpg","images/finance2.jpg","images/finance3.jpg","images/finance4.jpg","images/finance5.jpg","images/finance6.jpg"];
    if( counter >= images.length ) {
    counter = 0;
    var image = "url('" + images[counter] + "')";
    counter++;
    document.body.style.backgroundImage=image;
    The script is triggered by the load event when the homepage loads and the script only runs on the homepage. Everything works fine upon opening the homepage.
    If I leave the home page and return, the images will have trouble loading for about 3 to 5 cycles and I'll get white backgrounds for part of the time. The same thing happens if I enter the site from a page other than the homepage and then go to the homepage.
    I discovered, however, that if I enter the site at the homepage and then leave the homepage and return using the back button, everything runs fine. Apparently it then accesses a cached version of the homepage? Seems having two cached versions creates a conflict?
    This problem only happens with Firefox (I have ver 29.0.1). It does not happen on IE ver 11, Chrome ver 34, or Safari ver 5.1.7.
    I get the same problem with XP, Win7, and Win8 but, only on Firefox.
    Can you please fix this?

    Hey, I am trying to reproduce this here: [http://jsfiddle.net/u3TLb/]
    Mozillazine forums and the [http://webcompat.com] are more specialized in Web Compatibility, please ask there as well.

  • How do you get the Event folder date to match the media dates in FCPX

    Modifying the clip date/time with the Modify command works fine ... but the Event itself still has the date the event was created, not the date of the media that it contains.
    If tried using Touch on the Event folder but FCPX ignores it.
    Any ideas on how to get the Event folder date to match the media dates (or set to any other date desired) so that Events sorted by date show the actual dates of the media that they contain?
    Thanks
    Jonathan

    Here is the texture I've been manipulating  all afternoon to try and achieve the looks i want.
    and when I put this texture over the top of other images and select Multiply, and adjusted the opacity, this is what i get....
    Now this kinda works?? but it still looks not as good on an asian person.
    Thanks by the way to everyone for all the tips, I really really appriciate it   and more suggestions for improvments are welcome!

  • I have itunes version 8.2 and would like to avoid downloading a newer version. The iTunes Store will not leave the page for iTunes 10. How do I fix this?

    The iTunes store will not leave the page for downloading iTunes 10. I just deleted iTunes 10 because of errors to purposely go back to version 8.2. Now I would like to keep 8.2 and not upgrade. How do I get this page to go away, or just keep 8.2? I would like to only have a version before 9.0. Please help!

    The iTunes store will not leave the page for downloading iTunes 10. I just deleted iTunes 10 because of errors to purposely go back to version 8.2. Now I would like to keep 8.2 and not upgrade. How do I get this page to go away, or just keep 8.2? I would like to only have a version before 9.0. Please help!

  • Can you fix , the fact that If you leave the firefox update window open for a long period (say 20 minutes in the background), then close all other windowns, then choose to install, it uses this extra time to estimate the download?

    Can you fix , the fact that If you leave the firefox UPDATE window open for a long period (say 20 minutes in the background), then close all other windows, then choose to download update, it uses this extra time to estimate the download? (Mine said, 12 Hours to start with, but took under 2 minutes!)
    == This happened ==
    Not sure how often
    == When you install update to 3.6.4 (Possibly for every update?)

    The download should happen in the background (before you get an update window). I wonder why that didn't happen for you...\
    Did you manually check for updates?

  • When I connect my iPod touch to my computer, I have a list of Events on my iTunes/iPod/Photos. I want to erase these Events. However, the photos are NOT on my MacBook Air. When I check one of the Events and then hit Apply, the photos appear on my iPod.

    When I connect my iPod touch to my computer, I have a list of Events on my iTunes-iPod-Photos. I want to erase these Events. However, the photos are NOT on my MacBook Air-iPhoto. When I check one of the Events and then hit Apply, the photos appear on my iPod. And one last thing: When I connect the iPod and open iPhoto, iPhoto tries to load New Photos (I think), but nothing happens. Any ideas?

    Resolved.

  • I have been using the apple IPad camera connection kit and my photos can be viewed in the events... But the all imported folder is no longer there and the last import folder is empty. Is there any way to resolve this ang get my all imported folder back?

    I have been using the apple IPad camera connection kit and my photos can be viewed in the events... But the all imported folder is no longer there and the last import folder is empty. Is there any way to resolve this and get my all imported folder back? as well as get my last import functioning normally?

    Please please help me, if you know how.

  • How can I take off the text on the bookmark bar and just leave the Icons of the bookmarks on the boomark bar ?

    I'd like to save space for more sites on my bookmark bar so I'd like to take off the text on the bookmark bar and just leave the site Icon's...that way there will be much more space to add on more sites to my bookmark bar.

    SImple open the bookmark properties and erase the name, to open the bookmark properties:
    *Go to '''Bookmarks''' >> '''Show all bookmarks''' >> or press '''Ctrl+Shift+B ''' click on the bookmark to see the properties.
    *Go to bookmark page click on the blue star to see the properties or Press Ctrl+D

  • Where is the event options in iPhoto with the new iOS 7 update on iPad?

    Where is the event options in iPhoto with the new iOS 7 update on iPad?

    You mean iPhoto the app or the native iOS Photos app?
    I have both in my iPad running iOS7 and iPhoto has the Events as usual.

  • When downloading from my PD 150 to the event window in my iMac the clips are out of order and split into many subclips   ac  iMac the clips in the

    when downloading from my PD 150 to the event window in my iMovie the clips are out of order and split into many subclips. Very frustrating

    Nevermind, somehow it's magically back in order.

  • I currently have Lightroom 3. Do I need to download all of the versions in-between before getting the latest version?

    I currently have Lightroom 3. Do I need to download all of the versions in-between before getting the latest version?

    Hello Rachel,
    this thread could be helpful for you: https://forums.adobe.com/thread/1323362
    Hans-Günter

Maybe you are looking for

  • NImax.exe entry point not found TDMS_GetDataValueEx in cviTDMS.dll

    I have a remote PXI-8108 and I'm trying to create a task in MAX.  I have no other tasks as this is my first attempt at creating one.  The following sequence is performed on the remote system:  left click on the PXI-6713 under "NI-DAQmx Devices" --> c

  • New Mac mini died

    My brand new Mac mini arrived just a few days ago. Did the upgrade to 10.5.2 and everything was working fine. Tried to turn it on this morning and - nothing. The machine wont power up; it just sits there. I tried all of the obvious things like checki

  • Blur moving object in AE CS6

    Hi: I need to blur a moving object: - The effect is only needed at some point of the video, it must appear, and then disappear, not being on screen the whole time. - The object is moving, and changing shape, the blur must adapt to it. - I've been try

  • How can I sent my video and foto from iPhone to iPad ????

    How can I sent my video and foto from iPhone to iPad ????,

  • Movie playback in iTunes 10

    When I updated iTunes 10, I can't rewind the movie I'm watching when it pauses, and I can't move frame forward or back using the arrow keys. Can you help me with this?