Display text (returned by function) after tabelar forom submit...

Hi guys...
Is there any possibility to display text returned by function after tabular form submit?
If yes please tell me how :)
With regards,
PsmakR

The value of the selected row's Display column ("Choice B", for example) is not stored in the field -- only the value of the selected row's Value column ("2") is. With the DDLB's item list loaded the form is able to translate "2" (Value) to "Choice B" (Display) so you see "Choice B". With the DDLB's item list empty there is no way to translate "2" to "Choice B" so you see "2".
If you do not want to save the DDLB's item list with the form you would need to preserve the selected row's Display column in another, possibly hidden, field then use that to display the translated Value.

Similar Messages

  • How to merge data returned from server after you hit SUBMIT button

    I have a PDF form with blank ID field. When user click Submit button on the form, an ID will be generated from database on the server side. How do I merge this ID with client's original PDF from so he knows his ID number? Any help thanks.

    When the user submits the form, he or she is redirected to the web page that you put in the submit URL. The form doesn't generally stick around. A typical response would be to return an HTML page that confirms receipt and gives a reference number. If you want to merge data with the PDF and present that back to the user, it's possible, but not very easy. If you decide that you'd like to go down that path, you can start by searching this forum on "vnd". You'll find a long thread with 30+ messages that show how to merge data with a PDF using various types of CGI scripts.

  • How to refresh the text which is display by windows API function 'findwindow' 'getdc' 'textout'!

    i use the windows api function to dynamelly display text on the frontpanel ,it successed ,but when you move the scrollbar to the left ,right ,top ,bottom,the text will be disappear!! i think it is a very difficulteed problem .in my around ,no one can do! who can help me!
    Attachments:
    textrefresh.vi ‏21 KB
    auto_appear_scroll.vi ‏126 KB

    Very cool!
    It looks like you are using the same functions that LV uses to refresh the screen. Thos functions only let you update within the window you specify. This is why your updates stop at teh edge of the window.
    Normally LV will watch the scroll bar position and re-paint the screen to reflect an scroll bar postion changes. Since you are by-passing LV, you can not rely on LV to refresh your screen when the scroll bars move.
    At this point I can offer two suggestions.
    1) Continue with the approach you started and start adding all of the code required to watch the scroll bars and re-paint as indicated.
    or
    2) Look into the LV Picture control. Based on what you have done using dll calls I would guess that you could probably figure how to do the
    same thing using a picture control. The Picture (being a LV native object) is fully supported by LV so the scrolling work is already done and working. The picture control will let you draw lines, insert text, etc. Take a look at the "Robot Arm" example. It should get you started.
    Finally, the Picture control is pure "G" so it should be platform independent.
    Otherwise let me commend you on your example. You say no one else where you are can do what you have done. After looking at your example, I am not suprised. There are few people in the world that can do what you have done.
    Great work!
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • AS: InDesign CS4: contents only returns displayed text

    Hello,
    I realize that the function "contents" returns only the text displayed within the text frame.
    If the text exceeds the frame (because the frame is too small), the text that exceeds is not included in the text returned by contents of text frame MyFrame .
    How to get all the text of a text frame, including that which is not displayed?
    Thanks.
    Thomas

    hi
    TextFrame.Contents return only what is in TextFrame - if you want to get all text - you need to refer to .ParentStory, in VBS you need to write something like this:
    myTextContents = myTextFrame.ParentStory.Contents
    robin
    www.adobescripts.co.uk

  • I have created PDF from hardcopy by using my scanner. After I run OCR option for my PDF by using Acrobat Pro 9. But "Text-to-speech" functionality of the PDF says that an error message comes up that says the page is empty when I turns on the read out loud

    I have created PDF from hardcopy by using my scanner. After I run OCR option for my PDF by using Acrobat Pro 9. But "Text-to-speech" functionality of the PDF says that an error message comes up that says the page is empty when I turns on the read out loud option in Acrobat. Kindly help me to sortout this problems?

    So I tried generating the same PDFs on two other computers that have Acrobat 9 Pro.  Results were reproduced.  The verdict is:
    - complex PDF files (that is, containing cross-references, tables of contents, and bookmarks) generated by Acrobat 9.x Pro are roughly 2-5x larger than the identical file generated with Acrobat 8.x Pro.
    - different PDF conversion settings make a negligable difference (less than 10% rather than 70-80%).
    - using the "Reduce File Size" or "Optimize PDF" option cuts the file size roughly in half, almost always resulting in a "image downsampling mask" warning message, which requires acknowledgement (that is a problem for batch processing or automation).
    - adding an Acrobat watermark to the file cuts the file size roughly in half.
    - just using Save As to another filename has no effect on file size.
    - generating the PDF in Acrobat 9 with links but no PDF bookmarks still results in the inflated file size.
    - generating the PDF in Acrobat 9 without any links or bookmarks results in approximately the same file size as the Acrobat 8 PDF with full links and bookmarks.
    It appears that Acrobat 9's manner of adding links is what's bloating  the files, and in my case it's probably not related to images or image resolution/print quality.  It's a shame, because Acrobat 9 seems to have made some  improvements to the Review Tracker interface, and a few other bells and  whistles which I haven't really gotten around to exporing yet.  But  unless I find a way to keep my links and the PDF file sizes comparable to what I was  getting with Acrobat 8 Pro, it looks like I'm going to stay with Acrobat 8.

  • Display dialog, getting both text returned and button returned

    I am most of the way through my first major project in applescript. I want to get both the text returned of and the button returned of a dialog box. Is this possible?
    So basically i want to do the below without having the dialog box run twice.
    set thebutton to the button returned of (display dialog "Already Assigned!" & return & "Please assign a new letter" default answer "…" buttons {"Cancel", "Delete Previous Location for this Letter", "OK"} default button "OK")
    set theLetter to the text returned of (display dialog "Already Assigned!" & return & "Please assign a new letter" default answer "…" buttons {"Cancel", "Delete Previous Location for this Letter", "OK"} default button "OK")
    Rich

    Well thanks for the fast response, both work fine, cheers. That problem is now sorted.
    However while i was waiting for the responses i came across another problem, i would like to delete a specified item from a list. This is not the actual script but i was using it to test the syntax. So basically how would i go about deleting the the letter P from a list PQ
    set letterlist to {}
    display dialog letterlist as string
    set namep to "P"
    copy (namep) to end of letterlist
    set nameq to "Q"
    copy (nameq) to end of letterlist
    display dialog letterlist as string
    set theKeyPressed to "P"
    repeat with each_item in letterlist
    if each_item contains theKeyPressed then
    delete each_item
    end if
    end repeat
    display dialog letterlist as string
    Rich

  • Excel & Word file don't display text after 10.6.4 update

    Installed 10.6.4 update last week on an iMac and the cells within my excel sheets went blank. The data is still there but do not show up on screen. Tried several variation of start up and even reinstalled Office only for problem to exist still. New documents will display text but most of my existing office documents appear blank.
    So... Today I reinstalled snow leopard and my text was back & displaying until I ran the OS updates. Every thing was fine until 10.6.4 and poof!!! there went my text in office. This glitch even effects some existing word documents. Graphic, images and pdf's don't seem to be effected. Any body else having this problem?
    Just dumb founded....

    I've been experiencing the same issue. I upgraded to 10.6.4 and I lost several fonts. The interesting thing is I also lost several power point images I had created. Shapes and lines were missing even though they did not involve the offending fonts, at least not directly. There was text elsewhere in the image that used it. Why this should obliterate the rest of the images I don't know.
    The three offending Fonts for me were:
    1) Times New Roman
    2) Arial
    3) Brush Script MT
    Anywho, I managed to fix this on my machine so I'm posting how I did it here. I'm not so sure as to the why, but here it goes.
    On my machine I have 4 font folders
    1) -> System -> Library -> Fonts
    2) -> Library -> Fonts
    3) -> Users -> Me -> Library -> Fonts
    4) -> Applications -> Office X -> Office -> Fonts (yes, I'm still running Office X from 2000)
    Inside of the Font Book application, it was kind enough to point out I had duplicate fonts. Some of these were the fonts in question and others caused me no troubles. Go figure. Anyway, disabling one or the other of the duplicate fonts did not fix the problem.
    Here's what did, though. In my case the duplicate fonts existed in the second of the font directories above (henceforth referred to as Font2) and the third of the font directories listed above (Font3). I browsed to these directories and copied the fonts to my desktop to have a back up. Back in Font Book, I told it to remove each instance of the Arial and Times New Roman fonts that would not display correctly in Excel (for the moment, I left Brush Script MT alone, kind of like a control)
    Now at this point there were no Arial or Times New Roman fonts in my Font Book. Turns out they were removed from Font1, Font2 and Font3, so good thing I have a backup.
    1) Opened up Excel. It did its font menu optimization thing and sure enough, I couldn't see anything.
    2) I close Excel.
    3) I double clicked on Times New Roman that I had in Font4. Font Book opened it and I chose to install it. It put it in my Font3 directory.
    4) I opened up Excel. It did its font menu optimization thing. Suddenly I can see Times New Roman again!
    5) I close Excel.
    6) I double click on the Arial Font from my Font4 directory. Font Book opens it and I install it to my Font3 directory.
    7) I open Excel, it does its font menu optimization thing and suddenly I can see Arial!
    8) I close Excel.
    Now at this point I'm wondering if my old font files got corrupted and because I was installing using the ones from my Font4 directory (which avoids the system directly) I was getting them back. So to test, I told Font Book to remove Times New Roman again, I go through the test of opening and confirming in Excel, and then I install the Times New Roman font from my desktop that I had copied out of the Font2 directory. Everything works fine in Excel. So it's not the file that was bad.
    I was also wondering if I needed to remove all instances of the fonts or if just one was causing the trouble. So I go back to Font Book and remove the instance of Brush Script MT that was in my Font3 directory. When I opened Excel I still couldn't see anything.
    I reinstalled the copy of Brush Script MT from the desktop and tried removing the other instance of the font, the one from the Font2 Directory. Excel still shows nothing. I then reinstall the associated font file from the desktop. Excel still doesn't like me.
    Finally, I removed all instances of Brush Script MT and installed at random one of them from the desktop. Suddenly Excel likes it.
    So I don't know what the problem was, maybe an associated was bad, but either way the only way I could get my fonts back was to remove all instances of the bad fonts from Font Book and then install the font again.
    In between removing and installing I would go into Excel where it would refresh its Font list at startup. Not sure if this had anything to do with it either.
    All my fonts now display correctly and all my powerpoint drawn images show up as well. I hope this helps someone else!
    -Kevin

  • Select list display value in javascript function

    Hi All,
    I have a select list in a tabular form having a display value & return value.
    I am using $x(var_name).value or $v(var_name) for retreving return value of the select list in a javascript function.
    Can anyone let me know how can I get the display value of the select list in a javascript function? Im using Apex 3.2
    Thanks & Regards,
    Sandeep

    What if the select list is not an item. Select list I am talking about is in a tabular form.Regardless of how they're generated in APEX, in JavaScript they're all DOM nodes. There are many ways of accessing the node of the required element. Consider the Items for Order... tabular form on page 29 of the Sample Application:
    var productNameLOV = document.wwv_flow.f04[0] // select list containing name of product on first order line
    var productNameLOV = $x("f04_0001") // another way of accessing the same node, using the ID attribute generated by apex_itemWe can see this using the Safari console:
    => productNameLOV = document.wwv_flow.f04[0]
        <select name="f04" id="f04_0001" autocomplete="off">…</select>
    => productNameLOV = $x("f04_0001")
        <select name="f04" id="f04_0001" autocomplete="off">…</select>Once you've got the node&mdash;however you get it&mdash;you then use the methods shown above:
    => i = productNameLOV.selectedIndex
        3
    => productNameLOV.options.text
    "Business Shirt [$50]"
    So it appears you would use:var item = document.wwv_flow.f01[i];
    var selected = item.selectedIndex;
    var selectedOption = item.options[selected].text;
    This is meaningless:...
    var my_var = document.wwv_flow.f01[i].id; // f01 is tabular column of select list
    if ($x(my_var) == 'display_value') //$x(my_var) is having return value, but i need display_value there
    <tt>$x(my_var)</tt> returns a DOM node object, whilst <tt>'display_value'</tt> is a string: they are not comparable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Dynamic task description in sap inbox displaying carriage returns as an * ?

    Hi All,
    I have a method in my business object whereby I dynamically create the description of the task for the sap inbox, ie. the description the user sees for the task in their sap inbox . 
    At first I built this description into an internal table of type tline.   I would have thought that each row of the table would begin on a new line but this did not happen.  The rows ran into each other but were seperated by a semi colon.
    Then  I included a carriage return (cl_abap_char_utilities=>cr_lf) at the end of each row.  This had the same output but instead of the semi colon, it output an asteriks.
    Then I concatenated all the output into a string and passed this to a FM which splits the string at the carriage return and outputs the table.  While this behaved as I wanted in a test program (i.e. new line for each row) , once I put the code in the business object, all the rows ran into each other again..
    So is anyone aware of a way in which you can dynamcially build the task description and maintain the formatting you require?
    I'd be very grateful if anyone could shed any light as I've been trying to get this going for a day and a half now and I'm about ready to give up!!
    Many thanks,
    Liz.

    I had same requirement of displaying mutiple lines of workitem description. I used the following method for achieving my functionality.
    Suppose multilineline text to displayed in the workitem description is:-
    Line 1-> This is the the test text method to display description in the user defined format
    Line 2-> which i want to show on my workitem to person approving the workitem.
    Line 3-> Hello ,,,,,,,,,,,,,,,,,,,how are u .............................................test test hello test.
    1> I stored the data in an internal table which has one field of type c length 200.
    2> I appened the data line by line into the table so that data is not overlapped and my format is maintained.
    i.e  Data : t_text   type table of ty_text,
                   w_text  type ty_text.
    w_text-line = Line1.
    appen w_text to t_text.
    clear w_text.
    w_text-line = Line2.
    appen w_text to t_text.
    clear w_text.
    w_text-line = Line3.
    appen w_text to t_text.
    clear w_text.
    3>  The internal table T_TEXT will have three lines of data.
    4> Now pass this table as it is on the workitem Description.It will display text as per ur format on the workitem description dynamically

  • Having problem in Displaying Text in textarea through a Thread.

    Hi freinds,
    I am not able to get the Text displayed in Textarea at the same time when it is appended to textarea from a thread.... all the text is displayed at a single go after the program finishes the execution.
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.awt.event.*;
    public class BaseFrame extends JFrame implements ActionListener
         JComboBox Jbx = new JComboBox();
         JButton Bn1 = new JButton("Start");
         JButton Bn2 = new JButton("Restart");
         JButton Bn3 = new JButton("Stop");
         JTextArea Tx = new JTextArea();
         public BaseFrame()
              initProp();
              contents();
         protected void initProp()
              setSize(550,350);
              setVisible(true);
              setLocationRelativeTo(null);
              setResizable(false);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              getContentPane().setLayout(new SpringLayout());
         protected void contents()
              JLabel lbl= new JLabel("Select the Server : ");
              JScrollPane Js = new JScrollPane();
              JScrollPane Js1 = new JScrollPane();
              JPanel pn= new JPanel();
              Jbx.addItem(" ausserver");
              Jbx.addItem(" Inc2Server");
              Jbx.addItem(" Inc2NZL");
              pn.setLayout(new SpringLayout());
              pn.add(lbl,new SpringLayout.Constraints(
                   Spring.constant(20),
                   Spring.constant(20),
                   Spring.constant(130),
                   Spring.constant(25)));
              pn.add(Jbx,new SpringLayout.Constraints(
                   Spring.constant(130),
                   Spring.constant(20),
                   Spring.constant(200),
                   Spring.constant(22)));
              pn.add(Bn1,new SpringLayout.Constraints(
                   Spring.constant(20),
                   Spring.constant(50),
                   Spring.constant(100),
                   Spring.constant(22)));
              pn.add(Bn2,new SpringLayout.Constraints(
                   Spring.constant(140),
                   Spring.constant(50),
                   Spring.constant(100),
                   Spring.constant(22)));
              pn.add(Bn3,new SpringLayout.Constraints(
                   Spring.constant(260),
                   Spring.constant(50),
                   Spring.constant(100),
                   Spring.constant(22)));
              Js1.getViewport().add(Tx);
              pn.add(Js1,new SpringLayout.Constraints(
                   Spring.constant(3),
                   Spring.constant(80),
                   Spring.constant(535),
                   Spring.constant(238)));
              Js.getViewport().add(pn);
              getContentPane().add(Js,new SpringLayout.Constraints(
                   Spring.constant(0),
                   Spring.constant(0),
                   Spring.constant(544),
                   Spring.constant(324)));
              Bn1.addActionListener(this);
              Bn2.addActionListener(this);
              Bn3.addActionListener(this);
         public void actionPerformed(ActionEvent ae)
              if(ae.getActionCommand() == "Start")
                   try{
                             Start();
                   catch(IOException ie)
                        Tx.append("Cannot find File\n");
              if(ae.getActionCommand() == "Stop")
                   try{
                             Stop();
                   catch(IOException ie)
                        Tx.append("Cannot find File\n");
              if(ae.getActionCommand() == "Restart")
                   try{
                             Stop();
                             Start();
                   catch(IOException ie)
                        Tx.append("Cannot find File\n");
         void Start() throws IOException
              FileWriter wr = new FileWriter("dk.bat");
              wr.write("@echo off\n");
              wr.write("\"C:/Program Files/WebSphere/AppServer/bin/startserver\"" + Jbx.getSelectedItem());
              wr.close();
              Tx.append("\nStarting Server" + Jbx.getSelectedItem() +"\n");
              RunCmd rn = new RunCmd();
              rn.runComm("dk.bat");
              Tx.append("\nServer Restarted");
         void Stop() throws IOException
              char[] buf={1,2,3,4};
              String str=(String)Jbx.getSelectedItem();
              FileReader fr= new FileReader("C:/Progra~1/WebSphere/AppServer/logs/"
                                            + str.trim() +"/"+str.trim()+".pid");
              fr.read(buf,0,4);
              fr.close();
              System.out.println(buf);
              String str1=new String(buf);
              FileWriter wr = new FileWriter("dk.bat");
              wr.write("@echo off\n");
              wr.write("taskkill /pid " + str1 + " /f");
              wr.close();
              Tx.append("\nStopping Server" + str +" with Process Id " str1 "\n");
              RunCmd rn = new RunCmd();
              rn.runComm("dk.bat");
              Tx.append("\nStopped the Server");
         class StreamGobbler extends Thread
              InputStream is;
              String type;
              OutputStream os;
              StreamGobbler(InputStream is, String type)
                   this.is = is;
                   this.type = type;
              public void run()
                   try
                        InputStreamReader isr = new InputStreamReader(is);
                        BufferedReader br = new BufferedReader(isr);
                        String line=null;
                        while ( (line = br.readLine()) != null)
                             Tx.append(line + "\n");
                   } catch (IOException ioe)
                             ioe.printStackTrace();
         public class RunCmd
              public int runComm(String str)
                   int exitVal = 0;
                   try
                        Runtime rt = Runtime.getRuntime();
                        Process proc = rt.exec(str);
                        StreamGobbler errorGobbler = new
                             StreamGobbler(proc.getErrorStream(), "ERROR");
                        StreamGobbler outputGobbler = new
                             StreamGobbler(proc.getInputStream(), "OUTPUT");
                        errorGobbler.start();
                        outputGobbler.start();
                        exitVal = proc.waitFor();
                        System.out.println("ExitValue: " + exitVal );
                   } catch (Throwable t)
                        t.printStackTrace();
                   return exitVal;
    Kindly look into this ..if someone has a clue what is going wrong where....plz inform me...thanks in advance.

    Use the "code" formatting tags when posting code so the code retains its original formatting.
    I didn't really look at your code but this type of problem is usually caused by executing a long running task in the Event Thread. Therefore the GUI can't repaint itself until the long running task is finished. Solution is to create a separate thread for the long running task.
    Something like this:
    http://forum.java.sun.com/thread.jspa?forumID=257&threadID=437592

  • When I click on - View - Page Source, I want to edit with NotePad - note just display text in fancy colors

    I like to edit my web pages easily,
    - click to see html, edit it, (file name already there), save it
    - hit restore on browser - see what I did -
    Just changed from IE
    which gave me NotePad, which is just fine for me
    Just changed to FireFox
    and it displays text in a non-editor,
    can't edit and save easily
    What to do??
    Even worst - after installing FireFox
    IE no longer clicks to NotePad
    but that fancy non-editor :-(((

    ViewSourceWith: https://addons.mozilla.org/firefox/addon/394
    See also:
    http://kb.mozillazine.org/view_source.editor.external
    http://kb.mozillazine.org/view_source.editor.path

  • Display text file in servlet with preserved formatting(newlines, etc)

    how do i display a text file in servlet, but all the blanks and newlines are preserved.
    this is what i did:
    RandomAccessFile text = new RandomAccessFile("D:/FYP/tempMessage.txt","r");
    long length = text.length();
    byte[] bytes = new byte[(int)length];
    //Read in the bytes
    int offset = 0;
    int numRead = 0;
    while (offset < bytes.length
    && (numRead=deCiphered.read(bytes, offset, bytes.length-offset)) >= 0) {
    offset += numRead;
    // Close the input stream and return bytes
    text.close();
    String plainText=new String(bytes);
    //display in servlet
    pw.println("<center>Plain text: " + plainText + "</center>");
    the problem here is the newlines are seem to be omitted when they're displayed in a web browser, rendering the displayed text in a mess.
    any help are greatly appreciated. thanks in advance :)

    display text in between <pre></pre> tags.
    or display it inside a text area,dont worry abt the text area border, u can change that using style sheets.

  • Displays Text but doesn't Print - pls help.

    I am using the full version of Acrobat 5.0. I have a pdf document which is a form that I captured using Acrobat Distiller. I added some text boxes to fill out the form and everything looks fine when I display it on screen. It also looks fine when I save it to new PDF file names and I am able to delete pages etc. The problem comes when I try to print. None of the added text boxes appear in the print outs.
    I have used two different printers, downloaded updated drivers for each of the printers, changed the font of the text to a Truetype font.
    I assume that there is some setting on my Acrobat that is preventing the text from printing. After an hour and a half of troubleshooting, I've come to you. Any help would be much appreciated.

    If the text boxes were comments and form fields, you will have to select print the document and annotations/markups/comments in the print ueser interface.

  • Safari does not display text on some sites.

    I am running OSX 10.10.2 and Safari 8.03
    Some sites I visit do not display text at all.
    For example: This site (http://neflin.org/) looks fine in Chrome, Firefox, whatever. But in Safari, it has no text at all. See below.
    Mail is having difficult with some text in html email too.
    I have rebooted, reset the PRAM, deleted preferences and turned off extensions. I checked the Guest account and created a new account and in all cases the problem persists.
    I have validated fonts in Font Book, restored standard fonts and looked for duplicates. Nothing.
    Flash and Java are up to date.
    Any thoughts?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • How to get selected item value and display text in selectOneChoice ?

    Hi
    Thank you for reading my post
    I bind the a selectOneChoice component to my backing bean so i have an object which represent this component in the backing bean.
    now i need to find which item is selected by use , i know that i can use
    getSelect_service().getValue.toString() , but it will return the value of the selected item, how about its display text ?
    I should say that i create an static list for selectOneChoice items.
    thanks

    Using JDeveloper 10.1.3.1, freshly downloaded off OTN. I used the following code to try and identify the problem you are encountering. I attempted to use a valueChangeListener in combination with af:selectOneChoice components that use SelectItems and the singular SelectItem. I could not reproduce the error in either case. Please post more information about your development environment.
              <af:selectOneChoice label="Label 1"
                                  binding="#{backing_test.selectOneChoice1}"
                                  id="selectOneChoice1"
                                  valueChangeListener="#{backing_test.valueChangeListener}"
                                  autoSubmit="true" immediate="true">
                <af:selectItem label="1" value="1"
                               binding="#{backing_test.selectItem1}"
                               id="selectItem1"/>
                <af:selectItem label="2" value="2"
                               binding="#{backing_test.selectItem2}"
                               id="selectItem2"/>
                <af:selectItem label="3" value="3"
                               binding="#{backing_test.selectItem3}"
                               id="selectItem3"/>
              </af:selectOneChoice>
              <af:selectOneChoice label="Label 2"
                                  binding="#{backing_test.selectOneChoice2}"
                                  id="selectOneChoice2"                              valueChangeListener="#{backing_test.valueChangeListener}"
                                  autoSubmit="true" immediate="true">
                <f:selectItems value="#{backing_test.items}"
                               binding="#{backing_test.selectItems1}"
                               id="selectItems1"/>
              </af:selectOneChoice>
        public void valueChangeListener(ValueChangeEvent evt){
            // returns a UISelectOneChoice object
            System.out.println(evt.getSource().getClass().getName());
            // returns a string
            System.out.println(evt.getNewValue().getClass().getName());
        public Map getItems(){
            items = new HashMap();
            items.put("11","11");
            items.put("12","12");
            items.put("13","13");
            return items;
        }

Maybe you are looking for