[BUG]: af:commandButton rendered with requestScope variable doesn't work

This took me two days to figure out, and I wonder if it is a bug:
I have a page that can be navigated to on two occassions, let's call them "left" and "right". I want the page to know what side I came from, so I set a requestScope variable on the buttons that navigate to this page, a bit like this:
<af:commandButton action="toPage">
  <af:setActionListener from="left" to="#{requestScope.sideFrom}"/>
</af:commandButton>I have two buttons on the page, one is to navigate back to the left and one to navigate back to the right. Only one is rendered, depending on the requestScope.sideFrom variable.
One says rendered="#{requestScope.sideFrom eq 'left'}" and the other says rendered="#{!requestScope.sideFrom eq 'left'}"
Only one button works, namely the one for which the rendered property evaluates to true <b>when the button is pressed</b>!! My requestScoped variable doesn't exist anymore when I press the button to navigate back so it's behavior is changed. How weird is that?
Should I file a bug?
I refuse to make it a sessionScoped variable and change it back with the return buttons Imho this is what requestScope is for.
I am on JDeveloper 11.1.1.6

Wendy,
To amplify what Timo rightly says: as JSF goes through its merry lifecycle, one of the steps is to rebuild the component tree in memory. When you use the rendered property, that particular component is not in the component tree - it's as if it doesn't even exist according to JSF. Then, when it comes time to deal with events, the event isn't seen or is ignored (I don't know which) because JSF doesn't think that component is present. As Timo also rightly says - this behaviour is why the "visible" attribute was created.
John

