PagePhaseListener - after the last phase to run code

Hello

I've set up my own PagePhaseListener that works very well.
public class MyAdfListener implements PagePhaseListener {
    public MyAdfListener() {
    }

    public void afterPhase(PagePhaseEvent pagePhaseEvent) {
        System.out.println("############### after PhaseEvent: " + pagePhaseEvent.getPhaseId());
        // call this code before INVOKE_APPLICATION
        if (LAST-PAGE-PHASE) {
           EXECUTE CODE
        }
    }
This displays a list of numbers. The latest is not always the same which makes it difficult for me to run code after the last phase.
# After PhaseEvent: 9
# After PhaseEvent: 0
# After PhaseEvent: 1
# After PhaseEvent: 10
# After PhaseEvent: 11
# After PhaseEvent: 12
# After PhaseEvent: 5
# After PhaseEvent: 13
# After PhaseEvent: 7
# After PhaseEvent: 9
# After PhaseEvent: 0
# After PhaseEvent: 1
# After PhaseEvent: 8
# After PhaseEvent: 14



How is it possible to run code after the last phase? I used
if (pagePhaseEvent.getPhaseId() == 7) {
}
to catch a fairly late stage and he works for now, but I don't have a good feeling about the stability of this code, because the last number is not always the same.

Greetings
Tobias

Yes, certainly makes it look like a doc bug (or a bug that values > 8 are returned) - you can probably find an answer to this, with the support of the Oracle, or if you have the source code for the ADF, by reading the source :)

Tags: Java

