What causes selectOneChoice to be rendered as text instead of drop down?

I notice that my UIInput components are being rendered as HTML text rather than their normal HTML tags when I specify a value in EL. For example, the selectOneChoice component is rendered as:
&lt!-- Start: oracle.adf.SelectOne["ruleSelection"] --&gt&ltspan id="form1:ruleSelection" class="x6"&gtCredit Okay&lt/span&gt
so I can't see the drop down arrow or box or any of the other options since it doesn't use the normal HTML select tag.
The source is below:
Except from jsp page
<af:selectOneChoice binding="#{testRuleSetBackingBean.ruleSelection}"
id="ruleSelection" value="#{testRuleSetBackingBean.rows[0].rule}">
<f:selectItems value="#{testRuleSetBackingBean.ruleNames}"
binding="#{testRuleSetBackingBean.ruleItem}" id="ruleItem"/>
</af:selectOneChoice>
However if I remove the value attribute from ruleSelection then it renders as expected, with a drop down box with all the items in.
More source below:
Excerpt from backing bean:
private RuleCondition[] rows;
//bindings for ruleSelection
public void setRuleSelection(CoreSelectOneChoice selectOneMenu1) {
this.ruleSelection = selectOneMenu1;
public CoreSelectOneChoice getRuleSelection() {
return ruleSelection;
//bindings for ruleItem
public void setRuleItem(UISelectItems selectItems1) {
this.ruleItem = selectItems1;
public UISelectItems getRuleItem() {
return ruleItem;
// items in the list are names of rules
public ArrayList<SelectItem> getRuleNames(){
//... just returns an array list of javax.faces.model.SelectItem
//with each SelectItem containing a value and label that are String objects
Except from RuleCondition.java
private Rule rule;
public Rule getRule(){
return rule;
public String toString(){
     return this.getClass().getName();
// equals overriden so that we can equate a String object and a Rule object
// if the String equals the class name of the Rule
public boolean equals(Object obj){
          if (obj instanceof String){
               if (this.getClass().getName().equals(obj)){
                    return true;
               }else {
                    return false;
          }else if(this.getClass().getName().equals(obj.getClass().getName())){
               return true;
          }else {
               return false;
Other info
Using ADF Faces implementation 10_1_3_0_4
Using MyFaces 1.1.3 (same results with 1.1.1)
Turning debug-output on in adf-faces-config.xml produced nothing
Any hints on what may cause this behaviour?

Minutes after posting this I determined the answer - lack of setters. I added:
RuleCondition.getRule(.....)
TestRuleSetBackingBean.setRuleNames(....)
and hey, presto - I can now see the drop down.
This makes perfect sense to me now - it was determining this as a read-only property. Nice.

Similar Messages

  • Display normal text instead of drop down menu

    I have two tables. One is the customer particular, which has RaceID(int) as one of the field. The other
    table is Race, which has RaceID(int) and Race(char). Both of these tables are linked together.
    I have the following code generated from Ultradev when I am using Dynamic Elements Server Behavior.
    I will gonna do a search page, which list the value of Race of customer in normal text for each staff,
    not the drop down menu(but during insert page, I am using drop down menu to enter the data). How to
    do that?
    Codes:(This code will generate a drop down menu which compare the value in the customer particular and
    the race tables. If selected, display that one with the drop down menu.
    <select name="race">
    <%
    while (Race_hasData) {
    %>
    <option value="<%=((Race.getObject("raceID")!=null)?Race.getObject("raceID"):"")%>" <%=(((Race.getObject("raceID")).toString().equals(((((Matching_data
    = Matching.getObject("raceID"))==null || Matching.wasNull())?"":Matching_data)).toString()))?"SELECTED":"")%>
    <%=((Race.getObject("race")!=null)?Race.getObject("race"):"")%></option><%
    Race_hasData = Race.next();
    Race.close();
    Race = StatementRace.executeQuery();
    Race_hasData = Race.next();
    Race_isEmpty = !Race_hasData;
    %>
    </select>

    don't use <select>, use <input type = "text"> instead and you will get text box.

  • Lost all the text in my drop down menus

    All of a sudden I do not see any text in my drop down menus or on pop-ups. I tried to open Safari and got the pop up menu with a yellow triangle with a black exclamation point in it. It also had the three buttons at the bottom - one was blue - but no words.
    I can open Firefox but not Safari. I can open the System Preferences widget but all I see are the icons, not the names of the choices. No matter what application is open I do not see any words in the dropdown menu.
    First I tried zapping the PRAM. Didn't work. Then I booted from the startup disk and ran the disk repair utility, it repaired several things, but I'm still having the problem.
    The font on my menu bar has changed too.
    I installed x11 two days ago - not from the startup disk but from a website a friend helped me find when I didn't have my disk with me. I also installed Open Office. Should I uninstall those?
    Is it possible I got a virus?? I have no clue how to deal with a virus on a Mac. I haven't had any trouble with my iBook since I got it in November 2005, and I don't know any tricks.

    hi Rina!
    my apologies, i'm guessing from your name that you might be from a non-english-speaking location ... if so, check to see if this is an issue for you (also see other posts in the thread):
    Markus Eberhard, "iTunes 6: No music shows up in iTunes after upgrading" #12, 03:59pm Oct 18, 2005 CDT
    ... if i've gotten things horribly wrong, post back and we can try again.
    love, b

  • Allow Custom Text Entry for Drop down not working For Dynamic form

    Dear All,
    In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
    If any body can please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Dear Jimmypham,
    Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
    Can you please help me to find out the solution for this problem.
    Regards
    Rakesh

  • Text elements in drop down box

    Hi,
    I am working on text elements in drop down box for service request application. I have a requirement that the display of text elements in PCUI should be in such a way that
    depends on the role of the user. eg: for role 'X' some  text elements should be displayed and role 'Y' remaining text elements should be displayed. In SAP GUI all text elements should be displayed. I copied MAC of text data to ZCL_CRM_BSP_AM_SLS_TM and tried to add the logic in methods IF_CRM_BSP_MODEL_ACCESS_IL~GET_ALLOWED_DDLB_VALUES
    IF_CRM_BSP_MODEL_ACCESS_IL~FILL_DROPDOWN_LISTBOX
    when i put external break point none of this methods are touched. Instead it goes to the methods of the class CL_CRM_BSP_TEXTMANAGEMENT_SC. This method is buried deep inside. Should i copy all the standard classes above this class and do the modification? Is there any other way? Any help is highly appreciated.
    Kind Regards,
    Charan

    Hi Charan,
    You have mentioned that in GUI all text elements have to be displayed. Why is it so?
    If that's not the case then you can control it in PFCG authorizations. Object CRM_TXT_ID.
    If you provide authorizations for a specific role for specific text ids only, the same would reflect in PCUI also. Others may not appear in the dropdown.
    Please try.
    Regards,
    J.Prabananth

  • Is it possible to customise the text within the drop down boxes. ie attributes in online shop

    Is it possible to customise the text colour and size within the drop down boxes. ie. in the drop down created for attributes in online shops
    In the drop down, the font is black and bigger than I'd like it. I want it grey. How can I customise the text inside these drop downs?

    Hi Liam,
    Please refer to this link: http://zahir.businesscatalyst.com/view-all/pom-pom-short#.UeZcwY1xTjY
    Should the class be applied to the actual tag within the 'Shop Product Large' customised layout?

  • TS4123 Whenever I open the iTunes store, the home pages of all of the sections (Music, App Store, Films etc) are black. They still have clickable hyperlinks, but I can't see what I'm clicking. Any pages accessed through the drop-down menus or by randomly

    Whenever I open the iTunes store, the home pages of all of the sections (Music, App Store etc.) are BLACK.  They still have clickable hyperlinks, but I can't see what I'm clicking.  Any pagess accessed through the drop-down menus (even iHelp) or by randomly clicking I can't see.

    Thanks but it's just my desktop that doesn't see it though.  My notebook sees it everytime, even at the same exact time that my desktop doesn't see it.  For example yesterday when I was typing up this post, I was typing up the post on my notebook because my desktop didn't see the router.  I don't think it has anything to do with the router actually, but I wanted to see if anyone on here has encountered this issue before.  Other forums have similar issues but I've tried all of the fixes I found elsewhere and they didn't work.
    Any other ideas?
    Thanks!

  • Add value entered in a text box to drop down menu options

    hi everyone
    i am making a pdf form for medical imaging report. i have a text box where the users enters a number, i want this entered number to appear within a drop down menu options
    thanks

    Hi Alexander,
    I can explain you the details there is a list as you mentioned Newsletter with a column email in it you are right but for your answer ya i can use enforce unique values for that column but if i am using it it gives me an error in the next page what i want
    is just beside my text box to say that already registered user.I want that functionality that is what i meant.
    Thanks
    Eswar
    Eswar Chand Teki

  • Email form script with custom text field and drop-down menu?

    Hey, I'm building a website in iWeb - http://dl.dropbox.com/u/19707357/Website/craftpackage.html
    And I was looking for a script that could possibly send an email to me with the info a user chooses from/puts in 1. dropdown menu 2. text field 3. another text field. I'd be awesome if the fields could have a custom background or a transparent background.The drop-down menu could have any background, but it would be awesome if it could be made with custom images !

    Basic question.
    What have you yourself done to find out?
    Nothing?
    Start here :
    http://www.google.com/search?q=how+to+make+a+mail+form
    http://www.google.com/search?q=dropdown+menu+with+transparent+background
    Unfortunately, it has no dropdown menu :
    http://www.wyodor.net/blog/archives/2010/01/entry_301.html
    Btw, dropdown menus in forms at select menus. These are not the same.
    http://www.google.com/search?q=select+menu+form
    http://http://www.w3schools.com/html/html_forms.asp
    So start practicing and once everything works the way it should, display it in a html snippet.

  • Generic service issue-need to text value on drop down selection

    Hello,
    Below given is the problem scenario.
    I have a dropdown box, on the selection of which values should be filled to the next drop down box.
    It is working perfectly using generic service. When the second drop down box is selected, certain
    values should be shown on the screen. But the values are not appearing on the display texts.
    Let me know the possible causes.
    Thanks,
    Aravind

    solved

  • Columns in af:table rendering multiple times when filtering drop-down list

    Technology: JDeveloper 10.1.3.0.4 SU5, ADF Faces/BC
    Page design:
    Master-detail jspx.
    Each section is an af:table.
    Drop-down lists created using instructions from http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
    Requirement:
    Data in a drop-down list on a child record needs to be filtered based on data from one or more columns in the currently selected row of the parent record.
    Issue:
    Drop-down lists have been successfully filtered using a couple of different methods, however, any time the data from the parent record is used to filter the data the columns in the child af:table begin to render multiple times. Navigating through the parent rows may cause the child records to have the correct number of columns displayed or multiple copies of the columns displayed.
    Removing any reference to the parent view object and hard-coding values instead causes this behavior to disappear.
    Each of the following methods has been tried. Each filters drop-down list data correctly and each causes apparently random extra column renders.
    1.     Cascading lists as per: http://www.oracle.com/technology/products/jdev/tips/mills/cascading_lists.html
    2.     Drop-down list based on view object that takes parameters.
    3.     Set where clause for drop down list in a method on the app module.
    4.     Set where clause for drop-down list in a new selection listener method for the af:table.
    Question:
    Is there a solution available that will filter the drop-down lists correctly and prevent the extra columns from being rendered?
    Thank you for any help that you can provide,
    Joanne

    bump

  • ITunes opens but without any text showing.  Drop down menus have text but not the app itself. I have a Mac Powerbook Pro running Windows XP under Boot Camp.

    Running under Windows XP,  a few upgrades ago iTunes started opening without any text showing in the application.  Clicking on PLAY will play music but no text shows to indicate what's playing and no text to show music library. Drop down windows show text but not the app itself.
    Subsequent upgrades and reinstalls have not corrected the problem, When I run under iOS (Snow Leopard), iTunes opens with text and runs correctly.
    Help!

    Because I created FAT32 partition using Boot Camp tool few days ago I installed my custom copy of Windows XP with SP3, IE7 and WMP10 integrated using nLite (for WMP10 integration use RVM Integrator). I did not use Boot Camp tool this time - I just booted CD using Option key. Then I installed Boot Camp 2.0 drivers you can find on Mac Disk 1. After this I installed Boot Camp drivers 2.1 update. In Add or remove Programs I checked drivers - I uninstalled old drivers which call identical, but you can skip this. Everything works fine BTW it is better to format your partition to NTFS - you have much less disk errors, you do not waste time for disk errors scans during Windows startup, your data are much more safe. If you need NTFS write permissions use great tool Paragon NTFS for Mac OSX or open source NTFS driver.
    Message was edited by: limo79

  • Copy text fields and drop down menu fields

    Hi,
    Using LiveCycle Designer ES, I am making a simple form with some text fields and along with some drop-down menu fields.  With the resulting pdf, I need for one to be able to select the appropriate selection in the drop-down menus.  Then using cntl-a to select everything and then cntl-v to copy it into a text document.  This approach will only copy the text fields and not what is showing in the drop-down menu field.  Is there any way to solve this problem?  The end users computer has limited tools and software cannot be installed on it.
    Thank you for considering this issue and any help you may provide,
    ja

    Hi,
    I don't really know if the text field can be selected using Ctl+a, but if that is possible how about adding extra text field that is linked to pulldown menu?
    If the usage of the PDF is only for copying, then I would make a formcalc or javascript to combine all the text into one text field so that user only need to copy paste one field.

  • "undefined" appearing next to text in CSS Drop-Down menu, why?

    Hello everyone,
    I am having a problem with a CSS drop-down menu. The menu works fine, as you can see here:
    http://littlebuddymedia.com/help/011.html
    But the text "undefined" appears next to the main menu options. My question is, why?
    I have narrowed the problem down to this chunk of code:
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li><a href="http://www.dynamicdrive.com">Home</a></li>
    <li><a href="#" rel="dropmenu1">Resources</a></li>
    <li><a href="#" rel="dropmenu2">News</a></li>
    <li><a href="#" rel="dropmenu3">Search</a></li>   
    </ul>
    </div>
    If you remove the rel="dropmenu1" portion of the code, the word "undefine" no longer appears, but then the menu doesnt drop-down anymore.
    Any ideas?
    If it is needed:
    Here is the CSS file: http://littlebuddymedia.com/help/chrometheme/chromestyle.css
    Here is the JS file:http://littlebuddymedia.com/help/chromejs/chrome.js
    Thank you.

    When I use FF to view the generated source, I see this -
    <li><a href="#" rel="dropmenu1">Resources undefined</a></li>
    <li><a href="#" rel="dropmenu2">News undefined</a></li>
    <li><a href="#" rel="dropmenu3">Search undefined</a></li>
    The undefined is coming from the javascript functions that you have loaded in that external file.  This function call is what starts it -
    <script type="text/javascript">
    cssdropdown.startchrome("chromemenu")
    </script>
    If you want 100% reliable drop menus that have been exhaustively tested in all common browsers/platforms, check the ones available from http://www.projectseven.com.

  • How can I remove the by-default text in the drop-down box in a fill-in-the-blank answer?

    I have this text in English "Select" for each drop-down list that is big enough:
    It appears in French at my project manager's place (in France).
    Question 1: Can we remove that text totally?
    Question 2: How can I make sure it will only appear in English?
    Many thanks

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

Maybe you are looking for

  • How to include the mysql-connector in a simple .jar file

    Well I started up with java again. Just messing around. This project I'm making now is just plain simple, I have a program thats going to read a table in a database from a server I have here at home. It works fine if I do like this: java javafil to r

  • Migration Date when migrating from classic to new g/l

    Hello gurus, I am planning a migration from classic to new g/l, but this fiscal year it will be not possible to finish phase 0 (from migration model plan). Is it possible to do it in the middle of the new fiscal year, what are the withdrawls or issue

  • Workflow table for approval step description

    Hi Experts I'me looking for the table where i can find the approval step description for a node_id. I'm searching for NODE_DESC, in the table. I can find it by module fonction, but i really need the table. Thank you for your help. Peggy.

  • Running process integrator studio remotely

    Hi again -I have the following scenario.: My installation of Process Integrator is on a solaris server. To facilitate using the Studio application, I have packaged up the required jar files and am able to run the Process Integrator Studio Java Applic

  • Adobe Flash on Windows 7 Laptop

    So i am trying to use the Pandora website as well as some others, but it keeps saying i need flash player. I go to the adobe site and i installed the newest one and it said successfully installed. But when i (even after restarting my computer) try to