Similar Messages

  • CUDA Rendering with GTX 770 doesn't work!

    I cant render with my GTX 770! AE CC Version 12.1.
    I've tried everything! Other Driver's for the GTX. Try to delete the Card from the List an klick on "Unsupported GPU enabled for CUDA acceleration" .... NOTHING WORK FOR ME! The GPU is everytime at ~0% Load ...
    Sorry for Bad English

    It seems that you misunderstand what the GPU is used for.
    The GPU is used for very little in After Effects. Unless you are using the ray-traced 3D renderer, no rendering will be done on the GPU.
    See this:
    http://blogs.adobe.com/aftereffects/2012/05/gpu-cuda-opengl-features-in-after-effects-cs6. html

  • Why tethering with USB cable doesn't work after IOS6.0 update?

    why tethering with USB cable doesn't work after IOS 6.0 update?

    Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot

  • ITunes 10.4 full screen with Win7-64bit doesn't work correctly.

    iTunes 10.4 full screen with Win7-64 doesn't work correctly. I have the Windows taskbar on the left side of my screen. Maximized iTunes is panned to the left.

    Same issue here. When the Windows taskbar is position on the top of the screen and then the iTunes windows is maximised, it's position is as if the Windows taskbar is at the bottom of the screen so the top of the iTunes window sits under the taskbar.
    For those wanting a workaround, hold shift and right click the iTunes icon in the taskbar/quick launch bar and click restore, at least then you can adjust it to be full screen manually.
    System:
    Windows 7 Ultimate x64
    iTunes 10.4
    ATI 5750 video card

  • LAN with TCP/IP doesn't work

    Hello,
      I have a problem with my laptop IdeaPad S10e 4187-5PG: LAN with TCP/IP doesn't work, after I have updated all the drivers to the latest ones form the Lenovo site (except BIOS update). I tried to check if LAN worksby sending a ping to the IP address and that is OK, but when Isend a ping to the default gateway it failes. A ping to the DNS server also fails.Could you please help me because I tried everythinh and I can't getthe LAN to work.
    Thank you very much

    Perhaps you could describe you network in a little more detail.
    Is this a Workgroup home network or are you connected to a Domain server?
    If this is a workgroup are you connecting to the internet via a cable or DSL router?
    Do other computers on your network connect OK?
    Has your S10e ever worked properly on the network?
    Are you connecting via a wireless access point or LAN cable? 
    What do you Ping on and from where?
    Can you Ping OK on another networked computer?
    Open up a DOS Prompt (aka command prompt, DOS Box). and type IPCONFIG  /ALL <enter>. Do you get a compatible IP address and subnet mask? You should also get the gateway IP address.

  • In day 4, video # Creating "pages" with Flex states doesn't work

    i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    More information please.
    Version of Reader? OS?  Can you open reader by double-clicking on its icon? Can you open reader by double-clicking on a pdf file? What programs are trying to open reader? Some programs might be restricting your ability to view pdf files using the Reader plug-in due to security concerns. If this is the case you need to find out how to enable the plug-in in the case of each application.

  • Comcast came to fix my internet. My AIRPORTWIFI now only works with desktop. it doesn't work with my IPhone or IPad. Why? What can I do?

    Comcast came to fix my internet. My AIRPORTWIFI now only works with desktop. it doesn't work with my IPhone or IPad. Why? What can I do?

    Hello lila54,
    It sounds like your Wi-Fi network is working if your desktop works with it, we just need to get the Wi-Fi on your iPhone and iPad connected to it.  I found a couple of resources to help with not being able to connect to Wi-Fi on an iOS device.
    I recommend following the steps in this tutorial first (the steps should work on the iPhone and iPad):
    Join a network
    http://www.apple.com/support/iphone/assistant/wifi/
    If you are still having trouble connecting to Wi-Fi, follow the steps in this article (you can skip any steps you have already taken):
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thank you for posting in the Apple Support Communities. 
    Best,
    Sheila M.

  • Another BUG in Acrobat 9.4.5 -- Find doesn't work

    I made the mistake of updating to the latest version Acrobat 9.4.5, and discovered that the Find feature doesn't work right.  For example, I enter a word to search in the "Find" box, and click return.  In past versions, the PDF would jump to the first instance of the term or phrase and highlight the word.  Now, the PDF jumps to the page, but doesn't highlight the word!  So... I'm stuck reading through text to find the word, which is a lot of extra work and time that I don't have. This is a critical problem because I search documents for terms all of the time in my job.  
    I've found one workaround that isn't very satisfactory, but it is better than nothing.  Instead of using "Find Next in PDF", I use "Open Full Acrobat Search" which is a command off the Find pull-down menu.  This command opens up a separate window, which is annoying because it disappears behind the document if you need to page through the PDF file. However, if I do the search, it shows all of the instances in a pane in the context of the sentence where it appears.  Then, if I click on the instance of the word in this pane twice (Yes, TWICE), it will highlight the word in the PDF. You cannot use the Find Next button as you could in previous versions, because this function will not highlight the word.  Anyway, given there are other bugs in this release that I've read about in this forum, I'll most likely just go back to the previous version and completely disable the automatic update feature in Acrobat.  I wish going back was a quick process, but I don't think it is.
    I'm also going to tell everyone in my circle of friends to avoid automatically updating Adobe Acrobat in the future. Adobe obviously doesn't test the software well. Wish I could charge Adobe for the time and frustration they've caused me!

    Brianwrx,
         The Acrobat 9.4.5 update bugs where the first "hit" on each page is not highlighted when doing a Find/Search and no longer being able to use Shift & Ctrl on the Pages pane thumbnails to multi-select and move/delete pages are well reported by many to have been introduced coincident with the Acrobat 9.4.5 release and not a MS Windows update.  I'm not sure what is going on with your 9.0.0 Pro Extended.
         For seasoned Adobe to break such commonly used features in Acrobat 9, never have regression tested these basic functions given the 3 month (or longer) release cycle, and not have broke it in Acrobat X doesn't reflect well on their development/test process.  Then, there are web forum recommendations prodding to upgrade to Acrobat X -- which completely changed the User Interface and will result in significant loss of productivity while bridging the learning curve and dealing with new functional/compatibility problems.  Furthermore, it is something how OCR Suspects are never found/flagged in Acrobat 9, and then were finally fixed in Acrobat X (forcing the need for a paid upgrade to get a bug fix and have to relearn the interface to boot).   
         Adobe's poor quality 9.4.5 release update does me more harm than good when considering other settings to improve Acrobat security (turning off Java-Script, not automatically trusting sites from the Win OS security zones, and not allowing the opening of non-PDF file attachments with external applications under the Edit menu - Preferences).  Adobe has made no official commitment to fix its bugs or provide a release date in the 10+ weeks since the awful 9.4.5 code was thrown over the fence to unsuspecting auto-update customers without any practical/simple way to back it off to 9.4.4 -- even though in all probability it will take the programmer one day each to fix the bugs with some additional time to test/release).  It is interesting that there have been no critical Acrobat security issues (as evidenced by no Out-Of-Cycle releases since 9.4.5), which should mean their programmers have more time to fix these bugs and restore stable functionality in 9.4.6.  As for "not being able to use Shift & Ctrl directly on the Pages pane thumbnails to move pages" (another 9.4.5 bug), the circumvention to drag a window around a group of pages, hold down Shift, and drag a window around a second group of pages should be further clarified with the following: Once your blue highlighted contiguous/non-contiguous pages selection is made, be sure to drag a thumbnail graphic directly to move the selection and don't try to drag the blue shaded perimeter area (which results in clearing the blue highlighting).  This does provide a decent circumvention for that bug -- as compared to the cumbersome "Full Acrobat Search - Advanced Search Options - double-clicking each Result line" circumvention for the Find/Search first "hit" non-highlighting bug.  I implore Adobe to listen to your customers and please take a "do no harm" conservative approach to updates/enhancements in the future.

  • USER Exit variable doesn't work in BSP

    Hi gurus
    I made a characteristic variable with user-exit replacement type.
    It get the user id from sy-uname. It works well in Gui version. But when I execute the layout in BSP (WI), it doesn't work.
    But If i do the hard-coding the line from (l_eto_charsel-low   = uid.) to (l_eto_charsel-low   = '4012121'.) it works well.
    The following is my coding.
    Please give me any comment.
      CLEAR eto_charsel.
      DATA l_eto_charsel TYPE upc_ys_charsel.
      DATA  uid type c. "(also I have tried 'data uid type sy-uname')
      uid = sy-uname.
      l_eto_charsel-chanm = i_chanm.
      l_eto_charsel-seqno = '0001'.
      l_eto_charsel-sign  = 'I'.
      l_eto_charsel-opt   = 'EQ'.
      l_eto_charsel-low   = uid.  ++++>
      INSERT l_eto_charsel INTO TABLE eto_charsel.
    ENDFUNCTION.
    Message was edited by: Bryan Lee

    Hi,
    Your patch level seems to be OK.
    pls. try the declaration as 'Data: uid like syst-uname' or you could try directly assigning the sy-uname.
    Try to debug and see the content of the sy-uname, when it hits this code.
    HTH,
    Regards,
    Nataraj.

  • Selecting with colour range doesn't work properly

    Well, at least to me it doesn't work properly.  If I have elements on seperate levels and I use the colour range option to select the area, it works on all the levels, not just the level I have selected.  That's not what I want!  I only want it to select the colour range on that one level.  The work around is to manually turn off other levels, but on a  file with lots of levels, that can be tedious.  Can this be avoided?  Incidentally, magic wand works only on the selected level, but not colour range (or color range, if you are American).

    Aha! You are correct. Layers above the target layer are still being sampled when sampling is at "Current Layer".
    That has to be a bug. The Eye Dropper Tool itself does work correctly, though.
    I'm about to report another problem, so I'll report this one, too.
    Edit: Looking again, I don't think there is a bug.
    It seems to not be that the higher layer is seen when sampling "Current Layer", which is correct and the same as when the Eye Dropper Tool itself is use. However, the pixels of the visible composite are then evaluated to determine the regions to be selected. I guess that's correct behaviour and you will have to do the Alt-click on eye trick to completely ignore all other layers.

  • Is it a bug - SSIS 2012 ReadOnlyVariables in Script Task doesn't work

    It's very weird when I use the ReadOnlyVariables in SSIS 2012 Script Task, it doesn't work at all!!! And I never notice this change before, but everything in 2008 R2 is fine! Is it a bug in SSIS 2012 ?
    All the variables I set them to "ReadOnlyVariables"
    In scripts - I assigned some values from system variables.
    String PackageName = Dts.Variables["System::PackageName"].Value.ToString();
    DateTime CurrentDate = (DateTime)Dts.Variables["System::StartTime"].Value;
    // User Defined Variables
    Dts.Variables["User::PV_CURRENT_DATE"].Value = CurrentDate;
    Dts.Variables["User::PV_YEAR"].Value = CurrentDate.Year;
    Dts.Variables["User::PV_MONTH"].Value = CurrentDate.Month;
    Dts.Variables["User::PV_DAY"].Value = CurrentDate.Day;
    Dts.Variables["User::PV_PACKAGE_NAME"].Value = PackageName;
    Execute the package, it works !
    The only thing I can make it as SSIS 2008 R2 does is to change the ReadOnly for each variables.
    Then you will get the error.
    Why do we need this feature here but not to use the ReadOnlyVariables in script task ?
    Please vote if it's helpful and mark it as an answer!

    I can reproduce it as well. Feels like a bug...
    Locking the variable for read in code has the same effect:
    public void Main()
    // Lock variable for read
    Dts.VariableDispenser.LockForRead("User::myStringVariable");
    // Create a variables 'container' to store variables
    Variables vars = null;
    // Add variable from the VariableDispenser to the variables 'container'
    Dts.VariableDispenser.GetVariables(ref vars);
    // Now try giving it a new name
    vars["User::myStringVariable"].Value = "new value";
    // Release the locks
    vars.Unlock();
    Dts.TaskResult = (int)ScriptResults.Success;
    For reference:
    https://connect.microsoft.com/SQLServer/Feedback/Details/991697
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Query variable doesn't work

    Help, I have a query with a variable that doesn't work, if I substitute a valid value for the variable it works correctly. What am I doing wrong here?
    SELECT     T1.FormatCode, T0.Account, MONTH(T0.TaxDate) AS Period,
                          CASE MONTH(TaxDate) WHEN 1 THEN SUM(Debit - Credit) END AS January,
                          CASE MONTH(TaxDate) WHEN 2 THEN SUM(Debit - Credit) END AS February,
                          CASE MONTH(TaxDate) WHEN 3 THEN SUM(Debit - Credit) END AS March,
                           CASE MONTH(TaxDate) WHEN 4 THEN SUM(Debit - Credit) END AS April,
                           CASE MONTH(TaxDate) WHEN 5 THEN SUM(Debit - Credit) END AS May,
                          CASE MONTH(TaxDate) WHEN 6 THEN SUM(Debit - Credit) END AS June,
                          CASE MONTH(TaxDate) WHEN 7 THEN SUM(Debit - Credit) END AS July,
                          CASE MONTH(TaxDate) WHEN 8 THEN SUM(Debit - Credit) END AS August,
                          CASE MONTH(TaxDate) WHEN 9 THEN SUM(Debit - Credit) END AS Sept,
                          CASE MONTH(TaxDate) WHEN 10 THEN SUM(Debit - Credit) END AS Oct,
                          CASE MONTH(TaxDate) WHEN 11 THEN SUM(Debit - Credit) END AS Nov,
                          CASE MONTH(TaxDate) WHEN 12 THEN SUM(Debit - Credit) END AS Dec
    FROM         JDT1 AS T0 INNER JOIN
                          OACT AS T1 ON T0.Account = T1.AcctCode
    WHERE     (T0.TaxDate > '12/31/2007') and T1.segment_1 = [%0]
    GROUP BY T1.FormatCode, T0.Account, MONTH(T0.TaxDate), YEAR(T0.TaxDate)
    ORDER BY T1.formatcode
    Segment_1 is the value I what to let the user enter.
    This query also groups by month, so there is a row for each month, each GL account. Is there a way I can collapse this to one line per account? And show each the GL amount of each month across?
    The purpose of this query is to give a report of each GL account with a column amount for each month.
    Thanks

    Peter,
    Using a fully qualified table reference helps.  I mean [dbo\].[xxxx\]
    Check this out
    SELECT T1.FormatCode, T0.Account, MONTH(T0.TaxDate) AS Period,
    CASE MONTH(TaxDate) WHEN 1 THEN SUM(Debit - Credit) END AS January,
    CASE MONTH(TaxDate) WHEN 2 THEN SUM(Debit - Credit) END AS February,
    CASE MONTH(TaxDate) WHEN 3 THEN SUM(Debit - Credit) END AS March,
    CASE MONTH(TaxDate) WHEN 4 THEN SUM(Debit - Credit) END AS April,
    CASE MONTH(TaxDate) WHEN 5 THEN SUM(Debit - Credit) END AS May,
    CASE MONTH(TaxDate) WHEN 6 THEN SUM(Debit - Credit) END AS June,
    CASE MONTH(TaxDate) WHEN 7 THEN SUM(Debit - Credit) END AS July,
    CASE MONTH(TaxDate) WHEN 8 THEN SUM(Debit - Credit) END AS August,
    CASE MONTH(TaxDate) WHEN 9 THEN SUM(Debit - Credit) END AS Sept,
    CASE MONTH(TaxDate) WHEN 10 THEN SUM(Debit - Credit) END AS Oct,
    CASE MONTH(TaxDate) WHEN 11 THEN SUM(Debit - Credit) END AS Nov,
    CASE MONTH(TaxDate) WHEN 12 THEN SUM(Debit - Credit) END AS Dec
    FROM [dbo\].[JDT1\] T0 INNER JOIN
    [dbo\].[OACT\] T1 ON T0.Account = T1.AcctCode
    WHERE (T0.TaxDate > '12/31/2007') AND T1.segment_1 = '[%0\]'
    GROUP BY T1.FormatCode, T0.Account, MONTH(T0.TaxDate), YEAR(T0.TaxDate)
    ORDER BY T1.formatcode

  • Buttons with multiple actions doesn't work in v32.1

    We had buttons in our previously published folios that bring one multi-state object to first state and second MSO to other state which depends on which button is pressed. It works in app v32.0 and lower, but it doesn't work longer after trying to update our app to v32.1.
    If there is no more possible to have buttons with more than one action, I think we should be warned in What's New in Relaese v32.1 notes. Because it's not happen we consider it as a bug. Can someone please tell us whether this is a permanent change to button functionality in DPS folios or if it is happen by mistake?

    Hello Michelle,
    I was wondering if you were able to see my post today about problems with MSO's and whether you were able to get any solutions for the previous posts on this thread?
    I have been in contact with the Adobe support team with regards to the problems I am having with the App I've created  and sent the App and some sample indesign files for them to look over. They have been really unhelpful and just given me this as the response:
    I have also researched about this issue and would like to inform you that there are several changes which have been incorporated in iOS 8.
    So apps which are created and working with iOS 7 might not work with iOS 8. This is an expected behavior.
    You would have to create the app again with compatibility settings with iOS 8 and then release an update for the same.
    So altogether there has to be another to be app created for iOS 8.
    As we are already 2 weeks over deadline, due to problems with iOS 8, and out of budget to cover the extra work we have had to do so far problem solving these issues, I really hoped for something better than this response.
    Are Adobe really not looking into a fix for this? Is the only solution to limit the interactivity and functionality of DPS apps so they work within the new restrictions of iOS 8?
    Any help would be really gratefully received.
    many thanks,
    Chrissy

  • HT1688 The friend brought to me from the USA iphone 4. I can't use it at all. It with our operators doesn't work. I very much ask you help me to solve a problem.

    The friend brought to me a gift from the USA, and it doesn't work year. Our operators don't understand it. Help me to unblock iphone4
    <Edited by Host>

    This has nothing to do with iPhones in the Enterprise.
    Sounds like your friend is a bit dumb and bought a carrier locked iPhone.  The only way to address this is to contact the carrier to whom the device is locked and find out their unlock policy.
    Oh, and stop being dumb yourself, posting IMEI, serial numbers, and email addresses on a public forum is just plain stupid.

