Is there any listener when leaving the page?

Hi,
I use JDev 11g,
I use this
*((DCIteratorBinding)this.getBindings.get("MyIterator1")).getViewObject().getApplicationModule().getTransaction.isDirty();*
to know if there is a change happen in database or not
I want to check this change when I leave the page.Where can I write this code? Is there any listener when leave the page or not?
Thank You.
Sameh Nassar

Thank You Sireesha,
I make a class which implements interface PhaseListener and implement 2 methods (beforePhase and afterPhase).
then I write
<lifecycle>
<phase-listener>MyClass</phase-listener>
</lifecycle>
in faces-config.xml file
thank you.
Sameh Nassar

Similar Messages

  • Is there any way to access the pages templates that were there six months ago. The one I used for my recipes is not there.

    Is there any way to access the Pages app templetes that were there six months ago? The one I used for my recipes is no longer there.

    What was the name of the recipe template?
    Or was it one you created yourself.
    It helps when you tell us that you upgraded both your OS and Pages, which it appears you have done.
    Possibly even changing your Mac or iOS device. Which is it btw?
    Probably you have a new Pages which has only a fraction of the templates, because it has a fraction of the features.
    Peter

  • Help! I reinstalled my Mac and erased my iWeb page in the program.Its published, is there any way to download the pages from Mobile Me?

    Help! I reinstalled my Mac and erased my iWeb page in the program.Its published, is there any way to download the pages from Mobile Me?

    To download your pages from MobileMe simply mount your iDisk.
    Then navigate to the Web > Sites folder where the pages are.
    You can't do anything with them however, since iWeb cannot import them. But it's nice to know that you can download them.
    You need the domain.sites2 files, iWeb uses to store its assets. Perhaps you have a backup?
    See this page for pictures and movies to learn how to use the domain file :
    https://discussions.apple.com/thread/3862332?tstart=0

  • Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    The quickest way is to print to a new PDF and use shrink to fit. Be sure you set the paper size in the printer properties. Normally this is not recommended, but it is a quick approach. You would loss any bookmarks and other markup with the print.

  • ***Is there any listener which trigger the method when KEYUP?

    Hi,
    Is there any listener which can trigger the backingBean method when KEYUP!!!!
    Basically, I got 2 input box in the UI where the 2nd box getting enabled when user enters some value in the first box and tab out. I am doing this via valueChangeListener which has attached with first inputBox. But now I want to enable the 2nd input box as soon as the user start enter the value in the first box, how to do this plz..
    thanks
    kln

    Hi klogube,
    If you want to call method in backingbean from javaScript you should use both clientListener And serverListener as:
    1- Add clientListener inside your inputText as :
    <af:clientListener type="KeyUp" method="keyUp"/>2- write javaScript function as :
    <af:resource type="javascript">
        function keyUp(event) {
           var source = event.getSource();
           AdfCustomEvent.queue(source,"callServerListener", {}, false);
    </af:resource>3-Add serverListener inside your inputText as :
    <af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>Your InputText will be like:
    <af:inputText label="Label 1" id="it1">
          <af:clientListener type="KeyUp" method="keyUp"/>             
          <af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>
    </af:inputText>4- The java method:
    public void keyUpMethod(ClientEvent event){
    // do whatever u want
    }Sameh Nassar

  • Is there any way to have the page title NOT be the name of the HTML file

    You might want a page title to be say "Digital Media Academy." You don't however really want the html file to be called "Digital%20Media%20Academy.html" Windows web browsers often have problem opening pages with spaces in the file name. On the other hand you don't really want the page title to be "DigitalMediaAcademy" because that looks kind of dumb. Any way around this.

    The page is already not included in the nav bar, but
    where do you set the page name to be different from
    the file name? How can I set the name of the page,
    such as the name of this page is "Apple - Support -
    Discussions - Post Message:Reply," to be different
    from the file name?
    I think I probably misunderstood your question. You want the html "title," which appears at the top of a browser, to be independent of the name of the html file, right? I don't think that is possible in this version without manually editing the html after publishing. iWeb uses the page name given in the inspector for both the navigation bar link and the file name, replacing spaces by %20 in the latter because web servers don't allow spaces in file names.

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Prompt to save the chages when leaving the page

    Hi all,
    I have the following scenario:
    I have a plsql region with 15 records pro page with text fields and checkboxes.
    When the user does update any field and navigate to other page (or clicks to other pagination page) without click on the button "SAVE" or "CANCEL" I would like to show him the confirm dialog "The changes was not saved. Save it?" or anything like this.
    Is it possible?
    Thanks

    Hi,
    Have a look at this thread to see if it helps you:
    Re: detecting changes to items prior to submitting page
    Andy

  • Using setForwardURL, is there any way to open the page in a new window?

    I am using a submitButton which has NO Target Frame property.
    I am programmtically gathering parameters and forwarding to the next page using setForwardURL.
    This seems like it should be simple but combing through the threads on this, I am rather confused. Am I not able to use a submitButton and still accomplish this somehow?

    Thank you!
    But I don't know how to pass my parameters that way. Currently I am passing 2 formvalues, 1 value picked up from a field (MessageTextInput), and one txnvalue picked up from the pageContext.
    How can I pass these types of params using Destination URI? I can only find examples of passing params based on view object attributes using syntax like order={@OrderNum}
    Thanks again for your help...

  • When using an external (ergonomic mouse) is there any way to get the wheel to scroll one full page at a time?

    When using an external (ergonomic mouse) is there any way to get the wheel to scroll one full page at a time? Much appreciated.

    I can't use the keyboard to scroll. I need to keep my hand on the mouse, otherwise I'd never get anything done. Since I have no problem getting Firefox to scroll one page at a time, and I'm constantly jumping between 3 browsers, it would be nice to be able to scroll a full page at a time in Safari, just like I can in Firefox. Thanks.

  • When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder?

    When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder? The endless scrolling technique is far too tedious when trying to add a new bookmark, because the window is simply too tiny. Is there maybe a plug-in that will let me grab the corner of that window and re-size it? Thanks!

    I suggest you install the "Add Bookmark to Here2" extension, then you can expand the the list but you will not see the bookmark itself in the list if that is what you wanted. At the top you have three major folders you can select one of them and scroll up and down. Below that you have your most recently used folders and you can select one of them instead and scroll up and down. You can see the folder the bookmark is in -- they get added to the bottom
    If you really want to see the bookmark within the folder the same extension allows you to bring the bookmark to the folder from say the bookmarks sidebar that is why it is named as such. I use it but mainly i use the dialog.
    Please continue reading about bookmarks and some related extensions at
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    * http://dmcritchie.mvps.org/firefox/firefox.htm#addbookmarkhere2
    * http://dmcritchie.mvps.org/firefox/kws.htm
    If you are not using tags at all, you can remove a whole lot of confusion by removing them from the dialog via the extension.

  • Get pop up window when leave the WD page

    HI,
       I always get a pop up window says "Please wait! Closing the application" when i leave the page which is inital running Web Dynpro applicaton url.
       Is there any way we can disable the pop up?
    thanks
    yi

    Hello Martin,
    I have used this DLL before and wasn't asked to choose a codec. Maybe if you use all three functions (init, write, close), it works without problems. Here's a example that uses IMAQ hardware to acquire an 8-bit image at 30fps and writes each image to an avi file.
    There are utilities to examine dlls (see what functions are exported and what the dependencies are, but you can't see source code since it is compiles.) Check out QuickView or DependencyWalker.
    Attachments:
    avigrab.zip ‏66 KB

  • Is there any way to set the default for *.doc document so that Pages opens them automatically?

    I have a number of Ms Word documents because I used to have Word for Mac before the last OS release.  Now, of course, when I double-click on them, I get a message saying that PowerPC isn't supported.
    Now Pages will open these files.  Is there any way to change the default for *.doc files so that a double-click will open them in Pages? 
    (Instead of me going to the trouble of finding out where they are actually located on the hard drive so that I can open pages and say - here, open this file--even though you didn't create it--)

    Click on a .doc file and type Cmnd I to open Get Info. In the Open with: menu select Pages, then click on Change All…
    Walt

  • In fullscreen mode, is there a way to prevent the page from shifting down when displaying the menu and tabs?

    In fullscreen mode (F11), when moving the mouse toward the top of the screen to display the tabs & stuff, the page displayed is shifted down. This makes it annoying when returning down with the mouse - you want to reach a certain link, for example, but your target gets shifted up once the tabs & stuff is hidden back.
    Is there any way to make the tabs & stuff display 'above' the page content, like on another layer?

    Is it the web page display that is changing its own position, or is it something
    about the toolbars that is pushing the page down? I have the same issue with
    my browser using an add-on to show a multiple line bookmark bar.

  • I opened a website that said that all of my files had been encrypted. A popup appeared and asked if I wanted to leave the page, but when I tried to, it wouldn't let me.  How do I know if this is a real problem or not?

    I was researching information for a class and I clicked on a website that said that all of my files had been encrypted.  A popup appeared and asked if I wanted to leave the page but when I tried to, it would let me.  I had to force quit Safari in order to do so.  How do I know if this is a real problem or not? 

    It's a JavaScript scam that only affects your web browser, and only temporarily.
    1. Some of those scam pages can be dismissed very easily. Press command-W to close the tab or window. A huge box will pop up. Press the return key and both the box and the page will close. If that doesn't happen, continue.
    2. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and uncheck the box marked Enable JavaScript. Leave the preferences dialog open.
    Close the malicious window or tab.
    Re-enable JavaScript and close the preferences dialog.
    3. If the Preferences menu item is grayed out, quit Safari. Force quit if necessary. Relaunch it by holding down the shift key and clicking its icon in the Dock. From the menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    to get rid of any cookies or other data left by the server. Open your Downloads folder and delete anything you don't recognize.

Maybe you are looking for

  • Problem in moving the code from one system to other system

    Hi, I am working on building a webservice. I started building the EJB teir compnents like (Entity beans, Sessions beans, data base schemas) using the SUN ONE STUDIO 5 and SUN ONE App Server 7.0. The problem, if I want to move the same entity beans co

  • Transactional entry processors?

    Does the new "full XA support" also makes it possible to roll back changes performed using entry processors or is it still only "put/putAll" operations that are possible to perform transactionally ? /Magnus

  • Cannot open link in new tap or window after update to v.5

    I'd updated to V.5 and then found that it cannot open link in new tab or window, from google page, after updating. I'd reinstalled 2 times but it still be the same problem. How should I do? Please suggest. Thanks.

  • Urgent-Oracle Error :: ORA-39778-

    Hi I got following Oracle Error : ORA-39778 "the parallel load option is not allowed when loading lob columns" on production. yesterday we updated database with patchset 9.2.0.7 and DST/JVM compliant. Please reply me ASAP. Regards, RJ

  • Asking about a function

    i would like to write the function of getLineoffset(int) i would to write this function by myself please help me to wirte the..... thank you