Drop Down - maintaining Order of the List Problem

Hi,
I have a Drop Down where the Code is
  <h:selectOneMenu styleClass="alignRight" id="myDropDown"
                       value="#{myBean.yCode}"
                       onchange="submitPageX();"
                       title="select any one in this menu">
        <f:selectItems value="#{yCodeList}"/>
      </h:selectOneMenu>It is rendered properly and I can see the value in my backing bean when the Drop Down value changes.
Currently the Values in the Drop Down is in the same order as they are in the List which is populated in the Backing Bean. The Drop Down Component is common for all pages and is like a Header for all the pages.
My question is if I have 3 Values in the Drop Down and the User selects the 2nd Option is there a way to keep the Order of the Drop Down Values same but have the 2nd Option Selected in the Drop Down.
So until the User changes the Drop Down Values himself the Value selected by User is displayed as the selected Value.
e.g.
Jack Displayed Currently
John
Sarah
Now User select 2nd Option.
Jack
John Now in the subsequent pages JOHN should appear in the drop down by default but and the order of drop down remains same.
Sarah
One way to do is to alter the Order of the list and then by default the first option is shown in the Drop Down, but I dont want to alter the List order.
Thanks in Advance

That sound pretty easy.
Just set the value of #{myBean.yCode} to the user selected value during the subsequent page loads which use the same drop down.
I guess that will do the trick.

