[BUG]: af:commandButton attended the requestScope variable does not work

It took me two days to understand, and I wonder if this is a bug:

I have a page that can be accessed twice, let's call them 'left' and 'right '. I want the page to know which side I was coming, so I put a variable requestScope on buttons navigate to this page, something like this:
<af:commandButton action="toPage">
  <af:setActionListener from="left" to="#{requestScope.sideFrom}"/>
</af:commandButton>
I have two buttons on the page, we need to navigate back to the left and the other to return to the right. Only is rendered according to the variable requestScope.sideFrom.
"They say rendered =" #{requestScope.sideFrom eq 'left'} ' and the other says rendered = "#{! requestScope.sideFrom eq 'left'}.

A single button to work, i.e. for which the rendered property evaluates to true < b > when is press button < /b >. My requestScoped variable no longer exists when I press the button to navigate back so that its behavior is changed. Weird how?
Should I file a bug?


I refuse to do a variable sessionScoped and back with buttons back IMHO that's what requestScope is to change.

I'm on JDeveloper 11.1.1.6

Wendy,

To amplify what Timo has rightly said: JSF goes through its joyful life cycle, is one of the steps to rebuild the tree of components in memory. When you use the property made, this particular component is not in the tree of components - it is as if it does not yet exist according to JSF. Then, when it comes time to respond to the events, the event is not seen or is ignored (I don't know who) because JSF think not that this component is present. As rightly says Timo - this behavior is why the 'visible' attribute was created.

John

Tags: Java

Similar Questions

  • Another BUG in Acrobat 9.4.5 - Find does not work

    I made the mistake of updating to the latest version of Acrobat 9.4.5 and discovered that the search function does not work well.  For example, I have to enter a Word to search for in the 'search' and click back.  In versions, previous PDF would jump to the first instance of the term or phrase and then highlight the word.  Now, the PDF page, but don't highlight the word!  Then... I'm stuck reading the text to find the word, which is a lot of extra work and the time I did not. This is a crucial problem because I'm looking for documents for the terms all the time in my work.

    I found a workaround solution that is not very satisfactory, but it's better than nothing.  Instead of using ' find next in PDF ", I use" Open full Acrobat Search "which is a command on the search dropdown menu.  This command opens a separate window, which is inconvenient because it disappears behind the document if you need to browse the PDF file. However, if I do the research, it shows all instances of a component in the context of the sentence where it appears.  So, if I click on the occurrence of the word in this part two (Yes, two), it will highlight the word in the PDF file. You cannot use the following button as you could in previous versions, because this function will not put the word.  Anyway, given that there are other bugs in this version that I read on this forum, I'll probably go back to the previous version and completely turn off the automatic update feature in Acrobat.  I'd like to come back was a fast process, but I don't think it is.

    I will also tell everyone in my circle of friends to avoid automatically update Adobe Acrobat in the future. Adobe obviously does not test the software well. Wish I could load Adobe for the time and frustration they caused me!

    Hello:

    This morning, I was prompted to install the latest version of Acrobat 9 Professional, version 9.4.6

    Fortunately, the find highlighting the bug has been fixed!

    Curiously the Release Notes (see http://kb2.adobe.com/cps/837/cpsid_83708/attachments/Acrobat_Reader_ReleaseNote_9.4.6_8.3. 1.PDF ) do not mention this bug being fixed.

  • As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    Have you installed the latest update of Pandora (version 7.6), posted on September 13, 2016?

  • How to copy and paste into the search engine does not work?

    How to copy and paste into the search engine does not work?

    It should be.

    Restart your Mac and try again.

    Other than that, make sure that OS X is updated.

    Open the App Store, and then select the updates menu.

  • When in my wordpress dashboard, the Visual Editor does not work?

    Regularly when I'm in my wordpress dashboard, the Visual Editor does not work. Sometimes, not all the time. I tried the following:
    Disabled individual plug-ins
    Theme modified
    cache cleared
    uninstalled, then reinstalled Firefox
    'disable the Visual Editor' unchecked

    Thanks a lot for any help

    When this happens, you are totally unable to type/edit in the edit box, or are there limited functionality? The toolbar appear?

  • my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Sometimes there are items (usually not more than one) with the name of this form:

    com.something .net - preferences.plist

    This name consists of four words (the third hyphen) separated by periods. Typical example:

    com.jangly .net - preferences.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    com Tether.plist

    The first three are clearly not VSearch files because the names do not match the above models. The last three are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

  • can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    Are you sure that you do not have to register on this site through the usual way and what you should be used elsewhere on the site?

    Have you tried to contact them to help this topic or to check if they have a FAQ on this subject?

    I found this in another thread that you created [*]:

    I'm not sure do I bought a home income internet james ashley program and I copied the login info I was given and the password does not fit into the window of password and I forgot the link password does not work I sent emails, but do not receive an answer im don't know what to do is anyway you can help me to recover my info or help me change the password?

    I assume that you have downloaded and installed this program and need to use this password in this program or only you can use these data to download the program from the site james ashley?

  • The CD/DVD does not work with El Capitan 10.11.5 on Macbook Pro

    Hello everyone, I spent the time to research on the here and the other site on why the CD/DVD does not work with El Capitan 10.11.5 on MacBook Pro mid 2009. This discussion forum has said that he will not work with the El Capitan software. Any idea or suggestion? Back to Marverick or Yosemite? I tried to use SMC reset, restart, recovery and still the same issue.

    I thank in advance.

    ~ Mike

    I have my doubts that the (10.11.5) software is the problem.  Are you sure that the DVD player is simply not defective?  Have you tried to clean the lens?  What is the State of the disc?

    Your best option may be a date at a bar in engineering of the Apple store for a FREE evaluation.

    Ciao.

  • The new tab (+) does not work, or the file/new tab feature

    The new tab (+) does not work. The function of the file/new tab does no more work. Both had worked correctly until noon today. I haven't added any software, plug-ins or extensions today, I do not have the Ask toolbar. I tried several of the suggestions made on this site, nothing helps.

    This problem may be caused by an extension that does not work in the current version of Firefox.

    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 start safe mode window or make changes.
  • Firefox automatically updated itself, would not add new bookmarks, then deleted all mine, will not always add new, now the back button does not work. I'm Livid.

    I think I'm on Firefox 13.0. He put itself as part of the update of my computer up to date (at least I guess that's what happened, because it has changed). I noticed yesterday that he would not favorite Web sites, but I thought it was just the website or bookmarks have been full-time or something. Today, I tried to remove a few bookmarks to make more, but they would not remove. I tried to register a new site, and it wouldn't work. I tried to close/exit firefox and re-opening of the program. While the program was closed, I installed the next set of updates on my computer. When I have opened firefox, all my favorites, and the tab menu (or what you call personal small bar on the actual tabs) were gone. I can't always favorite of new sites, so I can't even re-do all my favorites (and I got a lot, all of them arranged so it's a big loss and incredibly annoying). Then I realized that the back button does not work. And the cursor remains on the typing that I symbol, it does not change the arrow, when I click on a link.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • The scroll feature does not work on my mouse.  I installed new batteries, but it still does not.

    The scroll feature does not work on my mouse.  I installed new batteries, but it still does not.

    Look in the system Prefereces - mouse and make sure the scrolling feature is set up how you want. If the action still does not work, please reset the SMC and the PRAM by iMac SMC and the PRAM reset

  • Firefox 6 is a disaster, not only the google toolbar does not work but also yahoo toolbar

    I've updated to firefox 6 and now my yahoo toolbar does not work. It was first the google toolbar is not compatible with firefox 5 now the yahoo toolbar does not work HELP?

    See this - http://help.yahoo.com/l/us/yahoo/toolbar/toolbar2ff/troubleshootff/;_ylt=Akw3jVWwVDlujfQI3kFVqduJsHdG

    Check and tell if you are able to solve the problem.

  • When I enter a Web site in the url of the Enter key does not work. I have to click on the arrow at the end of the line. Is this a configuration problem?

    The Enter key does not work in the line of the URL. If I go says:
    www.Bing.com
    and then press the Enter key, nothing happens.
    I have to click the arrow at the end of the field in order to activate the link.
    If I am anywhere else on any page the Enter key works as it should.

    Please click the button of resolved next to the answer that solved your problem of Firefox support, when you are connected.

  • Satellite A10 S203: the CPU fan does not work properly?

    I have toshiba satellite a10 s203 and the cpu fan does not work correctly. What can I do about it?

    Hi SACRIFICE them.

    Here are some possible solutions to this problem of fan.

    1. When you have installed a base installation of MS (not the Toshiba Recovery CD) you need to install the Toshiba Power Saver and others utilities from the CD tools & utilities. The energy saver is responsible for the control of the fan.

    2. If you have a recovery based OS, you can update the energy saver of http://eu.computers.toshiba-europe.com site Web Toshiba under Support & Downloads - Download Driver

    If please check this and an answer then follow the next step!

    CAMPino

  • Satellite C660 - the SHIFT key does not work

    Hello

    I have a problem with a Satellite C660.
    The keyboard, I cannot use the SHIFT key. After you have installed windows everything worked properly, the problem recurs after a few days. Practically the SHIFT key does not work.
    On the one hand I'm the A and the other side works like ESC.

    Help me I'm crazy.
    Thank you.

    Hello

    To me that sounds more like a keyboard failure, I can't imagine that it could be linked to the question of the windows operating system do you have tested an external USB keyboard.

    Please test this. In this case, you can check if it s really a software problem.
    If the USB keyboard works correctly, it means that your internal keyboard is malfunctioning.

Maybe you are looking for

  • Engine does not turn

    That is the problem. I have connected to Umi-7764 and a scientific P70360 drive of the Pacific, the wiring is as follows: UMI-7764-> p70360 J4 terminal screw control IO 26 female pin inhin1 (bar above)-> fault-(PIN 8) inhout1 (top bar)-> enable-(6-pi

  • I forgot the password, but I single code

    Dear Sir / Madam,. Please help me I forget the id hotmail password I forgot the security issue, but I have the unique identification code please help me urgently please

  • network time consuming to connect since the installation of readycache

    Hi guys Although my readycache works great and theres no problem, the network takes longer than usual to connect, so much and so well I start now 'steam' client manually is there a way to get the network connected before caching software... or is thi

  • Error 0X0000007B (inaccessible boot Device) to start.

    From two days ago, about 8 or 21:00 my computer freezes whenever I clicked on any icon or attempted to open anything. Not even all that normally appears as yahoo messenger and all my other programs popped up. After this has is spent several times I w

  • GW-Basic for Windows 7

    Where can I download GW Basic for Windows 7 64 bit