DropDown in TableColumn not working

Hello,
I am chasing this now for some hours.
I have a dropdown2 in column4 and some textfields in other columns in a table1 in a form1. The table has just two rows. When the form is beeing posted the http request holds the right information (checked with http monitor).
e.g.:
form1:table1:tableRowGroup1:0:tableColumn4:dropDown2     K
form1:table1:tableRowGroup1:1:tableColumn4:dropDown2     BThe dropDown2 is bound with a DefaultTableDataProvider (-> 'includeFields' checked) to a field "Anrede" of an array of two instances of a selfmade person class:
public class person {
    private String Name;
    private String Vorname;
    private String Alter;
    private String Anrede = "H";
    ...and just the getter & setter methods without any magic.
    All values of the textfields hold exactly the given values of the form after posting.
And now comes the strange thing.
The values of the dropdown are mixed up. In the end the person[0].Anrede equals "B" when it should be "K" and person[1].Anrede equals the default value "H" but it should be "B".
With the debugger I traced this deep into JSF and came to a method called fireValueChanged of class AbstractTableDataProvider. Examining the values of variables there shows that newValue is "B" and old value is "K" in this method. I do not know why but somehow the values of all (= in this case 2) dropDowns are pushed in the first person[0].Anrede field. I could not find the point where the actual assignment is done. fireValueChanged is only the "echo" of this assignment when the right listeners are getting informed about this. A hint about the right class where the assignment is done would be great to set a breakpoint there.
Any other suggestion what I can do to resolve this?
Juergen

We solved this issue today.
The dropdown selected value was bound to
#{page1.defaultTableDataProvider.value['anrede']}but it should be bound to
#{currentRow.value['anrede']}We could not find out how this mistake happened.
But now we do not understand why
#{page1.defaultTableDataProvider.value['anrede']}does not result in an error.
Which value is retrieved by this statement?
Juergen

Similar Messages

  • Dropdown boxes do not work on Firefox 5.0.

    When using the address bar or any dropdown box on Firefox, the drop down menu flashes but will not stay open so that I can use it. I do not have this issue in IE. I have started Firefox in Safe Mode and the dropdown boxes still did not work.
    I can't even use the dropdown box on this form.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Print Preview of Dropdown Applets is not working in MII

    Hello Experts,
    I have upgraded my machine to java v7 
    After that I am facing issue in printing  Work Request forms which have 2 iBROWSER DROPDOWNS .
    When I take print out or print preview of the Form , those 2 iBrowser fields do not appear .
    Its difficult to handle now , can you please suggest how to fix it ?

    Hi Ayush,
    If all other applets on the page are loading without any issues, it's not a problem with jre version.
    If it's only a problem with printing, then rest assured, that's how applets behave.
    If the applet is getting cut between page breaks it would not print anything on that applet, that's why for printing purposes it is advised to use servlets not applets.
    If you have to mandatorily use applets then put proper page breaks.
    Hope it helps.
    Thanks,
    Swaroop

  • I cannot upgrade past 28 my dropdown menu will not work in the address bar I can not search from address bar stuck at home page

    Once I open firefox browser with anything past 28.0 my browser becomes a paperweight no searches from the address bar. Not from the list of drop downs, not from typing the address in the bar. Stuck to the home page it had as default. Firefox does an update every time I close it forcing me to return to 28.0 or through my F--n computer in the trash. Noticed others had this problem but got only questions with no help coming from firefox. This is a Vista 64 bit if that maters. I kinda think maybe nothing past 28 will work but with Vista but no one from firefox will step up and say that.

    Type '''about:addons'''<enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    In the Add-ons Manager, on the left, select '''Extensions.'''
    Disable a few add-ons, then '''Restart Firefox.'''
    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    If the problem continues, disable some more (restarting FF). Continue until
    the problem is gone. After, you know what group is causing the issue.
    Re-enable the last group '''ONE AT A TIME''' (restarting FF) until the problem returns.
    Once you think you found the problem, disable that and re-enable all the
    others, then restart again. Let us know who the suspect is detective.

