< af:selectOneChoice > back to INDEX not a REAL VALUE! *****

Hi gurus,

How can I get the value of the selectOneChoice user interface in my Bean support. I have the element selectOneChoice lie in my grain of support. While shot the next page button, I'm trying to get the value of the bean. But it returns the index of the selected not value the real value. I put the valuePassThru = "True". But still I can not able to get the value in my grain because it is up to the index only.

* System.out.println ("ChoiceOne value is" + choiceOne.getValue ()); *

Please let me how can know I get the not the index value in backing bean.

Thank you
klogube

Hi klogube,

You can try with this?

Write this code in your method to support bean.

FacesContext ICSC = FacesContext.getCurrentInstance ();
ValueBinding vb = null;
DCIteratorBinding dcIter = null;
String txnType = null;
VB = fct.getApplication () .createValueBinding ("#{bindings.") SampleVO1Iterator}");
dcIter = (DCIteratorBinding) vb.getValue (CTF);
rowIndex int = Integer.parseInt (selectOneChoice1.getValue () m:System.NET.SocketAddress.ToString ());
Line rw = dcIter.getRowAtRangeIndex(rowIndex-1);
If (rw! = null) {}
txnType = rw.getAttribute("AttributeName").toString (.trim ());
}

I hope that you will get the dropDown value. :)

Abhijit-

Published by: Abhijit Dutta, 10 December 2009 14:59

Tags: Java