Similar Questions

  • How to remove Code condition on iwatch after the last update

    How to remove Code condition on iWatch after the last update?

    Hello

    On your iPhone, in the application of the watch, go to: My Watch (tab) > password - tap on disable password.

  • Bridge is no longer starts after the last update

    Hello

    After the last update of CC 2015.5 bridge will start is no longer. I get the window that shows that "Adobe Bridge CC unexpectedly quit' almost immediately. Of the window:

    Crashed thread: 0 dispatch queue: com.apple.main - wire

    Exception type: EXC_BAD_ACCESS (SIGSEGV)

    Exception codes: KERN_INVALID_ADDRESS at 0x000000000000000c

    Note the exception: EXC_CORPSE_NOTIFY

    Have uninstalled and reinstalled. preferences ransacked without success. I am running the latest version of the operating system. CC of other apps that I use (PS, I, ID) seem to work. 5 Bridge works fine.

    Any help would be appreciated.

    Thank you

    Ted

    Hi all

    We published a new version of Adobe Bridge (CC 2015) on July 19, 2016. This update is available via the Adobe Creative Cloud application.

    We addressed some crash bridge issues experienced on the launch of the application. Please try the new version and are looking for the crash problems you encountered.

    If you are not able to locate the bridge (CC 2015) on the creative cloud application, you will need to update the creative cloud application and restart your computer.

    Thank you

    Deepak Gupta

  • Java plugin for Oracle hangs after the last update

    As part of the requirement of the Oracle, we run JRE 1.7.60
    To update firefox this morning and now the plugin is constantly crashing.

    Hello

    Thanks for your reply, but I doubt that flash player is related to do with Java.

    And the Java applet crashing in my browser, I guess, should not be linked to my graphics driver, especially since the only update that took place was an update of firefox.

    In any case, Firefox for some reason any launches 2 additional tabs when executing the Java Applet (IE does not work). In the past, I'm used to close the first tab, since it contains nothing except an Oracle logo.
    However, it seems that after the last update of firefox, if this tab is closed, it cause Java to crash.

    Therefore, do not close the additional tabs by the Java Applet. However, this has never happened before, do not know what has changed in the latest version of Firefox to make it happen now?

    Thank you

  • Why Web pages show nbsp; all the pages after the last update?

    My operating system is Windows XP. After the last update for Firefox 29,0, web pages started showing nbsp; through, including my home page. I've never seen until the last update. Internet research indicate that this indicates a space when the web page is developed, but is not intended to be displayed. Why am I now see this on most of the web pages I visit? Is there a change or fix that I can install to ban this appears?
    Thank you

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

    & nbsp; is the HTML entity for an unbreakable space code and should not appear as text, if you see this on a lot of pages then something like a Firefox extension or other (security software) might be causing such a question.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) as a test.

  • After the last update, new tabs show a boittiaux search, left the window 'related searches', announces low & Bing becomes default in the search bar.

    After the last update:
    (1) open the new tab - rather than thumbnails of frequently visited sites, I now get a Bing search page.
    (2) all new pages now arrive at a window on the left side of the "Related Searches" and an ad that runs along the bottom.
    (3) this has been fixed but could be due - after the upgrade, my area of research has been failing to Bing (I do not use or as Bing). When I reset, it is again changed to Bing. I removed Bing entirely and he returned. I removed it again and so far it does not appear by default upward again, but he's back to the list of search engine after removing two times.

    Thanks cor - el. I so reset Firefox and then to about: config and updated the keyword.url of Google search string. Seems to have finally worked - let's see it.

    An another massive Microsoft f & * % up - those who do not or use Bing are more anti-Bing than ever.

  • I get this error after the last update WindowsUpdate_80200053

    I have the 64 bit version of vist home.

    After the last patch of weeks

    "Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update (KB951847) x 64

    "Download size: 25,7 to 82.7 MB.

    I get the error WindowsUpdate_80200053. Also now I can't download active x controls, updated maleware deleting files (Spy bot s & D gives check sum errors), any web site, including the Microsoft Update download (I get warnings of the author is unknown and corrupted file warning.)

    My wife has the 32-bit version and having the same problems.

    Hello Stdonitus,

    Please try the steps, in order to verify if there is no virus or Spyware issues below.

    1. run the Microsoft Windows malicious software removal tool

    2 download, install, update and run: (freeware) SUPERAntispyware and Malwarebytes' Anti-Malware (freeware).

    3. run this analysis online (safe mode with network, if possible):
    http://OneCare.live.com/site/en-us/Center/howsafe.htm

    4 see and follow carefully:
    "Looking for / help with software, spyware software malware and Hijackware.

    If you need help with virus-related issues, contact the Support Services Microsoft product.

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy.  If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    If you need more assistance for the position of virus/worm to the Microsoft Newsgroup - security - virus.
    Through your News Reader:
    News://msnews.Microsoft.com/Microsoft.public.Security.virus
    Via the Web:
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Security.virus

    I hope this helps.

    [If this post can help solve your problem, click on the button 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Faded voice and echo on calls after the last update

    After the last update that was available from the 11 calls the volume of calls is now low on the end of receivers and they also get an echo in. I called the help line and they suggested that I run a repair I did reset my phone, but that still has not solved the problem. They'll call back me Monday to see if the repair worked.

    What happens if you turn off the microphone noise suppression?

  • After the last mandatory update, I noticed that foulders image in my external hard drive would be stuck. This happens often.

    After the last mandatory update to Vista, I noticed that foulders image in my external hard drive would be stuck. This happens often.

    Please fix this.

    Hi Mikepolifka,

    ؠ What updates did you install on your computer?

    Try SafeMode as the first step.

    Safe mode is useful for troubleshooting problems with programs and drivers that might not start correctly, or that might prevent Windows from starting correctly. If a problem does not reappear when you start in safe mode, you can eliminate the default settings and basic as possible cause device drivers. If a program recently installed, device, or driver prevents Windows from running correctly, you can start your computer in safe mode, and then remove the program that is causing the problem.

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    You can also perform a restore of the system on your computer and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    If it works fine after system restore you may have to manually install updates one and check the status.

    Previous post: the result.

    Bindu S - Microsoft Support

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Windows 7 Ultimate 64 bit freezes on startup after the last update.

    I think I have updated a major problem with the latest update from microsoft.

    I've been running windows 7 ultimate 64-bit for over a month now, as I received it for a launch party I was the host.

    That's all works fine but a few nights ago, he just stopped from upward, it just hangs at 'Starting Windows' screen, the windows logo does not yet appear.  He would not go into safe mode and startup repair couldn't do anything.

    This happened right after that I had installed a windows update, but I thought that nothing of all this at once, but one of my friends mentioned that their windows vista pc did the same thing after the last update, still, I don't think not that it was bound.

    I had no other way to get the things on my hard drive, so I tried to reinstall windows on top of the old, it does not work either.

    I gave up, I formatted the hard drive last night and just reinstalled.
    Microsoft Windows 7 Ultimate 64 bit,
    NVidia graphics driver
    Microsoft Security Essentials,
    Microsoft Office 2007 Ultimate,
    Apple's iTunes and Quicktime.

    The computer worked so very well, so this morning I came back to it, it was working fine, there was a box saying that a windows update was waiting to be installed, I clicked it, it was of course a big one because it was the first for this new install to get.  When he asked me to restart, I did, he went through his usual routine and now, as I sit typing this, I am facing screen "starting windows" frozen again.

    My processor is an Intel Pentium D
    I have 4 GB of RAM.

    There is obviously something wrong dangerously with the last update of windows, were there any other reports of this?

    Too, I recently had problems with Win 7 freeze on me. After you have uninstalled all the updates I had installed on 24 December 2011, 1 update could not be uninstalled and it was the update to sp1 of windows 7. After you have uninstalled all updates (except SP1 cause could not be uninstalled) I tried to play again the media and my system hang or aka freeze for a few seconds, and this happened even when I was gaming.  I had a lot of problems after that update, including any media type of videos to play just thrown music windows media player. After restoring my computer to a previous state (before that the updates have been installed) now my computer works normal again. So, for those of you having problems with windows and your way of thinking too yourself Uggghhh, why he did this? Well this is the service pack 1, windows now, I don't know any alternative to restore your computer to an earlier date before the updates took place, and if you don't have a win 7 is pretty smart and im sure they have a restore to the factory settings. These are the only options that helped me get rid of my system hanging up. I hope this helps some people and I'm sorry I can't guide you threw it and the steps how to restore your comp because of parameters factory all the comps are different.

  • After the last updates of windows have problems with start up and now drivers

    Hello

    After the last updates of windows have problems with start up and now drivers. I get an error code 21 when I try to install the drivers AMD apparently missing.

    May 14, last night I had several (automatically) downloaded windows update

    Today, I was unable to boot my computer with Windows - tried the disk check, start checks etc, and eventually had to use System Restore (for help before the critical update to restore).

    Perfection, everything works, but knowing that windows will attempt to redo an automatic update, tried to check online - no one seemed to have a problem and (naivly) thinking I could always do another restore of the system, I rebooted again.

    Same thing worse. Could not do a sys restore either just before restarting or last night. Chose a date earlier (last week) but then lost the USB drivers and pilots display. Downloaded updated but refuses to let my AMD driver install Windows I have a very unpleasant screen... and I must now stop the installation of this update "critical."

    Would appreciate advice how do my installed display driver or whether anyone else has problems following this update

    Thank you

    Hi Jane,

    You have a disk to install Windows 7 with you?

    I suggest you to check the event viewer for error details report.

    Open event viewer.

    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer

  • After the last windows patchday closing all by showing the video (flash/media player /...)

    Hello

    After the last patchday (last week) I can't watch videos. If I watch a flash video or a video with Windows Media Player, after a short period (1 to 5 min) Windows shuts itself. When I start Windows again, it does not open a crash report.
    I reinstalled my video card drivers and - because I thought installation may be broken - Microsoft Visual C++ 2005 and 2008 (redistr.).

    But nothing helped.

    Sometimes I can watch Flash videos all night and then all of a sudden Windows stops.

    Temperature is ok, coolers all run.

    Try a few game demos, they run well.

    I hope someone can help.

    Thank you very much!

    Aljoscha

    My Hardware Specs:

    Betriebssystemname Microsoft Windows 7 Professional
    Version 6.1.7601 Service Pack 1 Build 7601
    Additional Betriebssystembeschreibung not available
    Microsoft Corporation Betriebssystemhersteller
    SystemName NSA-01
    Manufacturer of the Systemhersteller system
    Systemmodell system product name
    Systemtyp x 64-based PC
    Intel Core i5 - 2550 K CPU @ 3.40 GHz, 3401 MHz processor, 4 Kern (e), 4 (r) processor logische (en)
    Version of BIOS/date American Megatrends Inc. 4105, 01.07.2013
    Version SMBIOS 2.6
    Windows-Verzeichnis C:\Windows
    Systemverzeichnis C:\Windows\system32
    Startgerat \Device\HarddiskVolume1
    Gebietsschema Deutschland
    Hardwareabstraktionsebene Version = "6.1.7601.17514".
    Installierter physikalischer Speicher (RAM) 12.0 GB
    Model realer GB Speicher 12.0
    Rechtssicherheit realer GB Speicher 9.74
    Virtueller model GB Speicher 12.1
    Virtueller Rechtssicherheit GB Speicher 9.47
    Big der Auslagerungsdatei 100 MB
    Auslagerungsdatei C:\pagefile.sys

    ----

    Name ATI Radeon HD 4800 Series
    PNP-Geratekennung PCI\VEN_1002 & DEV_9440 & SUBSYS_02781043 & REV_00\4 & 80E7924 & 0 & 0008
    Card Adaptertyp (0 x 9440) ATI graphics, Advanced Micro Devices, Inc. - scripte
    Adapterbeschreibung ATI Radeon HD 4800 Series
    Adapter RAM 1.00 GB (1.073.741.824 bytes)
    Installierte Treiber aticfx64.dll, aticfx64.dll, aticfx64.dll, aticfx32, aticfx32, aticfx32, atiumd64.dll, atidxx64.dll, atidxx64.dll, atiumdag, atidxx32, atidxx32, atiumdva, atiumd6a.cap, atitmm64.dll
    Treiberversion 8.970.100.7000
    INF-Datei oem32.inf (section ati2mtag_RV7X)
    Farbebenen not available
    Farbtabelleneintrage 4294967296
    Resolution 1440 x 900 x 59 Hz
    32 bits/Pixel
    0xE0000000-0xEFFFFFFF Speicheradresse
    Speicheradresse 0xF7E20000-0xF7E2FFFF
    A-E-Port 0x0000E000-0x0000EFFF
    IRQ channel IRQ 4294967294
    A-E-Port 0x000003B0-0x000003BB
    A-E-Port 0x000003C0-0x000003DF
    Speicheradresse 0xA0000-0xBFFFF
    Treiber c:\windows\system32\drivers\atikmpag.sys (8.14.1.6264, 351,50 KB (359,936 bytes), 16.11.2012 20:39)

    Hello

    Try following the s method provided below and see if it helps:

    Method 1:

    It may be that a third-party application is causing this issue. Put the system at boot. Follow the steps mentioned in the article given below to configure the system to boot and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135     

    Note: Once you have finished installing, follow step 7 article to start on normal startup.

    Method 2:

    Also check the power options, if your computer is configured to stop when idle.

    a. power by clicking on the Start button, open the Options click on the Control Panel, clicking system and Maintenance, and then clicking Power Options.
    b. in the select a power plan page, click on change settings for the plan under the selected plan.
    c. on the parameters of change in the plan page, click on change advanced power settings.
    d. on the Advanced Settings tab, expand lid and buttons power, expand power for the start menu button and then do one of the following:

    If you use a laptop, click on battery or plugged in (or both), click the arrow and then click sleep, Hibernate, or Shut Down.

    If you are using a desktop computer, click setting, click the arrow and then click sleep, Hibernate, or Shut Down.
    e. click OK and then click on save changes.

    Here are the articles that should give you more information on this topic:

    http://Windows.Microsoft.com/en-us/Windows7/turn-off-a-computer-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows7/change-create-or-delete-a-power-plan-scheme

    Check if you find an error recorded in the event viewer.

    Open event viewer

    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer

    WHat information appears in newspapers events (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Hope this helps, let us know the status of the issue.

  • After the last update of windows, I now shadows behide the fonts & photos

    After the last update of windows, I now shadows behide the fonts & photos. What has caused this & I can fix it?

    Hello

    What is your Windows operating system?

    Right click on my computer

    Select Properties

    Select advanced system settings

    Running, click on the settings button

    Uncheck show shadows under menus

    Disable shadows decline of use for the desktop icon labels

    Click on apply, Ok

    Click OK

  • SQL query to get the NULL records after the last matching flag

    I have a xx1 table with id and flag columns. So I want the data in this table, after the last flag matched. I want that data to id 7 in the rooms. Even if the id 2,3,5 are null flag 'Y' was at 6. ID so I need a query to get the data of the xx1 table after the last correspondence flag (from 7 to 9 id).

    SQL > create table xx1

    2 (identification number,

    3 flag varchar2 (10));

    Table created.

    SQL > insert into xx1 values (1, 'Y');

    1 line of creation.

    SQL > insert into values xx1 (2, null);

    1 line of creation.

    SQL > insert into values xx1 (3, null);

    1 line of creation.

    SQL > insert into xx1 values (4, 'Y');

    1 line of creation.

    SQL > insert into values xx1 (5, null);

    1 line of creation.

    SQL > insert into xx1 values (6, 'Y');

    1 line of creation.

    SQL > insert into values xx1 (7, null);

    1 line of creation.

    SQL > insert into values xx1 (8, null);

    1 line of creation.

    SQL > insert into values xx1 (9, null);

    1 line of creation.

    SQL > select * from xx1.

    FLAG OF THE ID

    ---------- ----------

    1. IS

    2

    3

    4. IS

    5

    6. IS

    7

    8

    9

    9 selected lines.

    SQL >

    Hello

    user11164339 wrote:

    Hi Frank - when I run the query, I don't see the results data.

    I get

    FLAG OF THE ID

    ----- ----------

    7

    8

    9

    What you do differently?

  • CC of Photoshop (2015) now closes to the boot after the last update (December 15, 2015)

    After the last update (December 15, 2015) to Photoshop CC (2015), at startup, the little splash screen comes up for a few seconds, then closes.  Photoshop just never came up, and there is no error message from Windows (8.1, fully patched) or Ps.  I look at startup in the Task Manager, I see Photoshop.exe come during these few seconds, then disappear.  While the splash screen is in place, and briefly showing the msgs little progress, happens to one that says "shared components... Initializing." "whereupn it closes.  Everything was working fine yesterday (before the update), and the update process actually all went well for a change, with no error message it is.  The platform is a Toshiba Qosmio laptop, and as far as I see it, there is no update for the graphics drivers, etc.  All other programs (including Ps CS6) work very well.  Suggestions?

    Hi kimmersly,

    Greetings.

    • Right-click on the icon and click on run as administrator, see if it works
    • If it does not, then try reinstalling PS CC 2015
    • Restart the computer, and then check again.

    Concerning

    Rohit

Maybe you are looking for

  • Remove the adware

    Hi, I'm using macbook pro 13' mid-2012. With OS X El Capitan already installed. I have problem with adware that displays always upward when I'm using Google Chrome. I already try to clean malware using the application third (Malwarebytes), Yes, they

  • How do I add a cumulative word count pages

    Help, please

  • Hypergammas vs Slog2

    I would like a discussion on real-world scenarios for using the new HypergammasHG7 8009 40 G and HG8 8009 G 33. And secondly when these Slog2 better? Thank you!

  • Get Rescue and Recovery

    Lenovo Toolbox suggests get Rescue and Recovery, but ThinkVantage System Update does not offer it. How do I get it? Thank you. Jim White

  • Why no video playback on TWO videos

    4 downloaded videos from a digital camera to a desktop computer. Two of the videos will play using Windows Media Player, but the other two do not. WHY?