Maybe you are looking for

  • Application Error: "The memory could not be 'read'."

    I am programming an application in C#. I am using an Acrobat Reader control on my form to display PDFs within my program. I have tried a couple of different configurations with the form control. I have drag-and-dropped the control prior to runtime. I

  • Cannot download TV episodes "stopped (err = 9006)"

    I can't download 4 episodes of 19 from a season pass I purchased. I have no firewall, virus-protection, or web-acceleration software installed beyond what OSX provides. I have tried: (1) Checking for Available Downloads repeatedly. (2) Clearing the "

  • Safari 4 Crashing - Disabled all plugins to no avail, help!

    I used Safari 4 Beta and it was rock solid but the release version is bombing out with frustrating frequency. I've removed the only plug-in I use 1Password but it is still happening. This is happening on both my iMAC and Unibody 15" MBP. Both are ful

  • AHT Apple Hardware Test Download & Flash Drive

    Hi guys, I really need to test the hardware on a 13" MBP. Full spec below. The machine has Yosemite installed & I don't have the original install disc. Does anyone know where to download the Apple Hardware Test (AHT) files & how to go about using it

  • Ex Classic PO error

    I am creating PO in Ex Classic and It is getting created but not being transfered to backend. In application monitor I found under PO node when you choose display All than it shows backend PO errors and error is as given below: "Purchase order XXXXXX