Similar Questions

  • RAM Preview plays is not in real time on the new Macbook Pro

    Hello world

    I have problems getting after effects to play the video in real time in AE CS6. I use a brand-new Macbook 2015 Pro 13 "retina with a dual core 3.1 GHz processor Intel Core i7 and 16 GB of RAM. I just made sure my copy of AE CS6 is up-to-date with the latest updates (11.0.4.2), and yet I am unable to read the video or animation in real time using the RAM Preview to any size greater than 25% in the Viewer.  If I try to play a video clip of 29,976 fps, the framerate tops out at about 17-18 frames per second. When I press 0 for the RAM Preview, it starts caching the images such as normal, but even after a loop continuous cadence comes not near real-time. The audio plays fine, but the video starts immediately behind. I can't even a scene of simple great test of a form of retouching layer move on the playback screen in the real time RAM Preview.

    That said, I can get it to play in real time if I reduce the viewer up to 25%. But obviously, I won't be limited to work in quarter resolution on a new laptop. My last Macbook pro from 2008 and completely across the well treated RAM previews, being able to cache images and play them back in real time without problem.  I have to assume that there may be a function that I'm missing or something goes wrong, unless I just grossly overestimated the capabilities of my new laptop.  But surely, it should be able to manage simple video playback. I had no problem using first on this computer, then it can of course deal with the video.  Any help you can offer would be much appreciated, because this problem becomes really frustrating!

    Just for fun, try the trial of CC 2015 and see if it behaves correctly.

  • "Back" button does not work and lost bookmarks

    I followed the instructions that Firefox has been extremely slow. He said my favorites would be saved and everything should work as usual. However, I lost all my precious Favorites, and now the back button does not work. She is pale grey all the time, and itls drives me crazy, that I can't go back to the search page. I have to type everything in full again.
    If I can't change it, I'll have to switch to another web browser, after being with Firefox for more years than I care to remember.
    I liked using Firefox and have recommended it to all my family and friends.
    I'm very angry on my favorites, because I used these regularly and had a few coordinates links and important model for my sewing and knitting, as well as time-saving links. Now, I'm completely lost without them.
    If this isn't the page said it would be saved, then I would not have changed anything.
    It's very frustrating and annoying, after spending months, where I wanted and now he lost get it all because of the wrong information. I am very anxious.
    Lesley

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

    You can see if you can restore bookmarks to a JSON or a compressed backup of JSONLZ4 in the bookmarkbackups folder in the "Old data Firefox" folder on the desktop.

  • 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:

  • I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    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:

  • "Back" button does not work with the latest version of any help?

    Hi, I use the latest version. When I go through the pages, I can not be able to return to previous pages. The back button does not work. When I click the back button, the same page, it's not coming back... Any help would be much appreciated!

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    You can click right back or front button to open the history list.

    You can hold down the left button of the mouse either back or next to the history tab list opens.

    The current active entry has a bullet in front of it.



    If you place an entry in the historic session with the mouse tab, so you see an arrow to the left pointing (rear) left or right (forward) to show the direction.

    You can left click on an item to open it in the tab active or middle-click or Ctrl, click on an entry in this list to open that link in a new tab, just as you can with the other links.

  • I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    If it is possible to turn off the WiFi on the Time Capsule, which only leaves you with the option to back up your Mac (s) using a wired Ethernet cable connection between the Mac (s) and the Time Capsule.

    Are you OK with that?

  • "back" button does not work and the home page does not display on startup

    My buttons next and previous no longer work. They show just gray and I cannot click on them.
    Also my home page does not appear when I launch firefox.
    I reinstalled firefox 4 and then I went back to firefox 3.6.16 and have the same problem in both versions.
    Don't know what to do anymore
    I just found out that when I opened a second window everything works well in the second window, but it still does not work in the first window.
    The same thing happens when I close both windows. The first window of my home page does not appear and the back button does not work, but the second window is operating normally. Including my home page.

    Try:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    • Makes no changes on the start safe mode window.

    See:

  • Why not Firefox 4.0 back button does not work since the homepage or google search?

    I've just upgraded to firefox 4.0 tonight, and the back button is not working properly of my homepage or certain types of google searches.

    I can reproduce this problem every time by following these steps:

    (1) open a new tab, and I get a blank page.
    (2) select the Home button. I find myself at http://www.google.com/ig
    (3) go to the address bar type in a new URI, and press return

    Now, I leave my home page and go to the new page, but I can't go back to my home page.

    Similar behavior happens if I do a search on google for the address of quick search in the upper right.

    (1) start a new tab.
    (2) enter a search term and press enter
    3) click on one of the links to research and you transition to the new page, but the back button does not work.

    It works fine if I do something like:
    (1) open a new tab.
    (2) enter google.com in the address bar and press to enter.
    (3) do a GOOGLES search arae.
    4) click a search result link.

    This works very well for me.

    In my case, I turn off the Add McAfee SiteAdvisor 3.3.1 and the problem goes away.

  • "Put it back" option (Trash) not.

    Hello

    I'm on El Capitan 10.11.2.

    I just discovered that if I opened the bin and just right-click on a file, the "Deliver" option is no longer there (was there in Yosemite).

    The option is also not displayed by pressing and holding the Option key and clicking right.

    Apple says this:

    OS X El Capitan: delete files and folders

    support article that the Finder should show 'File-> set Back' option (when the bin is open and an item is selected).

    However, in my case the Finder is also not showing a 'put Back' option (also not when I press on and hold the Option key).

    Anyone with a solution for this?

    Best regards

    emeu1

    Hello

    I just found out that the 'Deliver' option is only for items delete myself.

    If the removal is made from an application (in this case iTunes), the option 'Handed' is NOT available (for one reason or another).

    Best regards

    emeu1

  • My network password box keeps coming back, and does not deal with e-mail.

    network password box problem

    My network password box keeps coming back and does not deal with e-mail, this just started happening, why

    Hello

    ·         What mail client do you use?

    ·         Were there any changes made on the computer before the show?

    ·         Are you making reference to the box to pop up while accessing an e-mail program like Windows mail or Outlook?

    Please provide us with more information about the issue so that we can help you further:

    If you are facing this problem on Outlook, see this link:

    http://Office.Microsoft.com/en-us/Outlook-help/i-get-an-enter-network-password-prompt-HA010151354.aspx

    Alternatively, you can ask the experts in the forums of Outlook:

    http://answers.Microsoft.com/en-us/Office/Forum/Outlook

  • dedicated on microsoft 4000 keyboard back button does not work with firefox

    Hello-

    I have a microsoft 4000 keyboard.

    He dedicated the buttons back and next to the navigation of the browser: http://xahlee.info/kbd/ms_keyboard/i/ms_n4000_keyboard_LED.jpg

    the back button does not work with firefox

    other info: the next button does not work with firefox. buttons next and previous works with IE, tor and chrome. the keyboard shortcut for back in firefox (alt + left arrow) does not work.

    I've tried clearing cache and cookies and start firefox in safe mode.

    advice?

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand you have questions only by using the back button in the Firefox browser.

    But I would like more information on this topic in order to help you.

    (1) the back button worked before with Firefox?

    (2) don't you make changes before this problem?

    According to your description, there is no problem with the material since it works with Internet Explorer and Google Chrome. Previous key does not only work with Firefox. Therefore, I would advice you to check with Firefox and see if that helps, because they have more expertise on products here to help you better.

    Support for Firefox

    https://support.Mozilla.org/en-us/products/Firefox

    Hope this information is useful. Please write us back for assistance.

  • How to bring back the deletion note invites in sticky notes in Windows 7?

    How to bring back the deletion note invites in sticky notes in Windows 7?

    To enable the guest of note delete automatically, go to http://support.microsoft.com/?id=971605 and click on Fixit.

     

    To enable the guest of note remove manually, follow these steps:

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows

    1. click the Start button, type regedit into the search box and press ENTER.

    2. look for the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\StickyNotes

    3. double-click on the PROMPT_ON_DELETE registry entry.

    4. in the value data box, type 00000001, and then click OK.

    5. in the file menu, click exit.

  • Publish the services in Lightroom: internal error? : 0:attempt to index field 'export setings' (value zero). On 10 64-bit windows. I uninstalled and reinstalled Lightroom (x 3), uninstalled and reinstalled the plugins etc, etc. Anyone with a real solution

    Hello

    I think I found the problem to which there is no solution. Lucky white Heather. This happens just as I'm building a site to which I'm now uploading - Smugmug.

    Publish the services in Lightroom: internal error? : 0:attempt to index field 'export setings' (value zero). On the 64-bit windows 10 platform: desktop. I uninstalled and reinstalled Lightroom (x 3), uninstalled and reinstalled the plugins etc, etc. Anyone with a real solution?

    Help

    Andrew

    Hi André,.

    See this similar thread: 'Services to publish' question in Lightroom

    Kind regards

    Claes

  • the back and are not virtual machines running on Isilon

    Hello vExperts.

    Could someone please share the details of the back and to not execution of virtual machines on EMC Isilon...

    We have a problem of IOPS / serious storage s, don't have just enough time zones and no money in the budget for more, but we have an Isilon with certain capabilities, I don't have all the details in front of me that I write this message about what nodes and others look like but soon as I have them I will add them in the post.

    For now, if someone wants to throw me some knowledge around deployment of virtual machines on Isilon before blindly go us in that direction that would be great

    Thanks for you input in advance!

    In short: not to run virtual machines on Isilon.  Been there, done that, didn't like it much at all.  You will cause you grief.

    We tried with KVM and ESXi and neither works well. EMC has tried to run, but even their its saying not to.

    I love Isilon but not not for hosting virtual machines.

Maybe you are looking for