How can I tell when I'm in a postback

The app I am maintaining does a lot of work in the construction of it's request scope pages. I really would like to avoid repeating this work in a postback since the app is dog slow.
I just can't seem to figure out where to determine this. Everything derives from AbstractPageBean. I've discovered isPostBack(), but it seems to always return true. I also found prerender() which is supposed to be invoked when a page is actually going to be displayed(*not* a postback with navigation to another page), but it doesn't seem to ever get called.
There must be some way I can determine when a page is going to be dieplayed so that I can avoid all the work of setting it up if it isn't going to be displayed.
Thanks for any pointers,
Dave

I filed a bug about this but it hasn't been fixed yet.
isPostBack does return the correct value in the init method so I usually capture the value there and save it for use by the prerender() method.

Similar Messages

  • On IOS 7, how can you tell when your battery is charging for your phone?

    on IOS 7, how can you tell when your battery is charging for your phone?

    thanks everyone=you all helped.
    I wasn't used to not getting the 2 sided plug- now I know I am ok>
    **hugs**

  • How can I tell when an ical event was added?

    I'm on a shared ical calendar and there are times when 2 events have been put on at the same time.  How can I tell when the event was added and by who?
    Thanks!

    sharifrommo wrote:
    I am concerned that someone used the card on a different account. I'm assuming based on what you indicate that it can't be traced?
    If there is a legal issue I am sure Apple would properly respond if the records were subpoenaed, but short of that I do not know of a way. 

  • I'm having trouble turning on my ipad and how can I tell when it's fully charged?

    I'm having trouble turning on my ipad and how can I tell when it's fully charged?

    Try a Reset - hold the Home and Sleep/Wake buttons down together for 15 seconds.
    Have you read the User Guide?
    Unless the charge indicator has bee turned off you see the percentage charged in the top right of the screen.

  • What is iMovie doing after update?  How can I tell when it's done?

    "Updating" a whole lot of old iMovie events to the new iMovie 10 library.
    When I tried to trash the old events the OS warned that they were "still in use".  No problem, I thought.  Shut down iMovie, and then trash the old events.
    Well, when you try to shut down iMovie it tells you there are still "tasks being completed in the background" and that if you shut down they won't ever be completed.
    so......
    What are these tasks?  (iMovie 10, after a big import, is using about 20-25% of a CPU continuously, according to Activity Monitor)
    If I do shut down despite the warning what are the consequences?
    How can I tell when it's done and I can safely shut down iMovie? (I guess I sould wait and see if it ever stops warning me).

    Did you read the manual? It's usually explained on what does all this stuff mean on the screen. I don't think the manual that comes with the Micro isn't the player's guide but if you install the software I think, you can look it up by going through Start>Program Files>Creative>Creative Zen Micro>User Guide. This is the default directory.
    Anyway, yes your Micro is charging and if you want to play your music on your MP3 player while it's charging you can use Nomad Explorer to play the music on your computer or use Creative Mediasource to play the music and hear it from your MP3 player. You can't control your MP3 player so just use your computer. It's not that hard to learn.

  • How can I tell when a text message is  received and opened

    how can I tell when a txt message has been received and opened ?

    Correction: How will I know when a SMS or MMS text message has been received and opened when the person I'm texting has an Android phone ? My last phone was Android and had a setting that notified me when my sent texts were received by someone. Just got my iPhone about a week ago.  Totally different.                                                                                                                                                                                             
                     

  • How can I tell when a product was first purchased

    How can I tell when a product was first purchased

    Apple - Support - Check Your Service and Support Coverage you will see the date when your warranty is about to expire, subtract the time it has been in warranty and you'll know the data of purchase.

  • How can I tell when my discounts will end? I can't find that info on "My Verizon"

    How can I tell when my discounts will end? I can't find that info on "My Verizon"

    What type of discounts?  Employee, plan promotion, ?

  • How can I tell when my macpro was bought or made?

    How can I tell when my macpro was bought or made?

    Mac Pro (desktop) issues should be asked in its forum area.  This area is for Macbook Pro issues. 

  • How can I tell when my iPhone 3GS was made?

    How can I tell when my iPhone 3GS was made?

    Plug the SN in here:
    http://www.chipmunk.nl/klantenservice/applemodel.html

  • How can I tell when a video has captions?

    Is there a way (an icon or something) to tell when a video has captions? I've paid for several videos only to find out that none of them has captions. How can I tell whether a video has captions before I buy it?
    A related question-- Are there any videos in the store now that do have captions? How can I find them?
    --Gil

    I have the exact same question. One of the main reasons I pre-ordered Leopard for launch-day delivery was that I thought that iTunes and the new iPods would now be able to play captioned videos. I know that it is supposed to work, but I can't find anything in the iTunes Store that says that it has captions. Is there some way to tell, or are there just no videos available yet in the iTunes Store that have captions?

  • How can I tell when my monitor calibration is "right"?

    I have had good success with the built-in Mac calibration routine in the past with my Viewsonic CRT. It seems to work OK with my 20" Cinema Display, and another flat screen, but I have trouble with the first step of the calibration settings - there isn't any position on the left slider that looks right. I recently got a Spyder 3 Pro monitor calibrator and the results are SO different from my Mac calibration I don't know what to do next. I had good results before.
    How can I tell if the Spyder profile, or the Mac profile is "right"?
    Does the Spyder work properly with the Cinema Display?
    With the Spyder I am using 2.2 and 6500 as starting points. I have important projects going to press so I need to know that I am sending out good files.
    What is the final standard of "rightness" when it comes to monitor calibration?

    Brian Townsend wrote:
    I have had good success with the built-in Mac calibration routine...How can I tell if the Spyder profile, or the Mac profile is "right"?
    Does the Spyder work properly with the Cinema Display?
    With the Spyder I am using 2.2 and 6500 as starting points...
    What is the final standard of "rightness" when it comes to monitor calibration?
    There is not one standard because it depends on your output. For you, it sounds like the standard is that your screen gives you a rendering as close as possible to the press proofing standard that your company and your clients sign off on. In other words, a neutral gray and certain colors look the same on screen and on the print on your proof under your standard lighting. Your starting points sound OK, but for example, they would be wrong if your lightboxes are D50.
    It's highly unlikely that the built-in profile is better than the Spyder. A hardware sensor is far more objective and accurate than the human eye.
    I'm mostly repeating stuff I read in Real World Color Management so if your paycheck really does depend on this stuff you might read it or any other color management book. ColorWiki and the Chromix newsletter are other good resources for this.

  • ITunes 12-Please please restore side bar functions for playlists -and how can i tell when and if it is safe to "eject" devices after synching

    ITUNES 12-4points
    1) Please restore the easy function whereby the side bar easily accommodates playlists
    2) How do i know when devices can be ejected following synch--no visible drop down ?
    3) How can i change the fonts and font sizes of the library-over and above the noddy large/small toggle in preferences
    4) Look forward to a proper Apple update which includes  full functions of iTunes radio. Hurry up with the latter-Spotify is overtaking you guys!

    How do i know when devices can be ejected following synch--no visible drop down ?
    I can only tell you based on what I see w/ my iPhone...
    When I plug in my iPhone I get the following icon on the top bar:
    If I click on that (that's when it turns blue), I get a sidebar.  At the top I see this while it is syncing:
    The circle-arrows spin.  Once the sync is finished, I see this:
    I then know the sync is over and I click on the Eject icon that replaced the circle-arrows.
    Are you seeing something different?

  • How can I tell when an iBook was purchased?

    I can see all iBooks purchased, I am wondering how to tell when it was orginally purchased from the store?

    You can also view your purchase history through the iTunes Store. http://support.apple.com/kb/ht1923

  • How can I tell when the NEW firmware is available ?

    Although the firmware became available for the 'z2 tablet' very quickly - nothing has appeared for the phone (UK - SIM free).
    I have tried the update several times (with my PC) & am just told 'up to date'....
    I remember with the 'xperia s' I had to check a code (on a sticker inside the rear of the phone) to tell when it was available for me - how do I do this with the Z2 ?

    Unfortunately we are unable to confirm specific date for any particular firmware release due to the nature of the approval process.. For further information regarding the approval process please see here.
    http://talk.sonymobile.com/t5/FAQ/The-software-update-collection-topic/m-p/348066#U348066
    What are your thoughts about this forum? Let us know by doing this short survey.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

Maybe you are looking for

  • Income tax issue without PAN no.

    Hi Expert If an employee having annual compensation INR 1.5 L than he/she will not be come under tax and in this case there is no need maintain the PAN no. in IT 185. My question is that according to SAP if an employee dont have PAN no. because of no

  • Automatic Payment Program(F111) not picking Bank Sub accounts

    Dear all, The entiries genertaed from automatic payment program(F111) is not picking the bank sub accounts (Receipts/Payment GLs) which are given in the following node:- Financial Accounting --> Bank Accounting --> Business Transactions -->Payment Tr

  • SMTP Receiver Communication Channel error: connection refused

    Dear all. When migrating processes from XI 3.0 to PI 7.1 we run into the problem that we can't get the SMTP Receiver Communication Channel working on PI. We get the following error in Communication Channel Monitoring: Message processing failed. Cause

  • Artists not showing up right

    Hello, I have many albums off of TV shows and movies. When i put these albums onto my ipod, the individual Artists do not show up in the artists section of my Ipod Touch. I have unselected the compilations section and realised that as i was putting t

  • Tabs and leader

    Couple of questions for all of the ID experts out there. Thank you Peter for responding to my last post...this project is still very much a work in progress. Unfortunately it has fallen on my lap as a last minute project and has given me little time