Restore View State does not restore bean's internal variables

Hi,
In the Restore View State a new instance of the bean (in usage) is created and UI-component tree is restored.
My problem is that i need to acces to the internal variables of the (old) bean, and they are not being restored to the new bean.
In my case, I have a variable that is accessed in the submit-button action function, but this funciton is called by the new bean (where internal variables were not restored).
Can anyone help me?
thanks,
portela

I have never used x:saveState, juste read some information in the myfaces forum (I suggest to have a look at this forum, some useful information should be found there).
In your web.xml, have you configured the save state on the server or on the client?
<context-param>
<description>
State saving method: "client" or "server" (= default)
See JSF Specification 2.5.2
</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>

Similar Messages

  • TS1702 I HAVE IPOD TOUCH MODEL A1421 AND IT WILL NOT RESTORE AND IS STUCK IN RESTORE MODE. DOES NOT RESTORE WHEN ATTEMPTING THROUGH ITUNES. PLEASE HELP!

    I HAVE IPOD TOUCH MODEL A1421 AND IT WILL NOT RESTORE AND IS STUCK IN RESTORE MODE. DOES NOT RESTORE WHEN ATTEMPTING THROUGH ITUNES. PLEASE HELP!

    If iTunes sees the iPod, try a manual install, as pointed out on link below.
    Troubleshooting 101
    Some topics covered
    -Basic troubleshooting steps
    -Hard reset instructions
    -Manual restore instructions
    -Hardware troubleshooting
    -Preventive Maintenance
    -Anti-theft & recovery tips
    -Battery-saving tips
    -Repair options
    -Contacting Apple
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • TS3274 It does not restore-unknown error is shown

    It does not restore-unknown error is shown

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
     Cheers, Tom

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Yesterday double clicked home button and all of my apps disappeared; cannot shut off i-pad, and syncing it does not restore apps or enable me to use it again. Help!

    Yesterday double clicked home button and all of my apps disappeared; cannot shut off i-pad, and syncing it does not restore apps or enable me to use it again. Help!

    See if this fixes things.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • HT1937 i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)

    i have a white iphone 4 that says it was approved but restoring from itunes does not show (congrats unlocked message)
    hel

    MaDCrackeR wrote:
    Email from AT&amp;T says the IMEI number was approved for unlocking
    ..........4S that worked fine and it shows the message "congrats unlocked" in itunes
    When restored. But the 4 does not. AT&amp;T insists its unlocked but they are only going off
    Of the request and IMEI number. Is there a way from the phone i can verify it was unlocked?
    If AT&T e-mail says it is unlocked, then believe it is so. Insert non-AT&T SIM inside and after backing up restore in iTunes again. Unlock gets attached.
    You can check the status of the unlock request on AT&T web-site.

  • Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Make sure the silent switch is not set to mute.  If you can see the red dot, it is on mute.
    It may think you have headphones plugged in, try plugging and unplugging a wired headset a few time.
    The next step would be to restore as new.
    If none of that works, a warranty exchange would be the resolution.    

  • HT201269 i had a 3G iphone with IOS 4.0.2, my new iphone is 4 (IOS=7.0.2), the backup from 3G to 4 does not restore. (eror=restoring backup session failed) , help me plz for restoring ?! :(  TNX

    Hi all ,i had a 3G iphone with IOS 4.0.2, my new iphone is 4 (IOS=7.0.2), the backup from 3G to 4 does not restore. (eror=restoring backup session failed) , help me plz for restoring ?!   TNX
    <Personal Information Edited by Host>

    Well, first off, you are not addressing Apple here. This is a user to user PUBLIC forum. You should not post your personal information like that. Try closing iTunes, reboot the computer and connect again. Are you using the latest version of iTunes, v11.1?

  • TS1456 When it is trying to restore it freezes and does not restore.

    When it is trying to restore it freezes and does not restore.

    If no error messages
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • HT201263 My ipod touch does not restore properly and comes up with an unknown error (9). What do I do?

    My ipod touch does not restore properly and comes up with an unknown error (9). What do I do? I have tried restoring it a few times and it keeps coming up with this error. Yet on Itune on my computer, it tells me that the ipod software is up to date. ipod screen is just showing the itune logo and a usb connector.

    Error 9
    This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if the device is manually disconnected during the restore process. This issue can be resolved by performing USB troubleshooting, using a different USB dock-connector cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.
    http://support.apple.com/kb/TS3694#error9

  • HT4946 I backed up and encrypted with password but on restore the password does not work. Advice

    I backed up and encrypted with password but on restore the password does not work. Advice

    After a HD failure on my 2009 iMac,, fittgyed new oner, installedf os (tiger), from original disk, restored all documents etc. changed password with disk utility. over 48 hrs re3setting permissions so switched off. all seemed ok. downloaded combined os updates. Now my password does not work. tried rersetting, no go. Terminal does not have rest password on.
    Any suggestions please

  • My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.

    My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.
    i have tried to restore it to different firmwares, tried resetting ,dfu mode , different systems etc etc nothing worked

    My iphone 3gs does not restore and is stuck on white screen and a message in itunes which says "waiting for itunes" plz help.
    i have tried to restore it to different firmwares, tried resetting ,dfu mode , different systems etc etc nothing worked

  • Mail Viewer Window Does Not Open on Launch. Mail Will Not Quit. MAIL BADGER

    <UPDATE> After detailing all of the problems below, I discovered that trashing the Mail Badger bundle solved all of the below problems. I am still posting this just in case anybody else has this problem.
    Problems:
    1. When opening mail.app, the program opens, but it does not launch a Viewer Window. I can open a viewer window manually from the File menu, however.
    2. When quitting mail.app, it will not quit. It does not matter whether I hit command-Q, or Mail>Quit Mail, or right-click on dock icon and click Quit. The only way for me to quit is Force Quit. No matter what Quit command I execute, nothing happens. The Viewer Window does not close. (The Viewer Window will close on command, however, either by clicking the red 'x' or by command-W, or by File>Close.
    3. Cannot send mail from mail.app. Upon clicking "send" on a new email, it just goes to the Outbox and sits there forever. I can try sending the email again from the Outbox, but nothing happens. (I have 4 gmail accounts, with a couple thousand messages between them. There are no problems with port configurations or smtp servers or anything like that - I am fairly certain anyway because nothing has changed w/ regard to the account settings between the time it was working and the time it stopped working.)
    4. After minimizing the Viewer Window, clicking on the mail.app dock icon does not restore the Viewer Window. The only way to restore the Viewer Window is to click on the Viewer window itself in the dock, rather than clicking on the application icon.
    Notes: I have installed 10.4.10. I have also installed Safari Beta 3.0.2
    I previously installed Safari Beta 3.0, then uninstalled it and upgraded to 3.0.2. I don't recall when the problems started, (under 3.0 or 3.0.2), but they all happened at the same time (rather than one at a time).
    I have uninstalled Safari 3 and reverted to Safari 2, but this does not fix the problems.
    I have repaired disk permissions.
    I have booted from the OS X Install disk and repaired my startup disk.
    I have not had any problems with Safari 3 "hanging" on install, thus corrupting the WebKit, as described in other threads.

    I had the same issue and resolution. Spotlight search for "Mail Badger" and deleting everything resolves the issue.
    I'm also running Safari 3.0.2 and 10.4.10...
    I've emailed the developer to let him know about it..
    15" MacBook Pro (C2D) SR   Mac OS X (10.4.10)  

  • Restore in iOS 5 not restoring my preferences

    I just had to restore for the first time since installing iOS 5 and the restore from my backup does not restore my preferences (wallpapers, sounds, settings, etc).  I have been using iPhone since the first gen and this is the first time this has ever happened.  Very aggravating.  Any one else running into this?

    Yes I have the same problem. I've restored it twice today and given up in disgust.  I lost all my ringtones as well and although I have had advice on how to get them back it didn't work either time. 
    Hope someone out there has the answer.

  • The view 'cpdpopupeditactionsview' does not exist.

    I just installed UCM without any issues as far as I could see, but when I log in as sysadmin at http://localhost/idc/ I always get a popup box saying:
    "The view 'cpdpopupeditactionsview' does not exist."
    Looking for the cpdpopupeditactionsview string in the UCM installation directory gives me this:
    grep -i cpdpopupeditactionsview -R $UCM
    $UCM/server/custom/ContentFolios/templates/idc_folio_display.js:          "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
    $UCM/server/custom/ContentFolios/templates/idc_folio_display.js:     idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);
    $UCM/server/weblayout/help/admin/folios_admin/wwhdata/js/search/search0.js:if(x.t("cpdpopupeditactionsview"))y.f("7,1");
    $UCM/server/weblayout/help/admin/folios_admin/wwhdata/java/search.xml:<i t="cpdpopupeditactionsview" l="7#1"/>
    $UCM/server/weblayout/help/admin/folios_admin/page_1_08.htm:&lt;a name="wp1090240"&gt; &lt;/a&gt;&lt;div class="pSmartList1"&gt;&lt;li&gt;CpdPopupEditActionsView&lt;/li&gt;&lt;/div&gt;
    $UCM/server/weblayout/resources/folios/util.js:          "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
    $UCM/server/weblayout/resources/folios/util.js:     idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);Anyone know why this is happening?
    Thanks

    Hi
    This issue is resolved by manually uninstalling the ContentFolios component via editing the database directly. This only works if the client does not have any ContentFolio data - created or migrated; if they do have existing Content Folio data this will cause great harm to the integrity of their collection.
    1. Uninstall the ContentFolios component.
    2. Delete the following tables from the database;
    CpdArchivedLinks, CpdBasketLinks, CpdChangeHistory, CpdLinks
    3. Delete the entry for ContentFolios from the Config table.
    4. Restart the Content Server.
    5. Install the ContentFolios component.
    Hope this helps
    Thanks
    Srinath

Maybe you are looking for

  • PowerMacG5 - Geforce FX 5200 and TV Out

    Hello, Does the Apple DVI to SVideo adapter works fine for sending my movies on tv ? I've got a PowerMac G5 DP1.8GHz with a Geforce FX 5200 video card. Thx for reply.

  • Metadata not populating captions

    I'd really appreciate some help with this problem... I want to set up a page of thumbnails and then display a selection of information from the metadata as a caption below each one. This has worked well in the past, but now only the info re the lens

  • How do I activate turn by turn navigation iPhone 4 iOS6?

    I'm usually a really nerdy person who will stay at something until I figure it out, but I cannot seem to get the voice turn by turn directions on my iPhone through apples new map application. I look at demos and I never even get so far as to see the

  • WLC 2504 AP Options

    Is there way to group APs to get different profiles. I need to have some that have the 2.4GHz turned down and some wiht the 2.4 and 5.0 GHz on.

  • After Effects CS4 and NFS Network Drop-Outs

    Hi all, We're experiencing a high number of NFS drop-outs ever since we've upgraded our department to AE CS4. I'm not saying CS4 is the culprit, I'm just saying this is when we started noticing the issue. 13 Apple MacPro 8-core systems. 12 Leopard, 1