  • DW 8 dropdown menu is not working in IE,safari

    Hi DW gurus,
    please help.
    I got my site running perfect in Firefox /www.maaki.nl/ (all ready huge achievement for me), but I have drop down  menu bar problem in Safari and IE. There are just boxes and little blue question marks in it. What is wrong, I can't work out?
    I work with DW8 and mac.
    Here is the code of my menu bar:
    <table width="990" height="25" border="0" align="center" cellpadding="0" cellspacing="0" background="../assets/lower-line.jpg">
      <tr>
        <td width="147"><a href="index.html"><img src="" alt="home" name="home_button" width="50" height="20" border="0" id="home_button" /></a></td>
        <td width="130" bordercolor="0"><img src="" alt="info" name="info_button" width="50" height="20" id="info_button" onmouseover="MM_showMenu(window.mm_menu_0219160938_0,0,22,null,'info_button')" onmouseout="MM_startTimeout();" /></td>
        <td width="176"><img src="" alt="documentaries" name="documentaries_button" width="115" height="20" id="documentaries_button" onmouseover="MM_showMenu(window.mm_menu_0219155457_0,0,22,null,'documentaries_button')" onmouseout="MM_startTimeout();" /></td>
        <td width="177"><img src="" alt="short films" name="short_films" width="110" height="20" id="short_films" onmouseover="MM_showMenu(window.mm_menu_0305172051_0,0,22,null,'short_films')" onmouseout="MM_startTimeout();" /></td>
        <td width="179"><img src="" alt="dance films" name="dance_films" width="100" height="20" id="dance_films" onmouseover="MM_showMenu(window.mm_menu_0219171256_0,0,22,null,'dance_films')" onmouseout="MM_startTimeout();" /></td>
        <td width="181"><img src="" alt="performances" name="performances" width="100" height="20" id="performances" onmouseover="MM_showMenu(window.mm_menu_0219181409_0,0,22,null,'performances')" onmouseout="MM_startTimeout();" /></td>
      </tr>
    </table>
    Looking very much forward for some help,
    thanks

