RESTORE_VIEW call 2 times

I am using Jdeveloper and I created PhaseListener as follow:
public class PageLoadListener implements PhaseListener {
public void afterPhase(PhaseEvent phaseEvent) {
System.out.println("after phase");
public void beforePhase(PhaseEvent phaseEvent) {
System.out.println("before phase");
public PhaseId getPhaseId() {
return PhaseId.RESTORE_VIEW;
In faces-config:
<phase-listener>sopia.test.view.common.PageLoadListener</phase-listener>
I created a page as follow:
<f:view>
<af:document id="d1">
<af:form binding="#{backing_pages_page1.f2}" id="f2">
This is page1
</af:form>
</af:document>
</f:view>
When I run the page then "before phase" and "after phase" printed 2 times.
I want to print only one.
Please helop me

fbg,
I see the same behaviour as you - however, the listener seems to be only called twice for the initial GET of the page; on postback, it's only called once.
Not sure why, though :(
John

Similar Messages

  • Why does my phone disconnect after 4 hours of call time

    why does my phone disconnect after 4 hours of call time? Is there anyway I can change this?

    You mean that you're on a single call for 4 hours continously, and then it disconnects?
    If so, contact your wireless carrier.  That's a cellular connection issue.

  • Code for N78 to clear call timer ,

    hello to all members,
    i am trying to reset the call timer but N78 keep asking to enter the code , is there any easy way to reset the call timer each month or i need the code , also where i supposed to get the code, thanks
    The only thing necessary for the triumph of evil , is for good men to do nothing .

    If you have changed the code and no longer remember what you used then you are stuck. Your only option, if you still want to do something that requires the code, is to perform a full reset on the phone, which will put the security code back to 12345 but will also erase all of your data.
    So,
    1) Back up all your data
    2) Use Nokia Software Updater to reinstall your current firmware version
    3) Restore your data
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Saw a great tutorial - i think it was called 'time after time' on leavinga trail of freezes in Motion 5.  anyone know where i can find it again?

    saw a great tutorial - i think it was called 'time after time' on leavinga trail of freezes in Motion 5.  anyone know where i can find it again?

    Something like this?
    http://www.youtube.com/watch?v=6fCouFdnz_0

  • How do we know currently active call time in 6680?

    How do we know currently active call time? Whenever we receive or make a call, how can we know the call duration in Nokia 6680?

    Hello!
    Just take a look on page 27 of Manual.
    Recent calls: Connect -> Log -> Recent calls.
    Steps to activate call duration as follows: Connect -> Log -> Options -> Settings -> Show call duration. Select Yes.
    Andrey
    6150, 8310, 2100, 6310, 6310i, 6230, 6600, 6630, 6700, E60, N80, E61, N93
    N95, E61i, E71, E72,8600, 5800, N8

  • '%Total Call Time ' in AWR report

    Hi.
    I have a quick question here,
    For the awr report, the ‘Top 5 Timed Events’ section, does anybody knows how the ‘%Total Call Time ‘ is calculated for each event listed there?
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time Wait Class
    PX Deq Credit: send blkd 5,682,600 3,816 1 39.8 Other
    db file scattered read 91,236 1,681 18 17.5 User I/O
    CPU time 1,347 14.0
    log file sync 99,426 752 8 7.8 Commit
    log file parallel write 97,921 523 5 5.4 System I/O
    Thanks,
    Lei

    922884 wrote:
    Hi,
    Db version is 10.2.0.4.0
    What is meaning of waits and % Total Call Time in Top 5 Timed Events in AWR report? Waits is the number of times a session waited on a particular call
    % Total Call Time is the total time spent in this event divided by the db time, converted to a percentage.
    It gives you some idea of how signifcant this event was in the total time spent waiting by the user. Unfortunately the SQLNet times are excluded in the calculations, so there is a component of time that (from the end-users' perspective) is lost.
    How to read AWR report?Where i have to start from it?
    The best place to start is probably still the white paper about statspack produced by Oracle 11 years ago: http://www.oracle.com/technetwork/database/focus-areas/performance/statspack-opm4-134117.pdf
    How the values are calculated in awr? For example db time is 556.15 and elapsed time is 1,439.73 .
    elapsed time is the clock time between the start and end time of the snapshots, reportedin in minutes - in your case your report covers 24 hours which is generally far too long to be useful.
    db time is the time your sessions were active "inside" the database - again in minutes - and it's a measure of how much time you spent working. It is the sum of wait time and CPU time.
    Regards
    Jonathan Lewis

  • My brand new iPhone 6 Plus showing call time 2 hrs 41 mins when I did not even use the phone yet! Did I just purchased a used phone?

    Hi,
    Can anyone advise why my brand new iPhone 6 Plus showing Lifetime 2 hrs 41 mins under Settings/Call Time? I did not even use the phone to make call yet!
    Thank you.
    Regards,
    SC.

    Hi
    I meant when they test a percentage of devices as part of quality control - to make sure that a particular batch of phones is defect free and market ready
    The Call time is apparently the total time one spends talking on the phone between total resets and wipes
    http://forums.macrumors.com/showthread.php?t=1378469

  • Call Times E71x

    ok so i go to my received/calls made section and i cant see how long my calls were...so i go to the timer area and it only has the time of my last call...how can i see how long other calls were?

    Go to menu - tools - recent calls and you select call time. This will display Last Call, Calls made, Calls received and All calls.  You can reset all of them except All Calls.  There is also a log duration setting (default setting is 30 days) which can be the reason you don't show anything but the last call.  Maybe it reset it.  The setting for this is in options under call time.

  • How to know all outgoing calls time?

    how to know all outgoing calls time?
    4S

    It all depends on your carrier whether incoming vs. outgoing times even matter.
    For example, here in the U.S., AT&T doesn't charge any differently whether a call is incoming or outgoing.  The carrier (AT&T) accepts a text code *646# to give you a summary of your call minutes, but they're divided into "Daytime", "Night and Weekend", and "Mobile to Mobile".  Those three types of minutes are billed differently here.

  • I bought a iphone 3gs 4 months ago had a problem with display service centre replaced me with the phone when i checked the settings of the phone in cellular usage under call time the lifetime usage was 3 days and 18 hours.what sholud be done ?

    i bought a iphone 3gs 4 months ago had a problem with display service centre replaced me with the phone when i checked the settings of the phone in cellular usage under call time the lifetime usage was 3 days and 18 hours.what sholud be done ?

    How is your iPhone's display different?
    You can check the model number by  going to Settings/General/About. These are the model numbers for the various 3 GS models;
    MB715LL/A (16 GB Black), MB716LL/A (16 GB White), MB717LL/A (32 GB Black), MB718LL/A (32 GB White), MC555LL/A (8GB)

  • Does restoring the iPhone reset the call time usage?

    Mine seems to have done, and now I find it hard to know how much time I have used. One other thing, will this automatically reset at the start of a new contract month when your minutes gets renewed? Thanks

    Wasn't the question "does restoring the iPhone reset the call time usage?"

  • Call Timer + Intro to CTI

    I built a small Cisco IP Phone Service in .NET that simply pulls contacts out of an API for a sales program we use and lets you search and display contacts, and then call them from the Service. I want to extend it so that I can save the info for each of those calls. For example, the call-time, who was called, at what time/date, etc. I assume that I have to use some kind of CTI/TAPI thing, but I know nothing about that at all. Can someone point out a resource to look at so I can maybe get this working? Thanks.

    I built a small Cisco IP Phone Service in .NET that simply pulls contacts out of an API for a sales program we use and lets you search and display contacts, and then call them from the Service. I want to extend it so that I can save the info for each of those calls. For example, the call-time, who was called, at what time/date, etc. I assume that I have to use some kind of CTI/TAPI thing, but I know nothing about that at all. Can someone point out a resource to look at so I can maybe get this working? Thanks.

  • How to access phone call timer iphone 4

    does the iphone 4 have call timers for phone calls anf if so how are they accessed

    With the Phone app, select Recents.
    Select the right facing arrow in a blue circle icon to the right of a call to view the call time.
    For total call time, Settings > General > Usage > Cellular Usage > Call Time. There is a Current Period and Lifetime. You can reset the Current Period time for calls and data.

  • Call Time

    Hello,
    I was hoping to get some clarification on something a friend brought to my attention.
    It is his belief that call times on the iPhone used to begin at the point when the call was connected, rather than when you first initiate the call. I thought the call timer on all cell phones began the moment you initiate the call. He believes a recent change has taken place and that calls are being timed and possibly billed differently.
    In the cell phone biz, doesn't the phone's internal call timer start when you hit "send"? Hasn't this always been the way it was? Additionally, isn't it true that the phone's internal call timer does not correspond to the time you are actually billed (which time starts when the call connects)?
    Please advise.
    Thanks!
    Message was edited by: pianoman1976
    Message was edited by: pianoman1976

    Nobody out there has any comment on this?

  • Call Time: Current Period = Lifetime

    I can not figure out why my call times are equal...and the numbers make absolutely no sense whatsover...I bought my iPhone on iDay and have only done a full restore but once back in Sept...am I right to assume that when I did the restore, I wiped out the lifetime stats?...ok, assuming this is an accurate, then I should at least have lifetime stats that reflect since mid Sept which amounts to about 40 days...yet it shows the following for both current and lifetime call time:
    *5 Days 17 hours !!!!!!!*
    I have searched the discussion board for an explanation of what might be causing this but nothing jumped out at me...I saw a lot of responses to the standby and usage time but this isn't my issue...do I have a iPhone replacement issue...I've already done a restart and while that affected the standby/usage stats, the current period/lifetime stats remained unchanged...please, does anyone have an answer for this?...any help is greatly appreciated !

    Hmmm, so since the restore, I've been on the phone 5 days and 17 hrs...ahhh, and since I've never done a reset, that's why they are equal...that clears it up for me...wow, thanks !
    I do have 1 addt'l question, if I may, when I do a reset, will that wipe out both my lifetime and current periods?...or will only the current period reset to zero while the lifetime is maintained for history purposes?
    Thanks for taking the time to enlighten me...I sure do appreciate it

  • How can I separate incoming / outgoing call times?

    Hello,
    I'd like to know, is there's any app or tweak which makes my iPhone to be able to separate incoming and outgoing call times?
    Thanks in advance,
    Marcell

    Go to your recent call list - on any contacts click the blue arrow - it will show you the incoming and outgoing calls separatley.

Maybe you are looking for