SelectOneMenu problem

Hi,
I got the following setup:
appBean.java
=================
private ArrayList country;
public appBean() {
this.country = new ArrayList();
protected void init(){
List list1 = this.getMiscService().getAllCountriesServ();
for (i=0; i<list1.size(); i++) {
Country co = (Country)list6.get(i);
this.country.add(new SelectItem(Integer.toString(co.getId()), co.getName()));
register.jsp
============================
<h:selectOneMenu value="#{userBean.selectedCountry}" id="selectedCountry">
<f:selectItems value="#{appBean.country}" id="countries"/>
</h:selectOneMenu>
<h:message for="selectedCountry" styleClass="errorMessage"/>
userBean.java
=======================
private ArrayList selectedCountry;
public ArrayList getSelectedCountry() {
     return this.selectedCountry;
public void setSelectedCountry(ArrayList newSelectedCountry) {
     this.selectedCountry = newSelectedCountry;
When I clicked on submit, I got an error msg beside the SelectOneMenu:
" "selectedCountry": " Conversion Error setting value '1' for 'null Converter'.
I hv even changed to :
userBean.java
=======================
private SelectItem selectedCountry;
public SelectItem getSelectedCountry() {
     return this.selectedCountry;
public void setSelectedCountry(SelectItem newSelectedCountry) {
     this.selectedCountry = newSelectedCountry;
but still get the same error msg. Pls help !!

The "value" of your <h:selectOneMenu> isn't going to be the SelectItem instance itself. It'll be the "getValue()" result of the SelectItem, which is much more what you want in your model.
So:
For starters, change:
  this.country.add(new SelectItem(Integer.toString(co.getId()), co.getName()));to:
  this.country.add(new SelectItem(new Integer(co.getId()), co.getName()));unless you really want Strings. Then, change your selectedCountry code to:
private int selectedCountry;
public int getSelectedCountry() {
return this.selectedCountry;
public void setSelectedCountry(int newSelectedCountry) {
this.selectedCountry = newSelectedCountry;
}-- Adam Winer (EG member)

Similar Messages

  • JSF 1.2_13 (Mojarra) -  h:selectOneMenu problem

    I have this JSF tag in my JSP form:
    <h:selectOneMenu id="selectLang" value="#{langList.selectedItem}">
          <f:selectItems value="#{langList.selectItems}" />
    </h:selectOneMenu>and this backing bean:
         private List<SelectItem> selectItems;
         private String selectedItem;     
            createList();
        // getter methods
        public List<SelectItem> getSelectItems() {
             return selectItems;
        public String getSelectedItem() {
             return selectedItem;
        // setter method
        public void setSelectedItem(String selectedItem) {
             this.selectedItem = selectedItem;
        private void createList()
            selectItems = new ArrayList<SelectItem>();       
            selectItems.add(new SelectItem("1", "English"));
            selectItems.add(new SelectItem("2", "Fran&ccedil;ais"));
        }I found that I can't change "selectedItem" and "selectItems" to say, for example "selectedLang" and "selectLangs" respectively in both the JSF tag and the matching backing bean method. How odd! It seems to me that the above definitions can't be changed. If I changed them to any name at all, I get the dreaded "JSF1054: (Phase ID: RENDER_RESPONSE 6..." error - which is not really helpful in identifying the problem.
    I also have another problem with "h:selectOneMenu" but I guess I might to wait for your responses before I post the problem here or in another thread.
    BTW, have search the forums for existing discussion but didn't find one resembling my problem. I have already lost two days trying to figure this problem out - but not successful. Maybe the solution might be really simple...
    Can someone please help? Sorry if I make any mistake since this is my very first post - just joined about 30 minutes ago -:)
    cheers and regards

    Further to my reply above, I've tried Mojarra (1.2_12-b01-FCS) and the new Mojarra 2.0.0 (RC b16) releases and am able to replicate the same problem with these releases - one cannot rename "selectItems" and "selectedItem" in the JSF tag as well as the backing bean. Anyway, here is my full backing bean code in the hope that someone can see a problem with it:
    package example;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.model.SelectItem;
    public class LangGenerator
         private List<SelectItem> selectItems;
         private String selectedItem;     
            createList();
        // getter methods
        public List<SelectItem> getSelectItems() {
             return selectItems;
        public String getSelectedItem() {
             return selectedItem;
        // setter method
        public void setSelectedItem(String selectedItem) {
             this.selectedItem = selectedItem;
        private void createList()
            selectItems = new ArrayList<SelectItem>();
            selectItems.add(new SelectItem("1", "English"));
            selectItems.add(new SelectItem("2", "Français"));
    }and my TEST.JSP codes:
    <%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>Example</title>
    </head>
    <body>
         <f:view>
              <h:form id="form1">
                   <h:panelGrid>
                        <h:panelGroup>          
                             <h:selectOneMenu id="selectLang" value="#{langList.selectedItem}">
                                  <f:selectItems value="#{langList.selectItems}" />
                             </h:selectOneMenu>                                                  
                        </h:panelGroup>
                   </h:panelGrid>
              </h:form>                                                                                
         </f:view>
    </body>
    </html>The PROBLEM: If I left the names as "selectItems" and "selectedItem" it render the page fine. But if I change them to "selectLangs" and "selectedLang" respectively in both the JSF tag and the supporting backing bean - it will not work, period. I'm very confused now.
    Is this a bug with the Mojarra JSF implementation?

  • About SelectOneMenu problem

    How to navigate to other pages using SelectOneMenu. There is my code of index.jsp:
       <html>
       <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
       <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
       <f:view>
          <head>
             <f:loadBundle basename="messages" var="msgs"/>
             <title>
                <h:outputText value = "#{msgs.indexWindowTitle}"/>
             </title>
          </head>
          <body>
             <center>
               <h:form id="menu">
                        <h:selectOneMenu id="select_menu" >
                            <f:selectItem itemValue="0" itemLabel="#{msgs.allEmployee}"/>
                            <f:selectItem itemValue="1" itemLabel="#{msgs.employee}"/>
                            <f:selectItem itemValue="2" itemLabel="#{msgs.pieceWorker}"/>
                            <f:selectItem itemValue="3" itemLabel="#{msgs.dayWorker}"/>
                        </h:selectOneMenu>
                        <h:commandButton value="#{msgs.submit}"  action="#{DropDown.select}"/>
               </h:form>
           </body>
        </f:view>
    </html> Is there any mistakes and what shoud I do in order to navigate to other pages according to the user's choice?

    Thanks a lot, James_R~~
    According to your comment, I modified the jsp code and create a bean. However, it still had the error. Can you help me to solve it?
    index.jsp
    <html>
       <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
       <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
       <f:view>
          <head>
             <f:loadBundle basename="messages" var="msgs"/>
             <title>
                <h:outputText value = "#{msgs.indexWindowTitle}"/>
             </title>
          </head>
          <body>
             <center>
               <h:form id="menu">
                        <h:selectOneMenu value="#{form.items}" >
                            <f:selectItems value="#{form.itemsSelection}"/>
                        </h:selectOneMenu>
                        <h:commandButton value="#{msgs.submit}"  action="#{form.select}"/>
               </h:form>
           </body>
        </f:view>
    </html>                       Form.java
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.model.*;
    public class Form
      private Integer items = null;
      public Integer getItems() {
         return items;
      public void setItems(Integer newValue) {
         items = newValue;
      private SelectItem[] itemsSelection = {
         new SelectItem(new Integer(1), "All Employee"),
         new SelectItem(new Integer(2), "Employee"),
         new SelectItem(new Integer(3), "Day Worker"),
         new SelectItem(new Integer(4), "Piece Worker")
      public SelectItem[] getItemsSelection() {
         return itemsSelection;
      public Integer select() {
         return items;
    }   faces-config.xml
    <faces-config>
      <navigation-rule>
         <from-view-id>/index.jsp</from-view-id>
         <navigation-case>
         <from-outcome>0</from-outcome>
         <to-view-id>/emp_rec_vv.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
         <from-outcome>1</from-outcome>
         <to-view-id>/emp_rec_vn.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
         <from-outcome>2</from-outcome>
         <to-view-id>/emp_rec_vq.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
         <from-outcome>3</from-outcome>
         <to-view-id>/emp_rec_vv.jsp</to-view-id>
         </navigation-case>
      </navigation-rule>
      <managed-bean>
         <managed-bean-name>form</managed-bean-name>
         <managed-bean-class>Form</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>
    </faces-config>There is the error message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
    root cause
    java.lang.ClassCastException
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         javax.faces.component.UICommand.broadcast(UICommand.java:312)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)Is there any problem about the bean and the faces-config.xml? Why there is an error messages?

  • Another selectOneMenu Problem....

    Hi all,
    first of all I have to say that I'm really new to JSF (just to let you know, that this question might be really stupid...)
    Ok, following combination:
    -jsp site with a form and the following selectOneMenu:
    <h:selectOneMenu id="fileType" value='#{uploadBean.filetype}'>
     <f:selectItems value="#{uploadBean.allFiletypes}" />
    </h:selectOneMenu>
    - uploadBean (code extract):
        String filetype;
        ArrayList allFiletypes;
        public String getFiletype()
            return filetype;
        public void setFiletype(String s)
            filetype = s;
        public Collection getAllFiletypes()
            if(this.allFiletypes==null)
                 allFiletypes = new ArrayList();
                 allFiletypes.add(new SelectItem("type1"));
                 allFiletypes.add(new SelectItem("type2"));
                 allFiletypes.add(new SelectItem("type3"));
            return allFiletypes;
        public void setAllFiletypes(Collection list)
            allFiletypes = new ArrayList(list);
        }I can see the select menu filled with the items "type1" .. "type3", but when I selected one type and submitted my form, the filetype is <b>null</b>.
    I tried quite a few things and also read quite a few topics in the forum, but either I'm just too stupid to understand them or ... I don't know.
    Hopefully one of you has pity with me and has a small look over my problem.
    I would be really thankful (as I was trying to solve this problem for nearly the whole day today and as I'm quite sure, it's a stupid mistake ;-) ).
    Thanks in advance and greetings!
    Steffi

    OK, these are my codes:
    sample.jsp:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
        <%@ page contentType="text/html;charset=shift_jis" %>
        <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <head>
    </head>
    <body>
    <f:view>
    <h:form id="mySampleForm">
    <h:selectOneMenu id="fileType" value="#{myMenuBean.filetype}">
         <f:selectItems value="#{myMenuBean.allFiletypes}" />
    </h:selectOneMenu>
    <h:commandButton type="submit" value="calc" action="ok" />
    </h:form>
    <HR>
    <h:outputText value="#{myMenuBean.filetype}"/>
    <HR>
    <h:messages />
    </f:view>
    </body>
    </html>
    faces-config.xml:
    <faces-config>
         <managed-bean>
              <managed-bean-name>myMenuBean</managed-bean-name>
              <managed-bean-class>MyMenuSample</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>
    MyMenuSample.java:
    import java.util.ArrayList;
    import java.util.Collection;
    import javax.faces.model.SelectItem;
    public class MyMenuSample {
        private String filetype;
        private ArrayList allFiletypes;
        public String getFiletype()
            return filetype;
        public void setFiletype(String s)
            filetype = s;
        public Collection getAllFiletypes()
            if(this.allFiletypes==null)
                 allFiletypes = new ArrayList();
                 allFiletypes.add(new SelectItem("type1"));
                 allFiletypes.add(new SelectItem("type2"));
                 allFiletypes.add(new SelectItem("type3"));
            return allFiletypes;
        public void setAllFiletypes(Collection list)
            allFiletypes = new ArrayList(list);
    }

  • Converter and SelectOneMenu problem

    <h:selectOneMenu id="id_noofbeds" value="#{internals.numberofbeds}" converter="javax.faces.Integer">
    <f:selectItem itemValue="0" itemLabel="Studio" />
    <f:selectItem itemValue="1" itemLabel="1" />
    <f:selectItem itemValue="2" itemLabel="2" />
    <f:selectItem itemValue="3" itemLabel="3" />
    <f:selectItem itemValue="4" itemLabel="4" />
    <f:selectItem itemValue="5" itemLabel="5" />
    <f:selectItem itemValue="6" itemLabel="6" />
    <f:selectItem itemValue="7" itemLabel="7" />
    <f:selectItem itemValue="8" itemLabel="8+" />
    </h:selectOneMenu>
    I tried to run this code on my JSP page and have this in my backing bean:
    public Integer getNumberofbeds() {
    return numberofbeds;
    public void setNumberofbeds(Integer numberofbeds) {
    this.numberofbeds = numberofbeds;
    But when I run this code it always comes back with a validation error. I think it's because SelectOneMenu sends things back as a tuple, but not exactly sure how to handle it. Any help would be appreciated!!
    Tom

    See the javadoc of UISelectOne.validateValue(). It says:
    In addition to the standard validation behavior inherited from UIInput,
    ensure that any specified value is equal to one of the available options.
    If it is not, enqueue an error message and set the valid property to false.
    You specify the options as String literals using f:selectItem.
    So, the converted value which is type Integer is never equal to any of them.
    You can't use literal value of f:selectItem. Instead you may code as<f:selectItem itemValue="#{bean.option1}" itemLabel="1"/>Using f:selectItems may be better:<f:selectItems value="#{bean.options}"/>

  • JSF Problem Coding

    Hi, i am creating a web pages using JSF technology, I need some one help
    the code is
    <h:selectOneMenu rendered="#{chooselink.checkFullName}" value="#{chooselink.fullName}">
    <f:selectItems value="#{chooselink.namebean}"/>
    </h:selectOneMenu>
    problem is my code is working fine but it is very slow, it take a while to post the result, i did some hard coding, i add
    System.out.println(fullName); to the java bean, and i found out that if i choose one result in namebeam it will repeat it in
    I/0 as much as namebean has records,
    for example, in namebean has 1000 records and i choose one record from it, let say one record is omar, omar in I/0 will repeat 1000 times, that why my system is slowing down
    what should i do

    ok, i will try to explain my problem as specific as i can.
    JSF code is
    <h:selectOneMenu rendered="#{chooselink.checkFullName}" value="#{chooselink.fullName}">
    <f:selectItems value="#{chooselink.namebean}"/>
    </h:selectOneMenu>
    JAVA BEAN code is
    public String processFullName(){
    try {
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    url="jdbc:oracle:thin:@10.2.111.170:1521:testdb";
    conn = DriverManager.getConnection(url, "user","password");
    catch(Exception e){
    System.out.println("Driver not Found");
    try{
    String firstQuery;
    firstQuery = "select id_people peep33, first_nam || ' ' || Last_nam as fullname" +" ";
    firstQuery += "from people" +" ";
    firstQuery += "where first_nam || ' ' || Last_nam =" + "'" + fullName + "'" + " ";
    Statement stat = conn.createStatement();
    address = stat.executeQuery(firstQuery);
    while (address.next())
    idpeepfull = address.getInt("peep33");
    catch(Exception e){
    System.out.println("not working query ------processFullName.java");
    try { 
    String secondQuery;
    secondQuery ="select p.first_nam first, p.last_nam last, pp.man_num man, "+" ";
    secondQuery +="pc.pc_serial serial, pc.pc_model model, pc.pc_mac_add mac, d.dept deptt, pp.room_num room"+" ";
    secondQuery +="from people p, peep2pc pp, pcs pc, departments d, man_id_dept" +" ";
    secondQuery +="where p.id_people = pp.id_peep "+" ";
    secondQuery +="and pp.man_num = pc.man_num "+" ";
    secondQuery +="and pc.man_num = man_id_dept.man_num "+" ";
    secondQuery +="and d.id = man_id_dept.id_dept "+" ";
    secondQuery +="and p.id_people =" + idpeepfull + " ";
    Statement stat = conn.createStatement();
    address = stat.executeQuery(secondQuery);
    while(address.next())
    AllInventory.add(new FullInventory(address.getString("first"),address.getString("last"), address.getString("man"),
    address.getString("serial"), address.getString("model"), address.getString("mac"),
    address.getString("deptt"), address.getString("room")));
    String thirdQuery;
    thirdQuery ="select pm.id, pm.monitors_sn sn, pm.room_num room, m.monitors_name name " + " ";
    thirdQuery +="from peep2monitors pm, monitors m"+ " ";
    thirdQuery +="where pm.monitors_sn = m.monitors_ssn" + " ";
    thirdQuery +="and id = " + idpeepfull + " ";
    address = stat.executeQuery(thirdQuery);
    while(address.next())
    Monitors.add(new monitorInventory(address.getString("name"), address.getString("sn"), address.getString("room")));
    String fourthQuery;
    fourthQuery = "select pp.id_people people, pp.phone_extension ext, p.phone_mac_address address" + " ";
    fourthQuery +="from peep2phones pp, phones p" + " ";
    fourthQuery += " where pp.phone_extension = p.phone_extension" + " ";
    fourthQuery +="and pp.id_people = " + idpeepfull + " ";
    address = stat.executeQuery(fourthQuery);
    while (address.next())
    phones.add(new phoneInventory(address.getString("ext"),address.getString("address")));
    catch(Exception e){
    System.out.println("connection in chooseSearch.java is not working getSerialNum");
    try{
    conn.close();
    catch(Exception e){
    System.out.println("xxxxyx");
    // converting Collection to Array
    int numItems = AllInventory.size();
    int numMonitor = Monitors.size();
    int numPhone = phones.size();
    // create array static inside Array
    myInventory = new FullInventory[numItems];
    myMonitors = new monitorInventory[numMonitor];
    myphones = new phoneInventory[numPhone];
    numItems = 0;
    numMonitor = 0;
    numPhone = 0;
    for (FullInventory x: AllInventory){
    myInventory[numItems] = x;
    numItems ++;
    for (monitorInventory y : Monitors){
    myMonitors[numMonitor] = y;
    numMonitor ++;
    for (phoneInventory z: phones){
    myphones[numPhone] = z;
    numPhone ++;
    if (numItems == 0)
    showStudentTable = false;
    else
    showStudentTable = true;
    return " ";
    My problem is namebean records comes from sql statment, it has up to 1300 records, when i choose one of them and click it to store it into fullName, in I/O will repeat 1300 times, that's take too much time reloading,
    how can i fix that loop?

  • Problem with selectOneMenu in Datatable

    Hi
    I have the following datatable that binds correctly to a set of Game objects.
    I need to have a dropdown with the numbers 1 to 10 as items which is bound to each dataItem's newRating field.
    However there is some problem with the dropdown that i can't figure out. The datatable stops rendering when it hits the first dropdown.
    At the moment,
    The new rating field in the Game class is of type SelectItem with the appropriate get and set methods.
    Could anyone please point out what I'm doing wrong
    Thanks.
    Here is the relevant part in Home.jsp:
                                              <h:dataTable binding="#{Home.newGamesTable}" id="newGamesTable" value="#{Home.newGames}" var="dataItem">
                                                                <h:column>
                                                                    <f:facet name="header">
                                                                        <h:outputText value=""/>
                                                                    </f:facet>
                                                                    <h:panelGroup layout="block" styleClass="new_game_main">
                                                                        <h:outputText styleClass="new_game_title" value="#{dataItem.title}"/>
                                                                        <h:outputText escape="false" styleClass="new_game_label" value="Date added: "/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.dateString}"/>
                                                                        <h:outputText escape="false" styleClass="new_game_label" value="Average Rating:"/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.rating}"/>
                                                                        <h:outputText styleClass="new_game_label" value="Uploaded by:"/>
                                                                        <h:outputText styleClass="new_game_data" value="#{dataItem.userName}"/>
                                                                        <h:commandLink styleClass="new_game_label" value="Play Now!"/>
                                                                        <h:selectOneMenu styleClass="new_game_rating" value="#{dataItem.newRating}">
                                                                            <f:selectItems value="#{ratingItems}" />
                                                                        </h:selectOneMenu>
                                                                        <h:commandLink action="#{Home.rateNewGame}" styleClass="message_link" value="Rate"/>
                                                                    </h:panelGroup>
                                                                </h:column>
                                                            </h:dataTable>and Home.java
    private List<SelectItem> ratingItems = null;
         public List<SelectItem> getRatingItems()
             if (ratingItems == null)
                 ratingItems = new ArrayList<SelectItem>();
                 for (int i = 1; i <= 10; i++)
                     SelectItem item = new SelectItem();
                     item.setValue(Integer.valueOf(i));                        
                     ratingItems.add(item);
             return ratingItems;
         public void setRatingItems(List<SelectItem> items)
             ratingItems = items;        
        private List<Game> newGames = null;
        private boolean hasNewGames;
        public List<Game> getNewGames()
            if (newGames ==null)
                newGames = DataFactory.getNewGames();           
            hasNewGames = !newGames.isEmpty();
            return newGames;
        }

    What do you mean by stops rendering? Can you paste the relevant portion of the output (from view source in the browser).

  • Problem while setting the selected value of h:selectOneMenu to bean

    Hi all,
    I am new to JSF. I am working on application where i have combo boxe on the page. I am setting some values to the combobox from database using <f:selectItems> tag and one value using <f:selectItem> tag. The value combobox value selected by user is set to the bean property which is String. I am able to display all the values in the combobox but when clicked on button (present at the end of form) i am getting following error-
    ERROR HtmlRendererUtils:354 - Error finding Converter for
    component with id interviewStageOneForm:acceptanceChannelList
    I am setting the combobox selected value to the to the bean property which is String and the value selected in also String. Then which converter it is asking for. I am not able to find out what is the problem.
    Your suggestions will be really appreciated.
    Here is my code snippet:-
    JSF:-
    <h:selectOneMenu id="acceptanceChannelList"
         value="#{interviewStageOneBean.index}">
         <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
         <f:selectItems value="#{MasterDataBean.acceptanceChannelList}" />  <!-- The list coming from database-->
    </h:selectOneMenu>Bean:-
    public class InterviewStageOneBean {
         private String index;
         public String getIndex() {
              return index;
         public void setIndex(String index) {
              this.index = index;
    }

    Hi!
    First I would try next:
    Try to leave out
    <f:selectItem itemValue="Select" itemLabel="#{Message.combo_select}" />
    line. And check if it works after that. If it didn't repeat step but you leave in message selectItem and dump out database selectItem line.
    Second:
    I would check acceptanceChannelList creation and what type of objects you put while doing setValue and setLabel on UISelectItem
    Probably selectItem value has been assigned an object of type the engine doesn't know how to convert from String to it.

  • H:selectOneMenu - Update problem through a Java Function

    Hi,
    I'm designed a little form which has two h:selectOneMenu.
    <h:form>
    <h:selectOneMenu id="listas_disponibles"
                                 value="#{sesion.listaSeleccionada}"
                                 valueChangeListener="#{sesion.escogerLista}"
                                 onchange="submit();"
                                 immediate="true">
        <f:selectItems value="#{sesion.listasConfiguracionIDNombre}"/>
    </h:selectOneMenu>
    <h:selectOneMenu id="listas_hijas"
                                value="#{sesion.listaHijaSeleccionada}"
                                valueChangeListener="#{sesion.escogerListaHija}"
                                onchange="submit()">
        <f:selectItems value="#{sesion.listasHijas}" />
    </h:selectOneMenu>The problem is that when I change the "listas_hijas" value, I want update the "listas_disponibles" value through the "sesion.escogerListaHija" method.
    public void escogerListaHija(ValueChangeEvent value){
    this.listaSeleccionada
    = idListNewValue;
    }But when the JSF page is rendered, the value of "listas_disponibles" hasn't changed.
    Can anybody help me? Need you more data or code? Thanks!!

    Try to access your list through the ValueBinding.In your function
    FacesContext context = FacesContext.getCurrentInstance();
    context.getApplication().createValueBinding("#{sesion.listaSeleccionada}").setValue(context, idListNewValue);
    you must have the setter for you list.

  • JSF problem with h:selectOneMenu

    Hi Friends,
    First of all i would like to thank u all for ur previous valuable suggestions. I got stucked up with a problem.
    I have a dropdown list in which i have only 2 values 'Remodeling' and 'New'. When the user selects the option 'Remodeling' , i need to render a group of checkboxes.I tried lot many ways but didn't work.
    Could anyone plz help me out on this. Below is my sample code:
    Code to display drop down list
    <h:selectOneMenu value="#{gfmCoverageABean.constructionType}" valueChangeListener="#gfmCoverageABean.onConstructionTypeChange}">
    <f:selectItems id="typeOfConstructionProject" value="#{gfmCoverageABean.typeOfConstructionProjectList}" />
    </h:selectOneMenu>
    Code to render checkbox when drop down option selected is 'Remodeling'
    <h:outputLabel id="foundationLbl" for="foundation" value="#{PolicyLabels['GfmCoverageADetails.Foundation']}"
    rendered="#{gfmCoverageABean.constructionType eq 'Remodeling'}"/>
    <ig:checkBox id="foundation" value="#{gfmCoverageABean.gfmCoverageView.foundation}"
    rendered="#{gfmCoverageABean.constructionType eq 'Remodeling'}"/>
    Problem here is my checkbox is not getting displayed on any case.
    Thanks
    vijay

    Hello Vijay
    Displaying group of Checkboxes
    Use Value Change Listener and Create and panel Grid and render it to false
    in SelectOneMenu when the value is change it calls valueChangeListener
    there u check the event value if it is ur choice render panel grid to true simple.
    <h:selectOneMenu value="#{Bean.selectedCategories}"
              valueChangeListener="#{Bean.processValueChange}" onchange="this.form.submit();">
                   <f:attribute name="optionClasses" value="option1, option2" />
                   <f:selectItem itemLabel="Please select Industry" />
                   <f:selectItems value="#{Bean.selectCategories}" />
              </h:selectOneMenu>
    <h:panelGrid id="chkBox" binding="#{Bean.panel}" rendered="false">
    private HtmlPanelGrid panel = new HtmlPanelGrid();
    ///generate setter and getter
    public void processValueChange(ValueChangeEvent ae) throws Exception
              if(ae.getNewValue().equals("URChoice")){          
    getPanel().setRendered(true);
    This will solve the problem

  • H:selectOneMenu and converter problem

    Hello
    I'm working on an application (Address Database) using JSF (Base JSF libs with IBM Faces). Apache Tomcat Server 5.5.
    Since days i'm trying to solve my problem with h:selectOneMenu and converter. I can save values correctly, but i cannot display the saved value again as a selected item.
    so here is my jsf code section:
         <h:selectOneMenu value="#{personBean.person.representative}"
                        styleClass="fldDefault fldcombo">
                        <f:selectItems value="#{partnerBean.representatives}" />
                        <f:converter converterId="keywordConvertor" />
                        <f:attribute name="SelectItemArrayList"
                             value="#{partnerBean.representatives}" />
         </h:selectOneMenu>
    representatives are keywords and in the selectOneMenu, a representative keyword object is stored.
    here is my partnerBean.jsp Code:
         private List<SelectItem> representatives = null;
         * populate keywords of type REPRESENTATIVE
         public void populateRepresentatives() {
              representatives = new ArrayList<SelectItem>();
              ArrayList<Keyword> representativeKeywords = kwHandler
                        .getKeywordsByType(KW_REPRESENTATIVE_TYPE);
              for (Keyword keyword : representativeKeywords) {
                   representatives.add(new SelectItem(keyword, keyword
                             .getKwDescription()));
    so the function gets the representative keyword objects, loop through them and add a newly created SelectItem Object to the representatives list.
    There is a converter in order to save and display (should!!) the values:
    public class KeywordConvertor implements Converter {
         public Object getAsObject(FacesContext context, UIComponent component,
                   String value) {
    ....code for saving...
         public String getAsString(FacesContext context, UIComponent component,
                   Object obj) {
    `          System.out.println(((Keyword) obj).getId()+"");
              return ((Keyword) obj).getId()+"";
    i did not provide the code for getAsObject, since the saving of the combo box works fine. If it has to do something with my problem, please ask me for this code..
    The System.out.prinln prints all ids correctly, but the generated HTML Code does not select the given value in the combobox.
    So whats wrong with the getAsString Method? or is the function completely somewhere else?
    I have to say that the function ((Keyword) obj).getId() returns a long !! is that the problem?
    Any help is very appreciated

    Hello
    i implemented the function in the Keyword Class:
    public class Keyword implements Serializable {
         public boolean equals(Keyword kw) {
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but the System.out.print is not executed...
    i tried also:
         public boolean equals(Object o) {
              Keyword kw = (Keyword) o;
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but then i get the following error message:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: could not initialize proxy - no Session
    hmmm, could you show me how to implement the equals Function correctly?

  • Problem while using h:selectOneMenu tag

    Hello All,
    I am facing a problem while using the <h:selectOneMenu in my JSP.
    My requirement is as below,
    I am having a list of manager in the select box.
    User will select any of the manager and click a command link to assign the manager.
    On click of this command link backerbean method should be invoked.
    My problem is,
    I am able to display the list box without any problem.
    But Once I select any value from the list box the command link is not working.
    That is click on the command link is not invoking the backer bean method.
    My code look as below,
    JSP
    <td>                 
    <h:selectOneMenu value="#pc_EmployeeDetailsView.assignedMgrPositionId}" id="assignedMgrPositionId" style="width: 170px">
    <f:selectItems value="#{pc_EmployeeDetailsView.managerList}" />
    </h:selectOneMenu>
    </td><td>�</td>
    <td><h:commandLink action="#pc_EmployeeDetailsView.assignManager}" onmousedown="setEditAction('assign');">
    <h:outputText value="Assign"></h:outputText>
    </h:commandLink></td>Backer Bean
         SelectItem managerSelectItem =  new SelectItem("0","Select Manager");
         ArrayList managerSelectItemList = new ArrayList(); 
         managerSelectItemList.add(managerSelectItem);
         int managerListSize = managerSearchList.size();
         for (int i=0; i<managerListSize; i++) {
              Employee manager = (Employee) managerSearchList.get(i);
              managerSelectItem =  new SelectItem(StringUtils.isNotEmpty(manager.getOrgInfo().getPositionNumber())?manager.getOrgInfo().getPositionNumber():"",StringUtils.isNotEmpty(manager.getFullDisplayName())?manager.getFullDisplayName():"");
              managerSelectItemList.add(managerSelectItem);
         setManagerList(managerSelectItemList);Please help me on this.
    Thanks In Advance

    I have solved this problem by putting the list in portlet session and allowing the get method to get the SelectItem from the session

  • Problem with a datatable and selectOneMenu

    Hello
    I'm pretty new at java, so this might be an easy problem to solve, but I've been stuck in this for a couple of days now, so any help will be appreciated.
    I have a selectOneMenu item that when it's changed this value loads the info for a datatable below it, this works fine.... but I need that when for example, the select one menu has the value "1", the data tabla loads the activities for the option "1", inside the datatable there is a checkbox for a column, now, in this scenario, when I check 3 options in the datatable, I need to change the value in the selectOneMenu and put, for example the value "2", when this happens now I have to reload the datatable with the values corresponding to the activities for the option "2".
    The problem is when I change the value of the selectOneMenu on the backingBean, because this selectOneMenu has implemented the onchange event, but this is only activated if the the value is changed in the UI, not in the code as I need to do it.
    This are the lilbs that I'm using:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    This is the fragment of code of the selectOneMenu:
    <h:selectOneMenu id="ddlTipoVisita" value="#{VisitaDomiciliarBean.idTipoVisita}" disabled="#{VisitaDomiciliarBean.modoEdicion == false}"
    rendered="#{VisitaDomiciliarBean.mostrarSegunOpcionMenu}">
    <f:selectItems value="#{VisitaDomiciliarBean.selectItemsTipoVisita}" />
    <a4j:support status="statustablaSubtipoVisita" event="onchange" action="#{VisitaDomiciliarBean.cargarTablaSubtipoVisita}" reRender="tablaSubtipoVisita">
    </a4j:support>
    </h:selectOneMenu>
    This is the datatable section:
    <t:dataTable id="tablaSubtipoVisita" styleClass="scrollerTable2" headerClass="standardTable_Header"
    footerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="columna_centrada" value="#{VisitaDomiciliarBean.subtiposVisita}" var="subtipo"
    preserveDataModel="false" rows="10" >
    <%--columna de seleccion multiple--%>
    <t:column rendered="#{VisitaDomiciliarBean.seleccionMultiple == true}">
    <f:facet name="header">
    <h:outputText value="#{recursos['actividades.seleccionar']}" />
    </f:facet>
    <a4j:region>
    <h:selectBooleanCheckbox
    value="#{subtipo.seleccionado}" disabled="#{VisitaDomiciliarBean.modoEdicion == false}">
    <a4j:support event="onchange" status="statustablaSubtipoVisita"
    actionListener="#{VisitaDomiciliarBean.seleccionar}" reRender="ddlTipoVisita" >
    </a4j:support>
    </h:selectBooleanCheckbox>
    </a4j:region>
    </t:column>
    <t:column>
    <f:facet name="header">
    <h:outputText value="#{recursos['actividades.descripcion']}"/>
    </f:facet>
    <h:outputText value="#{subtipo.descripcion}"></h:outputText>
    </t:column>
    </t:dataTable>
    Is there any way to do this using the rendered option of the components? Or does anybody has another idea or recomendation?
    I tried to solve it using two data tables, one for the option "2" and another for all the rest of the options, I tried to hide or show the one I need acoording to the data inside the array that has the info for the datatables, but this failed, because when I change the value for the selectOneMenu from the bean, both datatables are shown and not only the one that I need.
    I would really appreciate any help with this!
    Greetings,

    Well turns out I had a some bad code in the back end that was resetting the model to the 'initial' value. I didn't require the FacesContext.getCurrentInstance().renderResponse(); after all.
    But I still find it disturbing the model generator code being called twice.
    If anyone has any suggestions on how to prevent this I'm all ears.

  • Problem rendering JSF selectManyListbox component from JSF selectOneMenu

    hello all. i have a problem rerender-ing selectManyListbox in "onchange" event of selectOneMenu.
    When i used both component as selectOneMenu then rerender-ing works fine but my requirement is to select many option and size also should be set which cannot be done in selectManyMenu component. so my tryint to use selectManyListbox
    So, when i change the rerender-ing component to selectManyListbox then rerendering doesnt work in onchange event of selectOneMenu.
    how can i use the selectManyListbox as rerender in onchange event of selectOneMenu?? please help and thanks in advance. please be free to answer to my post
    NOTE: i have specified 3 component
    1. selectManyListbox
    2. selectOneMenu
    3. selectManyMenu

    Did you found a solution to the problem?
    I am having similar problem in my page.
    Thanks,
    Bablu

  • Browser compatibility problem with t:selectOneMenu and JavaScript calendar

    I'm having problem with <t:selectOneMenu> and JavaScript calendar on IE. It works fine on Firefox but doesn't work on IE.
    The JSF code is as follows:
    <tr>
                                       <td align="right">
                                            Archive Date
                                       </td>
                                       <td align="left" colspan="3">
                                       <table cellpadding="0" cellspacing="0" border="0">
                                       <tr>
                                       <td>
                                       <span class="tuny_text">After&#160;(Ex. Oct 18, 2007)</span>
                                            <h:outputLabel for="txtArchiveDateAfter" value="Archive Date After" rendered="false"/>
                                            <br/>
                                            <t:inputText required="false" value="#{nonItemImageSearchPage.stringArchiveDateAfter}" name="txtArchiveDateAfter" id="txtArchiveDateAfter" forceId="true"  styleClass="inp" style="width: 128px">
                                       </t:inputText>
                                            <t:graphicImage value="/images/calendar.png" id="dtpArchiveDateAfter" name="dtpArchiveDateAfter" forceId="true" style="border: 2px solid #EEE; cursor: pointer"></t:graphicImage>
                                            <br/>
                                            <t:message for="txtArchiveDateAfter" styleClass="form_error" replaceIdWithLabel="true"></t:message>
                                       </td>
                                       <td>
                                       <span class="tuny_text">Before&#160;(Ex. Oct 18, 2007)</span>
                                            <h:outputLabel for="txtArchiveDateBefore" value="Archive Date Before" rendered="false"/>
                                            <br/>
                                            <t:inputText value="#{nonItemImageSearchPage.stringArchiveDateBefore}" name="txtArchiveDateBefore" id="txtArchiveDateBefore" forceId="true" style="width:128px" styleClass="inp">
                                       </t:inputText>
                                            <t:graphicImage value="/images/calendar.png" id="dtpArchiveDateBefore" name="dtpArchiveDateBefore" forceId="true" style="border: 2px solid #EEE; cursor: pointer"></t:graphicImage>
                                            <br/>
                                            <t:message for="txtArchiveDateBefore" styleClass="form_error" replaceIdWithLabel="true"></t:message>
                                       </td>
                                       </tr>
                                       </table>
                                       </td>
                                  </tr>
                                  <tr>
                                       <td align="right" >
                                            <h:outputLabel for="drpBackground" value="Background"/>
                                       </td>
                                       <td align="left" class="right_separator">
                                            <t:selectOneMenu id="drpBackground" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.backgroundId}" styleClass="inp" style="width: 150px">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                            <s:selectItems value="#{nonItemImageSearchPage.backgroundPrefsList}"
                                                      var="backgroundPrefs" itemValue="#{backgroundPrefs.id}" itemLabel="#{backgroundPrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                       <td  align="right" class="left_separator">
                                            <h:outputLabel for="drpTheme" value="Theme"/>
                                       </td>
                                       <td align="left" >
                                            <t:selectOneMenu id="drpTheme" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.themeId}" styleClass="inp WCHhider" style="width:150px;">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.themePrefsList}"
                                                      var="themePrefs" itemValue="#{themePrefs.id}" itemLabel="#{themePrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                  </tr>
                                  <tr>
                                       <td align="right" >
                                            <h:outputLabel for="drpSeason" value="Season"/>
                                       </td>
                                       <td align="left" class="right_separator">
                                            <t:selectOneMenu id="drpSeason" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.seasonId}" styleClass="inp" style="width:150px">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.seasonPrefsList}"
                                                      var="seasonPrefs" itemValue="#{seasonPrefs.id}" itemLabel="#{seasonPrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                       <td align="right" class="left_separator">
                                            <h:outputLabel for="drpClothing" value="Clothing"/>
                                       </td>
                                       <td align="left"  >
                                            <t:selectOneMenu id="drpClothing" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.clothingId}" styleClass="inp" style="width:150px">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.clothingPrefsList}"
                                                      var="clothingPrefs" itemValue="#{clothingPrefs.id}" itemLabel="#{clothingPrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                  </tr>
                                  <tr>
                                       <td align="right" >
                                            <h:outputLabel for="drpToy" value="Toy"/>
                                       </td>
                                       <td align="left" class="right_separator">
                                            <t:selectOneMenu id="drpToy" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.toyId}" styleClass="inp" style="width:150px">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.toyPrefsList}"
                                                      var="toyPrefs" itemValue="#{toyPrefs.id}" itemLabel="#{toyPrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                       <td align="right" class="left_separator">
                                            <h:outputLabel for="drpJuvenile" value="Juvenile"/>
                                       </td>
                                       <td align="left" >
                                            <t:selectOneMenu id="drpJuvenile" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.juvenileId}" styleClass="inp" style="width:150px">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.juvenilePrefsList}"
                                                      var="juvenilePrefs" itemValue="#{juvenilePrefs.id}" itemLabel="#{juvenilePrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                  </tr>
                                  <tr>
                                       <td align="right">
                                            <h:outputLabel for="drpGroup" value="Grouping"/>
                                       </td>
                                       <td align="left"  class="right_separator">
                                            <t:selectOneMenu id="drpGroup" forceId="true" value="#{nonItemImageSearchPage.nonItemImageSearchModel.modelGroupingId}" styleClass="inp" style="width:150px;">
                                            <f:selectItem itemLabel="--------" itemValue="-1"/>
                                                 <s:selectItems value="#{nonItemImageSearchPage.groupPrefsList}"
                                                      var="groupPrefs" itemValue="#{groupPrefs.id}" itemLabel="#{groupPrefs.description}" />
                                            </t:selectOneMenu>
                                       </td>
                                       <td class="left_separator">&#160;</td>
                                       <td>&#160;</td>
                                  </tr>
    The JavaScript code is as follows:
    <script type="text/javascript" language="javascript">
         var dtpArchiveDateBefore = new MooCal("txtArchiveDateBefore");
         var dtpArchiveDateAfter = new MooCal("txtArchiveDateAfter");
         window.addEvent("domready", function(){
           $("dtpArchiveDateBefore").addEvent("click", function(e){
                    var event = new Event(e).stop();
                      var x = (event.client.x)-150;
                      var y = event.client.y;
                      dtpArchiveDateBefore.show(x,y);  // Display the calendar at the position of the mouse cursor
                      dtpArchiveDateBefore.minYear = 1800;
                        dtpArchiveDateBefore.maxYear = 2017;
         /*$("txtArchiveDateBefore").addEvent("click", function(e){
                 e.target.blur();
                    var event = new Event(e).stop();
                      var x = (event.client.x)-150;
                      var y = event.client.y;
                      dtpArchiveDateBefore.show(x,y);  // Display the calendar at the position of the mouse cursor
                      dtpArchiveDateBefore.minYear = 1800;
                        dtpArchiveDateBefore.maxYear = 2017;
        $("dtpArchiveDateAfter").addEvent("click", function(e){
                    var event = new Event(e).stop();
                      var x = (event.client.x)-150;
                      var y = event.client.y;
                      dtpArchiveDateAfter.show(x,y);  // Display the calendar at the position of the mouse cursor
                      dtpArchiveDateAfter.minYear = 1800;
                        dtpArchiveDateAfter.maxYear = 2017;
       /* $("txtArchiveDateAfter").addEvent("click", function(e){
                 e.target.blur();
                    var event = new Event(e).stop();
                      var x = (event.client.x)-150;
                      var y = event.client.y;
                      dtpArchiveDateAfter.show(x,y);  // Display the calendar at the position of the mouse cursor
                      dtpArchiveDateAfter.minYear = 1800;
                        dtpArchiveDateAfter.maxYear = 2017;
         </script>When the calendar is above t:selectOneMenu, it doesn't show up on t:selectOneMenu area. Could anyone help me solve the issue?
    Thanks
    Rashed

    There are dozens of CSS attributes that can (and have to) be handwritten. Trouble with them is that, like text shadows, they don't appear in all browsers. I have nine different browsers installed and test pages in ALL of them before I "finish" building site or page for a template.
    I try to build for Firefox, out of personal preference for it, but I have to do things that work with IE because it still holds the market share (46%IE to 42%FF), and I will only go with designs that work in IE, FF, NS, Opera, Safari, and Chrome.
    As to your questions.
    1. The compatibility check is most likely current with the time of the build. I don't know if that component updates as browsers do, but I'd tend to think it doesn't. I'm using CS4  and there haven't been any updates for it in nearly a year. Firefox has released 4.0, Opera released 11, and Safari released 5 since then. The updater would have found and downloaded something if it was available.
    2. I could only guess. Text shadows DON'T show up in design view (or in IE) but they do in browser preview. It's just a UI quirk, and it means "trial and error" is the onyl way to get what you want.
    3. The quick-selects which are in DW dropdowns or popouts are the ones most  common to CSS designs and have been proven to work with all browsers at the time of release of your particular build of DW.
    Hope that helps..

Maybe you are looking for

  • How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie

    How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie -  simple answers please - Thanks in advance.

  • Oracle 10g Express Edition - Problem setting Remote Listener access

    Hi, I have finally managed to get my SUSE machine running Oracle XE. Now I wanted to add remote access to the listener by issuing the following statement (which is the same as described in the documentation) SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCES(F

  • No Response from service on request of trial Account

    I've posted my mail on 26th oct 2006, to get trial account updation actually the application was working since 10 days but it automatically stops....on the demo day of the project.... till then i havent received any mail or response from that side ..

  • Related to delivery

    HI,      I am having some doubt in delivery document creation. 1)i created one delivery document with an item 5 items(not line items) and i processed to billing also but the client needs 10 items in the same deliver after the creation of billing in t

  • Charge 1 generations shuffle w/o syncing?

    I have been given my daughter's first generation iPod shuffle, and there is music on it that I want to keep there. I need to charge the battery, but I am afraid it will start to sync and wipe out the music that's on the iPod. I have iTunes 7.6.2. Can