    Those MM Rollover menus are terrible. Read why:
    http://losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    Use a CSS menu instead.
    CSS Express Drop-Down Menus  (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web  Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Dropdown not working

    Hi Every one...,
    In my Machine dropdown function is not working. example is in T.code like MM01 (Creation of Material Master) I could not able to select Industrial sector, material type, now values are displaying.
    If with same user ID, I could able to select the values and it is working fine. I believe, required to do settings specific to Machine.
    your Helpful answer is more valueable to me.
    regards.

    clearing history is not likely to resolve the issue... unless you delete the MDB file.
    the SAP note I provided will explain the process.

  • Ajax tabs not working when asp dropdown list in the tab

    I am using asp.net 3.5 framework. My page has modelpopup in that ajax tab controls used. one of the tab has asp:dropdownlist, this dropdown list is binding data from dataset. the tab which has dropdown lists is not working. it is working fine in IE9.0.
    Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    changed to enableEventValidation="false", then it is working fine.

  • Dropdown menu not working for omega site.

    Hi, website omega (time tracker) dropdown menus are not working, when i am using '''ie 8''' its working fine. Any solution available for this problem.

    go to Help Menu -> select "Restart with Add-ons Disabled"
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Zoom -> click "Reset"
    -> go to View Menu -> Page Style -> select "Basic Page Style"
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go Tools Menu -> Clear Recent History -> ''Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on ALL Options -> click "Clear Now"
    -> go to Tools Menu -> Options -> General -> ''When Firefox starts : '''select "Show My Home Page"''''' -> Type the address of the website which you want to be your HomePage e.g. http:www.google.com -> place Checkmark on "Show the Downloads window when downloading a file" -> select Radio Button option2 "Always ask me where to save files"
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows
    2) Load images automatically
    3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Use custom settings for history"''''' -> Remove Checkmark from "Permanent Private Browsing mode" -> place Checkmarks on:
    1) Remember my Browsing History
    2) Remember Download History
    3) Remember Search History
    4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons
    2) Block reported attack sites
    3) Block reported web forgeries
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Bootstrap 3 dropdown menus not working

    Two of my Websites designed with Twitter Bootstrap dropdown menus are not working using Firefox 27. The Website work fine in Chrome and Safari.

    The websites are www.torahrx.com and www.torahpractic.org

  • Auto-Submit On Change in DropDown List not working properly!

    Hi all,
    I�ve got a problem with a drop down list an a table with some rows on my page. The property "Auto-Submit on Change" is set for the drop down because the valueChange-method has to do some work when the user selects another value from the drop down.
    The problem is that after selecting another item from the drop down, the table fields don�t keep their values, which I had entered before I selected another item in the drop down. But: When I select an item again, suddenly exactly these values are set.
    Here my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{Page1.form1}" id="form1">
    <ui:table binding="#{Page1.table1}" id="table1" style="height: 488px; left: 24px; top: 120px; position: absolute; width: 1376px"
    title="Table" width="1376">
    <ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.columnProvider}" sourceVar="currentRow">
    <ui:tableColumn binding="#{Page1.tableColumn1}" headerText="field1" id="tableColumn1" sort="field1">
    <ui:textField binding="#{Page1.textField1}" id="textField1" text="#{currentRow.value['field1']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn2}" headerText="field2" id="tableColumn2" sort="field2">
    <ui:textField binding="#{Page1.textField2}" id="textField2" text="#{currentRow.value['field2']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn3}" headerText="field3" id="tableColumn3" sort="field3">
    <ui:textField binding="#{Page1.textField3}" id="textField3" text="#{currentRow.value['field3']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn4}" headerText="field4" id="tableColumn4" sort="field4">
    <ui:textField binding="#{Page1.textField4}" id="textField4" text="#{currentRow.value['field4']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn5}" headerText="field5" id="tableColumn5" sort="field5">
    <ui:textField binding="#{Page1.textField5}" id="textField5" text="#{currentRow.value['field5']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn6}" headerText="field6" id="tableColumn6" sort="field6">
    <ui:textField binding="#{Page1.textField6}" id="textField6" text="#{currentRow.value['field6']}"/>
    </ui:tableColumn>
    </ui:tableRowGroup>
    </ui:table>
    <ui:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}"
    onChange="common_timeoutSubmitForm(this.form, 'dropDown1');"
    style="position: absolute; left: 48px; top: 24px; width: 240px; height: 24px" valueChangeListener="#{Page1.dropDown1_processValueChange}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    and the code of the valueChange-Method:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    getSessionBean1().getColumnProvider().commitChanges();
    List positions = getSessionBean1().getColumnProvider().getColumnList();
    Is there some explanation for this behavior or it�s really a bug in the way how the drop down is submitting the form? I would understand it when commitChanges is not working here because of auto submit on change (==immediate?). but once it works und once it doesn�t work!

    Hi There,
    Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
    This might be of help to you
    http://www.netbeans.org/kb/55/dropdowncomp.html
    Thanks
    K

  • Unable to embed External CSS file, dropdown list,filter panel and dimension filter are not working in SAP Design Studio Tool

    Hello Everyone,
    I am new to SAP Design Studio. I am working on creating dashboards and I am using Design Studio 1.2 version. Please suggest some solutions for the following issues. Thanks in Advance.
    1. External CSS file which is embeded using custom CSS option under "application component properties" is not working.
        * I kept the external CSS file inside repository-> my application folder.
    2. During runtime, getting javascript error while selecting '-' option from filter panel.
    3. Unable to select or type dimension name under "dimension filer component" properties.
    4. Getting runtime error for dropdown list, and I have inserted the following code under "onStartup" option of Application component properties.
    "DROPDOWN_1.setItems(DS_1.getMemberList("PRODUCTREF", MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 20));
    and dimension values are not populated in auto suggest."

    There should be an Error Log under View > Error Log that gives you more details of these errors.  Could you add that?  There is also a View > Script Problems log that provides more details as well.

  • Suddenly can't enter anything in some blank search fields, dropdowns not working, and javascript popups freeze randomly. WTH?

    I noticed a few random things not working on my computer in the last month or so, and I tried everything I can think of to figure out what it is...still haven't figured it out yet. Some examples - I was on ebay, and the tracking number I clicked on from the "My ebay" page popped open a javascript window, but then froze the page so I had to close the whole tab. Then on Grooveshark, the main page comes up, but if I type anything in the search field, I can see what I'm typing, but at the same time, I can still see their default search message. If I try to enter something and hit search, it just gives me the warning that I'm being asked if I want to leave the page, it never searches. There are a few other times I can think of that I tried to use a dropdown menu, and they don't always work - they just look like they're being clicked, but nothing shows. Also not sure if this is related or not, but it bears mentioning - I tried to install Freecorder, and even though I tried both the toolbar and just the button for installation options, it doesn't show up for me to use it, and that's with adblock plus disabled. Also not positive my last update of Adobe Flash took, even though I downloaded it.
    I have adblock plus, but I've had that for years now, and it's never caused a problem or stopped me from seeing anything I actually wanted to see. My system was pretty bada** before this, and it's frustrating that suddenly I can't go everywhere and do everything I could before. Why is it doing this, and can I fix it??

    Meh...if I had started here instead of trying to research this randomly, I would have fixed the problem weeks ago. I just did a Firefox reset, and tried all the things I mentioned in the OP, and it all seems to work fine now. Well, aside from Freecorder, but I can make that work another way, I guess. Anyway, Firefox reset = solution. Yay!

  • Illustrator tools dropdown is not working after the recent software update

    My Illustrator tools dropdown is not working after the recent software update. Any help would much appreciate.

    Same problem here.  I have a Mac with a recent Yosemite update.

  • Iweb + dreamweaver CS4 + dropdown menu not working on all pc's

    I created a dropdown-menu on CS4 DW, pasted it in html doc. and is part of my iWeb created site.
    Looks ok on apple: safari/firefox/iphone.. but on any pc does not matter which browser, it looks awfull, and the jumpmenu simply is not working.. what can I do to correct this?
    Thanks.

    By jumpmenu are you referring to the navbar at the top? It's well known that IE is not friendly with iWeb's navbar. The workaround for that is to create your own Text Based Navbar.
    As far as the drop down menu, is it java based or html based? I'm not familiar with what does an does not work with IE as I don't do windows so can't help you anymore there.

  • Get the value from dropdown list (selectedIndex) and text field -- not working

    Hi All,
    I am trying to find and change by the values selected by user using dropdown and text field. Here is the code.
    ChangeRevDetails();
    function ChangeRevDetails(){
              var myDialog = app.dialogs.add({name:"Enter copyright information"});
    //    var monthlist = col1.dropdowns.add('myList', undefined, myList);
              var col1 = myDialog.dialogColumns.add();
              var col2 = myDialog.dialogColumns.add();
        col1.staticTexts.add({staticLabel:"Month:"});
              col1.staticTexts.add({staticLabel:"Year:"});
        col1.staticTexts.add({staticLabel:"Rev. no.:"});
        var myList = [ "January", "February",  "March", "April", "March", "April", "May", "June", "July", "August", "Sepetember", "October", "November", "December" ];
         var myMonth = col2.dropdowns.add({stringList:myList, selectedIndex:0, minWidth:100});//{minWidth:100});
         var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
         var MyRev = col2.textEditboxes.add({minWidth:100});
        var RevMonth = (myList [myMonth.selectedIndex]);
        var RevYear = myYear.editContents;
        var RevNumber = MyRev.editContents;
        var RevToReplace1 = RevMonth +", "+ RevYear;
        var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
        var myResult = myDialog.show();
            if(myYear.editContents == "") //entry is ""
            alert("Please enter some text into the contents field.");
            ChangeRevDetails();
            else if(myResult == true) //user entered datas
                alert (RevMonth);
                alert (RevYear);
                alert (RevNumber);
                alert (RevToReplace1);
                alert (RevToReplace2);
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
                // grep find/change
                app.findGrepPreferences = app.changeGrepPreferences = null;      
                app.findGrepPreferences.findWhat = "[\\l\\u]+?\\s?\\d{4},?\\s+[\\l\\u]+\\.*\\s+\\d+";
                app.findGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.changeGrepPreferences.changeTo = RevToReplace1;
                app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyleGroups.item("Back page"). paragraphStyles.item("Legal_7/9");
                app.activeDocument.changeGrep();
                app.findGrepPreferences = NothingEnum.nothing;
                app.changeGrepPreferences = NothingEnum.nothing;
        else //implies user clicked cancel
        myDialog.destroy();
    The problem is, it is not taking the value which the user selects from the dropdown and the text field. It takes the default value as "January" and the year is "2013" as both of these values are given as selectedIndex:0 and editContents:"2013". I have compared the coding with some other working scripts as well, but it is not working. I have added several alert boxes to check the value we get.
    Also, the find and change is also not working. Please help me on this. Thanks.
    Regards,
    Muthuraj. D

    Change the order for dialogresults:
    var myYear = col2.textEditboxes.add({editContents:"2013", minWidth:100});  
    var MyRev = col2.textEditboxes.add({minWidth:100});
    var myResult = myDialog.show();
    if(myYear.editContents == "") //entry is ""
    alert("Please enter some text into the contents field.");
    ChangeRevDetails();
    else if(myResult == true) //user entered datas
    var RevMonth = (myList [myMonth.selectedIndex]);
    var RevYear = myYear.editContents;
    var RevNumber = MyRev.editContents;
    var RevToReplace1 = RevMonth +", "+ RevYear;
    var RevToReplace2 = RevMonth +", "+ RevYear + " Rev. " + RevNumber;
    didn't have a look for the find change problem

Maybe you are looking for

  • MISSING ASSET AFTER BURNING DVD

    Hello all, I worked with DVD Studio Pro 4.2.2 (snow leopard Mac OS X v10.6.4) I've finished a DVD with many videos and images right now, everything is where it has to be, I haven't moved anything, there SHOULD be no missing assets, as I have moved NO

  • How to save settings in iPhoto '11 (9.1.3)?

    Hello, does everybody know how to save settings in iPhoto '11 (9.1.3)? Always when I change settings, for example when I check "Copy items to the Library", it is after new start up restored to the default. Also every start up appears "Welcome to iPho

  • Iweb and adsense

    Is it possible to publish a web page on .mac as well as host ads from Google's adsense? Could some one please answer this question. Also, since I am new to iweb, what is my actual web page address? I typed in www.web.mac/[uswername] is this correct?

  • How to call a method on click of selectOneChoice dropdown box

    Hi, I am using selectOnceChoice whose list is coming from an arrayList. On the load of my page, I am populating the arrayList and it is getting visible in the selectOneChoice dropdown. But I have a scenario where I need to populate the arrayList(List

  • How to Install a .MPKG file?

    Details File? CKZ Game Engines Mac (CKZ ENGINES.MPKG) What's it for? NHL 2005 Mac download Whenever I open the nhl 05.dmg, it gives me this message "Error! Cannot Run. Engine Not Installed. Engine Requirement Listed: CKZ Amethyst" So, I researched on