Error while populating drop down list with values from a database

Hi all,
I have a JSP page with a drop down list that is to be populated with values from a database.
This is the code in my JSP file:
     <!-- Form for picking the floor -->
         <!-- Get the available floors -->
         <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
            Iterator<Integer> iterator = floornumbers.iterator(); %>
         <!-- Create the form for users to select the floor -->
         <form id="floorselectionform">
              <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
              Select floor | <select name="floorselector" id="floorselector">
                   <% while (iterator.hasNext()) { %>
                   <option value="<%=iterator.next().intValue()%>"> <%=iterator.next().intValue()%> </option>
                   <% } %>
              </select>
              <input type="submit" value="Go!"/>
         </form>   The DataManager.java class simply forwards this to its respective Peer class, which has the code shown below:
      package seatplanner.model;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    /* This class handles all floor operations */
     public class FloorPeer
     /* This method returns all the floor numbers */
     public static ArrayList<Integer> getAllFloorNumbers(DataManager dataManager) {
        ArrayList<Integer> floornumbers = new ArrayList<Integer>();
        Connection connection = dataManager.getConnection();
        if (connection != null) {
          try {
            Statement s = connection.createStatement();
            String sql = "select ID from floor order by ID asc";
            try {
              ResultSet rs = s.executeQuery(sql);
              try {
                while (rs.next()) {
                  floornumbers.add(rs.getInt(1));
              finally { rs.close(); }
            finally {s.close(); }
          catch (SQLException e) {
            System.out.println("Could not get floor numbers: " + e.getMessage());
          finally {
            dataManager.putConnection(connection);
        return floornumbers;
     }  The classes compile properly, but when I load this page up in Tomcat it just freezes and does not load the form. I tested the DB connection and it works fine.
What am I doing wrong in the JSP code?
Thanks for the help in advance.
UPDATE: I commented out the form, and added <%=floornumbers.size()%> right above the commented code to check if the ArrayList is indeed getting populated with the values from the database (the values are of type integer in the database). The page still freezes like before. I'm puzzled now :confused: .

Wrong usage of Iterator.
<!-- Form for picking the floor -->
         <!-- Get the available floors -->
         <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers();
            Iterator<Integer> iterator = floornumbers.iterator(); %>
         <!-- Create the form for users to select the floor -->
         <form id="floorselectionform">
              <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
              Select floor | <select name="floorselector" id="floorselector">
                   <% while (iterator.hasNext()) {
                                Integer inte = iterator.next();
                        %>
                   <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                   <% } %>
              </select>
              <input type="submit" value="Go!"/>
         </form>or make use of enhanced loop as you are already using J2SE 5.0+ for avoiding confusions.
<!-- Form for picking the floor -->
         <!-- Get the available floors -->
         <% ArrayList<Integer> floornumbers = dataManager.getAllFloorNumbers(); %>
         <!-- Create the form for users to select the floor -->
         <form id="floorselectionform">
              <input type="hidden" name="action" value="floorselected"/> <!-- Guides the servlet to redirect to the appropriate page -->
              Select floor | <select name="floorselector" id="floorselector">
                   <% for(Integer inte:floornumbers) {%>
                   <option value="<%=inte.intValue()%>"><%=inte.intValue()%></option>
                   <%}%>
              </select>
              <input type="submit" value="Go!"/>
         </form>and a lot better thing would be making usage of basic Taglib provided with JSTL spec or struts spec which make life easier and simple.
something like usage of <c:forEach/> or <logic:iterate/> would be lot better without writing a single scriptlet code.
Hope that might help :)
REGARDS,
RaHuL

Similar Messages

  • Error message when populating drop-down list with mysql DB

    Hi everyone,
    i'm having an error message which gives zero result on google...
    here's the context: i have a drop-down list called "Patient" in the template pages of a livecycle form. The binding is set to Global so that the value is the same on the two pages of the form. I have also linked the items of the list to a mysql database (with DataConnection) by clicking the "Specify Item Values" link on the Binding tab of the element.
    now, when i open my form (or preview) i get this message, in french:
    "Propriété incorrecte de l'opération SET; dataGroup ne possède pas de propriété id."
    which is, in english (personal translation):
    "Incorrect property of the SET operation; dataGroup doesn't have an id property."
    this message appears in a messagebox, the background is empty (standard gray color)
    Then i click "OK" (which is the only button available), and my form appears, the list is populated with the values of my database table, so it actually works...
    As i said, i have zero results on google with this message...
    any idea what it means and how to avoid it?
    Thanks!

    Hi,
    For all things XFA Forms and Databases there is no place better than Stefan Cameron's blog: http://forms.stefcameron.com/.
    Have a look here: http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/ and at comment 60.
    Good luck,
    Niall

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi!
    I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop down list can be associated with an object in the XML file. So, when I make a choice in the drop down list, a corresponding object value is fetched from the XML file and put in a text field on the form.
    How to do this is described by Stefan Cameron here:
    http://forms.stefcameron.com/2006/07/29/dynamic-properties/
    There's a snag, though, and to describe it more clearly:
    The XML file contains three types of objects: role, role number, and role cost center. Of these I use the first and the third, i.e. the role and the role cost center. The drop down list contains the roles, and when I select a role, the corresponding cost center is filled out in the text field. So far, so good!
    But -- if the cost center has the same value for two or more roles, all of these roles "bounce back" into the drop down list, that is, they are all selected in the drop down list. How many of these you can see depend on the height of the drop down list -- if it's low you'll only see the first one.
    If I modify Stefan Cameron's data in his example I get the same behavior, so the problem seems to have to do with how XML data are fetched.
    I'm sure there's a workaround, but I can't find it! I've spent many hours browsing the web without finding anyone with a similar problem.
    Any suggestions appreciated!

    Although your issue is far beyond mine, I was hoping you can help me out.....
    I need to create a drop down list of names which I wish to somehow link to an Excel spreadsheet.
    Please let me know the steps I need to do.  I've tried several things, but nothing seems to work and I'm not sure what I am doing wrong.
    Thank you

  • How to get drop down list  display values

    I have binded my drop down list with tabledataprovider. In the value field i have given customer id and in display field i have given customer name.
    I have reatrived cust id but
    how to reatrieve customer name.

    http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=56515
    Also, if your dropdown list is bound to a data provider you can use something like this:
    RowKey rowkey = tripDataProvider.findFirst("PERSON.PERSONID", dropDown1.getSelected());
    String displayValue = (String)tripDataProvider.getValue("PERSON.NAME", rowkey);

  • Self populating drop down lists.

    Is there any tutorials or information to do a self populating
    drop down list
    in CF?
    I assume you would have the form post back to its self using
    a IsDefined for
    each drop down step. Drop Down 1 (DD1) is selected and that
    posts back to
    the same page and causes the DD2 to run a SQL query based on
    DD1's choice
    and you repeat the process until the final DD is selected.
    Is this correct and where can I find a good tutorial?
    Thanks
    Wally Kolcz
    Developer / Support

    Do a search on Google for "related selects in ColdFusion".
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "Wally Kolcz" <[email protected]> wrote in
    message
    news:e7c9hc$g6a$[email protected]..
    > Is there any tutorials or information to do a self
    populating drop down
    > list in CF?
    >
    > I assume you would have the form post back to its self
    using a IsDefined
    > for each drop down step. Drop Down 1 (DD1) is selected
    and that posts back
    > to the same page and causes the DD2 to run a SQL query
    based on DD1's
    > choice and you repeat the process until the final DD is
    selected.
    >
    > Is this correct and where can I find a good tutorial?
    >
    > Thanks
    >
    > --
    > Wally Kolcz
    > Developer / Support
    >

  • How to populate page drop-down list in Struts from action?

    I have following mockup JSP:
    <td colspan="2" height="28"> <font size="2">
            <html:select property="sj">
               <html:option value="allj">aaa,1,str1</html:option>
             </html:select>
                        </font>
                      </td>
    ...Struts action will prepare results as String[] array e.g.:
    aaa,1,str1
    aaa,2,str2
    aaa1,1,str3
    aaa1,b,str4
    and I have to show this in the page as a drop-down list of values that are represented in this String[] array returned from Struts action.
    Should action return result array in original ActionForm submitted to the action by this page or should it just put the array into request or session? I need an example if possible
    Many thanks,

    Hi,
    In ur Action Class create aa ArrayList of LabelValueBean Object (use import org.apache.struts.util.LabelValueBean; )
    Eg:
    ArrayList myList  = new ArrayList();
    for( int i=0; i<10 ; i++ )
       myList.add( new LabelValueBean(  "Label of  "+ i , " value of " +i  ) );
    }put myList either in request or session
    eg
    session.setAttribute(  "DisplayList", myList  );****************************************************************
    in JSP use JSTL Tags for JSP
    eg
    <html-el:select property="listToDisplay"  style="width=200" size="1">
    <html-el:option value="-1">--Select One--</html-el:option>
    <html-el:options collection="DisplayList" property="value" labelProperty="label" />
    </html-el:select>Here "DisplayList" will be ref'ed from session scope or request scope.
    Hope this can solve ur Doubt.
    Ganesh

  • Problems with populating Drop Down List (WD ABAP)

    Hi,
    I am trying to populate two Drop Down fields CARRID and CONNID (Type Table SPFLI) on an Adobe Interactive Form in a Web Dynpro ABAP Application.
    In the WD Context I have a node "Flights" with those attributes.
    In the WDDOINIT I populate the Context elements (just for test purposes with all entries of SPFLI).
    [code]  
    DATA:
         node_flights                        TYPE REF TO if_wd_context_node,
         elem_flights                        TYPE REF TO if_wd_context_element,
         stru_flights                        TYPE wd_this->element_flights,
         it_flights TYPE TABLE OF spfli.
    SELECT carrid connid FROM spfli INTO TABLE it_flights.
    navigate from <CONTEXT> to <FLIGHTS> via lead selection
       node_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
    node_flights->bind_table(
        new_items            = it_flights
        set_initial_elements = ABAP_FALSE
    [/code]
    According to this
    Re: adobe form/reader  error I bound the element values property of the Enumerated Drop Down List to [code]$record.sap-vhlist.CARRID.item[*][/code], whereas <i>Object Text</i> is "Text" and <i>Object Value</i> is "Key".
    Unfortunately the DDLs on the Adobe Form are not populated with the values read from the table. I debugged the application and the values are written to the Context node.
    Do you have any further hints?
    Best regards,
    Robin
    Message was edited by:
            Robin Wennemuth

    Robin:
    Did you get this resolved? Would you please tell me how you got it done?
    Thank you,
    Fred.

  • Drop Down Lists and Value Change Events

    I have 4 drop down lists each with a set of values from the database.
    Based on the value of the first list(ValueChangeEvent only for list1) , I fetch data from the database and set the 'selected value' in the other lists.
    I have a Submit button which takes values from these 4 lists and puts it in the database.
    Problem:
    I change list 2 through list 4 and hit a Submit button which inserts all the values in the database.
    However,on Clicking the Submit button I never get the new selected values, it always refers to the previously fetched values.
    I tried to recreate this case in a Sandbox without a database , Here is the code:
    Page1.jsp
    <h:selectOneMenu id="list1" value="#{SessionBean1.selectedList1}" valueChangeListener="#{SessionBean1.list1ValueChangeListener}"  onchange="this.form.submit();" >
                   <f:selectItems id="dropdown1SelectItems" value="#{SessionBean1.list1}"/>
    </h:selectOneMenu>
      <h:selectOneMenu id="list2" value="#{SessionBean1.selectedList2}" >                           
                  <f:selectItems id="dropdown2SelectItems" value="#{SessionBean1.list2}"/>
       </h:selectOneMenu>
       <h:commandButton id="add" actionListener="#{SessionBean1.addActionListener}" value="Add"/>
        <h:inputText id="result" value="#{SessionBean1.result}" />SessionBean1
       public SessionBean1() {
            list1.add(new SelectItem("0","0"));
            list1.add(new SelectItem("1","1"));
            list1.add(new SelectItem("2","2"));
            list1.add(new SelectItem("3","3"));
            list2.add(new SelectItem("a","a"));
            list2.add(new SelectItem("b","b"));
            list2.add(new SelectItem("c","c"));
            list2.add(new SelectItem("d","d"));
            map.put("0", "a");
            map.put("1", "b");
            map.put("2", "c");
            map.put("3", "d");
        private void fetch_data(String value){
             selectedList2=map.get(value);
        public void list1ValueChangeListener(ValueChangeEvent vce){
                fetch_data(vce.getNewValue().toString());
        public void addActionListener(ActionEvent event){
            result=selectedList2;
        }I tried debugging and found that after the Value Change Event is fired only selectedList1 gets a new value during Update Model Values Phase and selectedList2 still has the old value.
    With this sand box project I cannot even get the second list to show the corresponding value.
    Any insight on this would be helpful

    Thank You Balus C,
    I just realized the reason why this is not working, I found the reason in your article Populating Child Menu's article, I am just
    putting it as a reference here.
    One concern is that the skipping of the UPDATE_MODEL_VALUES will also cause that the new values of the menu's which have immediate="true" set won't be set in the backing bean. This can partly be fixed by getting the new value from the ValueChangeEvent inside the valueChangeListener method and assign it to the appropriate property. But this won't work for other menu's of which the valueChangeListener isn't been invoked. This would cause problems if you select a child menu value and then select the parent menu back to null and then reselect it to same value again, the child menu which will show up again would remain the same selection instead of null while its child will not be rendered! To solve this we need to bind the menu's to the backing bean so that we can use UIInput#setValue() and UIInput#getValue() to set and get the actual values.+ The JSF lifecycle will set and get them in the RESTORE_VIEW and RENDER_RESPONSE phases respectively.+
    I am not sure I understand whether or not it is a limitation but the reason above is valid and I rolled back to binding my menus and getting to work with that.
    Is Binding UI components a wise idea because most of the attributes can be programmed using properties in Backing Beans unless you have to build new components?
    Thanks Again

  • Dynamic Drop-down list - selected value can't be cleared ...

    1. check out the following code of a dynamic drop down list using cursor :-
    DECLARE
         -- DROP-DOWN LIST OF ALL DEPARTMENTS
         TEMPNUMBER NUMBER(2) := 2 ;
    -- Because we've to initialize the list
    -- at least with 1 item.
    CURSOR C_DEPT IS
         SELECT DEPT_ID FROM DEPARTMENT;
    BEGIN
         ABORT_QUERY ;
         CLEAR_LIST('DEPTLIST');
         FOR TEMP IN C_DEPT LOOP
         ADD_LIST_ELEMENT( 'DEPTLIST', TEMPNUMBER, TEMP.DEPT_ID, TEMP.DEPT_ID );
         :SRBLOCK.LST := TEMP.DEPTNO;
         -- prev. line set the newly selected value
         TEMPNUMBER := TEMPNUMBER + 1 ;
         END LOOP;     
    END;
    2. problem is as we've to atleast initialize with one list item... that item can't be cleared with CLEAR_LIST.
    3. how can i actually clear that and still use cursor. because i've searched forum for this thing and found all those code not working ... for my project ...
    4. quick help needed ...

    Hi Omar,
    I have solution for you
    To populating or refreshing the lists you can use
    two procedures:
    One of them - generic, which can be used for all types of list
    Another is specific which contain a SQL statement to retrieve the data for
    particular list.
    1. Specific procedure:
    PROCEDURE GET_DEPARTMENT_LIST
    IS
    sql_stat VARCHAR2(32767);
    ret_code NUMBER;
    BEGIN
    -- SQL Statement for Drop-down List
    -- (must have two columns for label and value - both VARCHAR2)
    sql_stat := ' SELECT DEPARTMENT_NAME,TO_CHAR(DEPT_ID)'
    ||' FROM SCHEMA.DEPARTMENT';
    POPULATE_MY_LIST('BLOCK.DEPARTMENT_LIST',sql_stat,ret_code);
    END;
    2. Generic procedure:
    PROCEDURE POPULATE_MY_LIST
    (item_name VARCHAR2,
    sql_stat VARCHAR2,
    out_code OUT NUMBER)
    IS
    rg_id RECORDGROUP;
    rg_name VARCHAR2(100);
    ret_code NUMBER;
    item_id ITEM;
    BEGIN
         item_id := FIND_ITEM(item_name);
         IF ID_NULL(item_id) THEN
              out_code := -1;
              RETURN;
         END IF;
         --Creating Record Group with Unique Name
         rg_name := 'RG_'||SUBSTR(item_name,INSTR(item_name,'.',1)+1,LENGTH(item_name));
         --Checking Record Group Name for existance
         rg_id := FIND_GROUP(rg_name);
         --If Group does exist - delete it
         IF NOT ID_NULL(rg_id) THEN
              DELETE_GROUP(rg_id);
         END IF;
         --Creating Record Group
         rg_id := CREATE_GROUP_FROM_QUERY(rg_name,sql_stat);
    ret_code := POPULATE_GROUP(rg_id);
    IF (ret_code <> 0) THEN
         out_code := ret_code;
         RETURN;
    END IF;
    POPULATE_LIST(item_name,rg_id);
    IF NOT FORM_SUCCESS THEN
         out_code := -2;
         RETURN;
    ELSE
    out_code := 0;     
    END IF;
    DELETE_GROUP(rg_id);
    END;
    Hope it help.
    Dmitry

  • Populating drop down list in a table cell-urgent

    Hi all
    I have a problem. I want to populate a dropdown list in a table cell. can anybody tell me the step by step procedure for that.
    I am doing it generally. not using R/3
    I am creating sub node like u have mentioned. I haven't done it using wizard.
    Is there any difference in the way we populate this list?
    My root node is expense. Inside that some value attributes are there. For the drop down list i've created a sub node 'extype'.
    I am getting error.
    it is:
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(EREmpHomeView.expense.extype): cannot bind or add elements because the node has no valid parent
    Following is the code i've written.
    IPrivateEREmpHomeView.IExtypeElement el;
              IPrivateEREmpHomeView.IExtypeNode nd=wdContext.nodeExpense().nodeExtype();
              el=wdContext.nodeExpense().nodeExtype().createExtypeElement();
              el.setEtype("Travel");
              nd.addElement(el);
    Sill i'm getting the same error
    Hi Nidhideep
    Error has gone with the code that Mr Anil has given. But there is no value in the List. Dropdown list is coming as a blank list.
    Thanks and Regards
    Aparnna
    Message was edited by:
            aparnna prasad

    hi
    Aparna try this code:
    1. Context description at design time:
    Value-Node "myNode", collection type=list, cardinality=0..n, selection=0..n
    and the attribute:
    Value attributes “myValue”, type="String".
    2. The corresponding Java source code example that you create in the wdDoInit method of the controller implementation:
    // The ISimpleTypeModifiable interface enables access to
    //a data type instance that can be modified at runtime:
    ISimpleTypeModifiable myType =
       wdThis.wdGetAPI().getContext.getModifiableTypeOf(“.myNode.myValue”);
    //Sets the label text for this data type.
    myType.setFieldLabel(“New label”)
    //Sets the valid values of this data type. The individual elements are inserted
    //when the put method is called and
    //and the value set is filled with the appropriate
    //key value pair.
    IModifiableSimpleValueSet values =
       getSVService().myType.getModifiableValueSet();
    values.put(“key_1”,”Mister”);
    values.put(“key_2”,”Mistress”);
    values.put(“key_3”,”Miss”);
    Regards
    Nidhideep

  • ISR drop-down lists with ZCI layout

    Hi,
    We are developing a custom ISR scenario on Netweaver 2004s SP11 and Adobe LiveCycle Designer 7.1. Our Interactive form has a drop-down list which is supposed to get prefilled. When we use the ZCI layout, the drop-down is not showing any values. If we simply change the layout type to Standard, it is working fine. While using ZCI layout, we inserted the webdynpro script and used ISR native controls.
    Why the drop-down is not working with ZCI layout? Are we missing any thing?
    Appreciate your response
    Thanks
    Ram

    It is solved. The issue was with binding.

  • Dynamic drop down list  with dynamic sql

    Hi all,
    I am facing a problem here..Please see if any one can help.
    I jave a JSP page which has two drop down list boxes.
    One list box is populated from the databse.
    ListBox1:
    values: kishan
    maha
    tony
    assuming all those were populated from database.
    ListBox2:
    values: Chennai
    Bangalore
    Hyderabad
    should come if "kishan" is selected from the first listbox.
    if "maha" is selected then
    Values: Delhi
    Goa
    Mumbai
    should be populated from the databse using the where condition
    got by the first selection.
    Both these boxes are in same page and i do not want to transfer
    this to another page..staying in the same how to accomplish this.
    An onChange function of the selection list on listBox1 can be
    written which gives me what value is selected. This i can get in
    Java script. But how to give this value to a jsp variable which
    queries the database using the selected value.
    Is there any other logic i can use.
    remember there is no request that is passed. both are in same page and on selection it should stay in same page populating the
    second one dynamically.Bcoz what i have said is the operation in one row.. the same should happed for 5 rows in a form so.. pls send me code if possible or links related to this problem
    please help.

    You can use Ajax ;-) or you do a server roundtrip (aka postback) i.e. the onchange event of ListBox1 submits the form and the server returns the same page with the updated ListBox2

  • Populating Drop down List in Excel Planning Layout

    HI!
    hopefully somebody can help me.
    I have a simple planing function ( copy function: Version1 => Version2 ), Version2 the target version is a BEx Variable and a parameter of the copy planing function.
    basicly i want to put a drop down list on a Excel Planing Layout to manipulate the BEx Variable (Version 2 - the target version). So that the user can fill the BEx Variable by selecting the version by the dropdown list.
    In BW-BPS is quite simple -but unfortunately i dont know how it works in BW-IP.
    Best Regards
    Mike
    Message was edited by:
            Mike Khatib

    Hello Mike,
    First you create two Drop Down lists (Dimension Version, Read Mode Masterdata table) in your workbook. Now go to the Visual basic editor (alt+F11) and you will find the following code for each Drop Down list:
    Public Sub DROPDOWN_22_LostFocus()
      Dim lComboBoxName As String
      Dim BEx1 As Object
      On Error Resume Next
      lComboBoxName = "DROPDOWN_22"
      Set BEx1 = Application.Run("BExAnalyzer.xla!GetBEx")
      Call BEx1.RaiseComboBoxChange(Parent.Name, lComboBoxName)
    End Sub
    Comment the last line and add a function to output the chosen value to a cell in the workbook
    Public Sub DROPDOWN_22_LostFocus()
      Dim lComboBoxName As String
      Dim BEx1 As Object
      Dim version As String
      'Call Dropdown List
      On Error Resume Next
      lComboBoxName = "DROPDOWN_22"
      Set BEx1 = Application.Run("BExAnalyzer.xla!GetBEx")
      'Call BEx1.RaiseComboBoxChange(Parent.Name, lComboBoxName)
      'get version
      version = DROPDOWN_22.Text
      'output chosen version to a cell in the workbook
      Range("C801").FormulaR1C1 = version
    End Sub
    Now add a command range to your workbook (VAR_VALUE_1,1, <VERSION>). That’s it.
    If you need further information don’t hesitate to ask me!
    Best regards
    Johannes
    PS: Please assign points if this information was helpful

  • Firefox tab to fields and drop down lists with Mac OS X 10.5 (Leopard)

    Has any one else noticed some problems after upgrading to OS X 10.5? It seems I can't tab to every field, such as the "Keep me signed in for today" checkbox on ebay's login page. I used to tab to it before upgrading. I'm also tabbing past some drop down lists where you select the state where you live in sign up pages. And before you suggest it, I have already turned on "All Controls" in System Preferences->Keyboard & Mouse. I don't think that affects Firefox anyway since it is a system controls option and doesn't affect the actions in a browser window.
    Also, some drop down lists no longer drop down. I can focus on the list and even change the value using the up and down arrows, but the full list is no longer displayed. Again, this changed with the upgrade to Leopard.
    If any one has experienced these specific issues or something similar please share your thoughts and solutions.
    Mark

    I am also having the drop down problem on my macbook, it's getting really annoying. On top of that, twice today (i just got the macbook three days ago) my keyboard will just stop working- i cannot type in firefox nor in finder or word.

  • Dynamically Populating Drop Down Lists

    Hi,
    I am trying to dynamically populate a drop down list on a form based on a selection in another drop down list. I have read the help file "To dynamically populate a second field after populating the first" which goes through an example, however I cannot get this example to work for me.
    I know that the best way to do it is to create an xml file and connect the form to this file. I am new to programming in xml but have had some experience in other forms. The code that I have (from the help page) looks like this;
    <?xml version="1.0" encoding="UTF-8"?>
    <MyData>
       <country/>
       <countries>
          <item uiname="United States" token="US"/>
          <item uiname="Vietnam" token="SRV"/>
       </countries>
       <state/>
       <US>
          <item>California</item>
          <item>New York</item>
          <item>Texas</item>
       </US>
       <SRV>
          <item>An Giang</item>
          <item>Bac Giang</item>
          <item>Bac Kan</item>
       </SRV>
    </MyData>
    I have then followed the instructions on the page, and am unable to populate either field on my form. Perhaps there is something wrong with my code? Or any other suggestions would be greatly appreciated! 
    Thanks

    Hi Paul,
    I have another question,
    I would now like to populate a third drop down menu based on the selection in the second one, however my code is going wrong somewhere as now when I put in the first 2 drop down lists, nothing appears in the second one. ie, the first drop down list I link to countries, and the second to state, as I did with the previous file, but now, when I preview it, I can choose a country, but nothing comes up in state. When I set the first drop down box to countries, I have to specify that I want it to show the uiname, but I can't do that with the second one when I select state using the XML file below, nothing is shown. Where am I going wrong?
    <MyData>
       <Country/>
       <countries>
          <item uiname="United States" token="US"/>
          <item uiname="Vietnam" token="SRV"/>
       </countries>  
       <state/>
       <US>
          <item uiname="California" token="CA"/>     
          <item uiname="New York" token="NY"/>   
          <item uiname="Texas" token="TEX"/>
       </US>
       <SRV>
          <item uiname="An Giang" token="AG"/>
          <item uiname="Ban Giang" token="BG"/>
          <item uiname="Bac Kan" token="BK"/>
       </SRV>
       <time/>
       <CA>
          <item>6</item>
          <item>7</item>
       </CA>
       <NY>
          <item>5</item>
          <item>4</item>
       </NY>
       <TEX>
          <item>3</item>
          <item>8</item>
       </TEX>
       <AG>
          <item>2</item>
       </AG>
       <BG>
          <item>1</item>
       </BG>
       <BK>
          <item>9</item>
       </BK>
    </MyData>
    Thank you for your help!

Maybe you are looking for

  • LMS 4.2.4 User Tracking End Host Report The system cannot find the path specified

    Hello at all, I have a problem when creating a scheduled User Tracking End Host Report. I always get the message "The system cannot find the path specified" and the job fails. An immediate report is successful. I tried to change the "Report Publish P

  • Mail losing account info between shutdown/restart

    keeps asking to put info on keychain. misplacing incoming mail. Modem working fine on Safari and Netscape. If I have a virus or corruption, how can I flush and restore? I already had a copy of my 10.2.8 OS update and ran that but no help.

  • Intrnalkey in ouqr (formatted search)

    Hello, I have made a "Year transfer" of one companyX and then CompanyX08 is created. Now when I go to companyX08, made a query, save that query "QueryX08" and try to execute that query through Query Generator, a very strange thing happens: Another qu

  • 866-211-0874  Opt out of Business Marketing and Mobile Advertising

    866-211-0874  automated, don't have to talk to anyone. Supposedly the super-cookie opt out, but could also just be the same options as the verizon.com/myprivacy page as well.  Worth a shot though.  Obviously Verizon doesn't call it the supercookie op

  • Unable to activate with serial number Version 10

    I am getting invalid serial number error message.  I would like to upload to my new Win computer, so that I can get all the updates on the new computer.  The original date of purchase was 8.0 6-10-07, then we bought another one and registered it 1-29