Similar Messages

  • Firefox4 on ubuntu, after awhile when I click on bookmarks and then move the cursor down to a bookmark, the list of bookmarks disappears. A stop and start of firefox4 fixes the problem but what is the long term fix?

    I upgraded to 4 and I noticed that after 4 has been up for an hour or so I click on the bookmarks. I see my list of bookmarks below but when I move the cursor down to select one, the list disappears.
    The only way I have found to fix this is to stop and start 4. I can then move the cursor down to select a bookmark. This problem has not occurred in previous versions.
    ps.. no '''''delicious''''' installed

    No, I see the three areas at the bottom of the Bookmark area that you refer to, but that also highlights an issue.  When I want to save a story to my Reading List and click on Share then "Add to Reading List" then go back to look at what is stored in the Reading List, my recently-saved item is not there.
    I looked thru the History tab and the Reading List tab and have been in the Bookmark tab.  But even when I Save a Bookmark, that newly-saved Bookmark does not show up in the Bookmark area.
    But then again, the next day (and actually just in the last half-hour) all of the functionality came back.  When I look at the Bookmarks, suddenly, again, all of the Bookmarks that are on my Safari browser on my iMac are now there, and I can now Save a Bookmark.
    It keeps coming in and out and that is what is driving me a little nuts.
    Thanks.

  • Where is the drop down arrow next to the back and forward buttons that provided a list of previously viewed web pages?

    before firefox 4.0 i was able to go straight to a page several pages back by clicking the drop down arrow, then clicking the desired site address. now i have to click the back button over and over until i reach the desired site. what a pain! absence of this feature alone makes me want to go back to version 3.6XXX

    I was also desperate no to find my arrow after updating Firefox so I did some research --which by the way is quite difficult when you do not know what to call that arrow-- but thankfully I arrived here fairly quickly.
    It saves me half an hour of research, so thanks ^^
    I never would have guessed that you had to right-click... I tried it a couples of times and have to agree with gk2011, it is not very convenient.
    Well, I suppose I shall try the addon then.

  • Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?

    Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?  I use this for my mobile, on-site auto repair business and not being able to call up repair and diagnostic info and reference for some cars is troublesome for sure. It works fine on the computer and I have installed a remote desktop app as a workaround but it is unreliable because the desktop is not business dedicated and may be off or in use at the time. So is there a known fix for this?
    Let me paint a more descriptive picture, visualize 4 drop down selection menus, first one is for year, next one is for make, 3rd one is model and the last one is for engine size/type. If I wanted to choose a 2012 vehicle it wont work because it is the top selection on the list. This can be forced by selecting any other year and then coming back to 2012. Ok fine, but then let's say I wanted to choose Acura as the make, well it won't take it because again it's the top selection. Again you work around it be selecting any other make and coming back to Acura. Ok now select the model, same trend follows. But now since most Acura vehicles come with dedicated engines and no optional engines I have only 1 selection in that final drop down menu and it will not take my selection and therefore never let me proceed to the info I need.
    This is also true when ordering parts from my wholesaler's website, they use drop downs and I can only get to that last drop down and then I'm stuck. This is blindingly frustrating, what options do I have. I'm not opposed to any avenue at this point.

    Did you ever figure this out? I bought my iPad last week to use in my business as well. I assume you are trying to use alldata? That is where I noticed this same issue. I had problems with identifix working with safari but downloaded a different browser and that works fine. Alldata does not work with either browser. The main difference is that on identifix if there is only one engine selection, it automatically selects the only option and continues to the home page. With alldata you have to make the selection manually even if there is only one option. Honestly if I can't get this to work I am going to return the iPad as it looses a significant amount of usefulness to men

  • When I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome the b

    when I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome this.

    Delete abd re-enter your Facebook account information jnder the accounts tab in the iPhoto preferences
    You may also want to take a look at the user tip for Facebook problems
    LN

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • When I type in "www" in the navagation space I get a drop down that shows all the web sites I have visited! How do I turn this off?

    # Question
    When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? edit

    That drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
    *https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • When in yahoo mail I can't move mail into the drop down folders below HTheeninyaabout the 9th folder I the drop down menu.

    When in yahoo mail I can't move my read mail into the drop down folders below about the 9th folder in the drop down menu.  What am I doing wrong?

    To all, embarrassingly enough, I have discovered that I didn't know how to expand the three categories including 'Bookmarks Menu' in the 'Bookmark This Page' pop up interface. It was expanded by default on the initial Firefox opening and first page bookmark attempt. Next use it only showed categories. I clicked and double clicked the 'Bookmarks Menu' line, but failed to see the small, shaded triangle used to expand/collapse list. If it appears collapsed, just tap triangle at left of line to see all folders. It seems to open the same way after I do it for first time. Sorry for the inconvenience, and thanks for all the attempts to help.

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Awesome. I REALLY appreciate this. Everything you said directed me to do all the right things. Thanks again. It really is nice not to have to type in my e-mail each time I log in to my frequently-visited sites.

  • [svn:fx-3.x] 11672: We no longer destroy the drop down in updateDisplayList if the drop down itself is active , this was a regression from 8906.

    Revision: 11672
    Author:   [email protected]
    Date:     2009-11-11 14:07:26 -0800 (Wed, 11 Nov 2009)
    Log Message:
    We no longer destroy the drop down in updateDisplayList if the drop down itself is active, this was a regression from 8906.  The change made in 8906 was preventing users from using up/down to navigate drop down selection.
    QE notes: None
    Doc notes: None
    Bugs: SDK-23661
    Reviewer: Alex
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23661
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/ComboBox.as

    Hi,
    Pls check if the history option has been disabled on the gui's  menu --> options --> local data --> history.
    Also the history is set to on or immediately and the users c drive has sufficient disk space.
    Since the history has been deleted it would take a few entries before it appears again.
    Also there is a possibility if the work directory has the *.ldb and *.mdb files which stores the history information.
    If this is not existing then it woould be a good idea to reinstall the gui to get this files back to ensure the history is captured.
    Cheers Sam

  • How do i insert a drop down calender to insert the date field.

    How do i insert a drop down calender to insert the date field i my create a form

    Hi,
    You can use the date object FormsCentral provides. When you test the form in browser, the date field will show a pulldown calendar when clicked upon.
    Thanks,
    Wenlan

  • Is there any way to stop the print screen from dropping down on top of the page to be printed.  Can the print screen be moved?

    Is there a way to stop the print screen from dropping down on top of the page to be printed.  Can the print screen be moved?  When the print screen drops down, it covers the page and the info needed to create the file.  Thank you

    You will find that this is application dependent.  Most Apple applications such as Safari and Mail will use the "sheet" type of dialog boxes that you are referring.  There is no way for the user to change that behavior.  Other, non-Apple, applications like Firefox use a "modal" dialog box for printing etc.  The modal boxes can be moved around so you can see the page behind.

  • How do I go back to my old version of Firefox. 4 does not allow me to use two finger mousepad control to expand or contract my screen. Also I don't like the lack of a drop-down arrow next to the back/forward buttons.

    I don't like to have to click and drag to see the drop down history of the back/forward buttons - this requires two fingers or a double tap and hold finger motion. MUCH easier to click and release and take my time to pick the screen I want to go back to, then click on that link with a separate motion.
    I especially don't like that I can no longer expand and contract the screen with two finger motion on my mousepad!!!
    Generally, I don't see any advantage to the new layout - and I have a slight preference to having my tabs closer to the screen rather than above the address bar, since I more frequently click on tabs than on the address bar. If you want to improve the view I would recommend combining the very topmost bar which is part of the window surround with the File Edit etc bar (and please keep File, Edit, View History, etc separated instead of putting them into a dropdown). This will allow the viewer one more line of text on a given webpage, and eliminate the wasted space which is only used to identify the window as FF and provide the close window buttons
    PLEASE help me go back to the old version. It was perfect.

    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • I can't print my statements from banking websites - the option to print (drop down file menu) from the website is greyed out

    I do my banking online, and have previously been able to print my statements off the website. Since the last update, although the page shows in the browser as normal, the option to print from the drop-down file menu is greyed out and I cannot print anything, even if I try and select a portion. It is not a problem with the website as I can print without a problem in another browser program. This problem has now persisted for quite a while with no resolution over time. How do I get Firefox to allow print from a secure website (I assume that is the problem?) It occurs with more than one secure site (two different banks)

    I have the same problem... not being able to print website 'Print' pages. I have read carefully the above link and have followed the reset directions in about:config, but I still cannot print in Firefox. Both Google Chrome and IE work perfectly every time. I have verified that the correct printer is selected and that the margins are in order (0.5 all around happen to be what mine are set for). I have resorted to use the Firefox Add On "View this Page in IE" whenever I need to print something. Works like a charm, but come on... it should work in Firefox too! I know there is some setting or something, but the Problems_printing_web_pages link had nothing there that worked for me.

Maybe you are looking for

  • Decode Function Help

    Hi, I am new to Oracle Development. MY Requirement: I need to populate a column 'ISMSG' with YES / NO based on the following condition When code = 'S' or 'O'......the column 'ISMSG' should display YES else NO.. ie output should be like CODE ISMSG A N

  • Wrong description of Material in Sales order

    hi when i enter a material in items area in sales order the description is comming wrong for FI languae. can any one help me in this regard.

  • Default page size in Safari

    I can't seem to find a way to keep my Safari's setting after I've properly sized the browser page after Safari loads. After I load Safari I hit "Command +" twice and that sets the size perfectly for my eyes, monitor size, and Safari window size. How

  • Cannot Include and exclude selectiion on hierarchy node in the Filter area

    Hi, When i open the query and execute it. and select the filter area for hierarchy nodes. The include and exclude selection is disabled in 3.5x analyzer. We are using BI 7.0 with SP 12. we just upgraded. Can you please help. is this functionality not

  • Error -196736202​0

    Hi everyone, Someone could help me with this error: Error -1967362020 occurred at an unidentified location Possible reason(s): IAK_SHARED:  (Hex 0x8ABC701C) The provided refnum is invalid. I have a subVI which get an element from a shared variable. T