Is there any way to avoid restoring the beans that are in the request scop?

Hi!
The problem is that I don't want to have my beans reloaded by the Restore View lifecycle's fase. I CAN'T put them into the session and if I don't do so, every time I click in a commandLink or commandButton for example, the first thing the JSF does is to reconstruct the bean used in the previous view before following to the next view.
Some properties of the beans are populated through data base access. The problem is that when I just want to go from a page to another I don't want to have this kind of bean reconstructed.
Any ideas? I'm I doing anything wrong?
Thank you all!

In a valuechangelistener you can do this. I've tried it and it works well
     PhaseId phaseId = event.getPhaseId();
          //incorrect phase
          if (phaseId.equals(PhaseId.ANY_PHASE))
          event.setPhaseId(PhaseId.UPDATE_MODEL_VALUES);
          event.queue();
          // correct phase
          else if (PhaseId.UPDATE_MODEL_VALUES.equals(event.getPhaseId()))
load backing bean here

Similar Messages

Maybe you are looking for

  • Background Jobs running for long time.

    Dear All, I had done the Homogeneous System Copy on my ECC 6 QA System successfully by restoring the offline backup of Production system. My system is up & running but  I have some Performace issues in the system. I also observed that some jobs are r

  • Downpayment is not clearing even after invoice has been fully paid

    Good day to everyone, I am currently having an issue with a down payment not clearing even though the invoice has been fully paid. to my understanding, once the order is fully invoiced- down payments should be cleared as well, am i correct? The order

  • What is the best way to get the UID of any selected page item (frames, rectangle etc)?

    I need UID of any selected item on page and also array of UID's in case multiple selection happens. How can I achieve it? One way I know is to write an observer and attach it on every new page Item created, but that way the system might become slow a

  • Oracle 11g(R1/R2)

    Windows 7 enterprise RAM:4 GB SYSTEM TYPE: 64 bit OS I would liek to install Oracle 11g and iam not able to find the binaries. I have downloaded it from OTN but while installing it says not compatiable.. Could you suggest the link to download the cor

  • Updates for CS5 bridge and raw

    Been using CS5 and have tried to add updates to bridge and/or raw and each time it says to close bridge, to proceed. I closed bridge and still un able to proceed to add updates. What an I missing? Thanks for any help, Rick