rem: var optionElements = selectElement.getElementsByTagName("div"); for (i = 0; i < optionElements.length; ++i) { EchoEventProcessor.addHandler(optionElements[i].id, "click", "EchoListComponentDhtml.processSelection"); EchoEventProcessor.addHandler(optionElements[i].id, "mouseout", "EchoListComponentDhtml.processRolloverExit"); EchoEventProcessor.addHandler(optionElements[i].id, "mouseover", "EchoListComponentDhtml.processRolloverEnter"); 
add: var itemElements = selectElement.getElementsByTagName("div"); for (i = 0; i < itemElements.length; ++i) { EchoEventProcessor.addHandler(itemElements[i].id, "click", "EchoListComponentDhtml.processSelection"); EchoEventProcessor.addHandler(itemElements[i].id, "mouseout", "EchoListComponentDhtml.processRolloverExit"); EchoEventProcessor.addHandler(itemElements[i].id, "mouseover", "EchoListComponentDhtml.processRolloverEnter"); 
context: EchoListComponentDhtml.MessageProcessor.processInit = function(initMessageElement) {    for (var item = initMessageElement.firstChild; item; item = item.nextSibling) {        var elementId = item.getAttribute("eid");        var defaultStyle = item.getAttribute("default-style");        var rolloverStyle = item.getAttribute("rollover-style");        var selectedStyle = item.getAttribute("selected-style");        var multiple = item.getAttribute("multiple") == "true";        var i;        if (item.getAttribute("server-notify")) {            EchoDomPropertyStore.setPropertyValue(elementId, "serverNotify", item.getAttribute("server-notify"));        }	    var selectElement = document.getElementById(elementId);	    var optionElements = selectElement.getElementsByTagName("div");	    for (i = 0; i < optionElements.length; ++i) {	        EchoEventProcessor.addHandler(optionElements[i].id, "click", "EchoListComponentDhtml.processSelection");	        EchoEventProcessor.addHandler(optionElements[i].id, "mouseout", "EchoListComponentDhtml.processRolloverExit");	        EchoEventProcessor.addHandler(optionElements[i].id, "mouseover", "EchoListComponentDhtml.processRolloverEnter");	    }                var selectionItems = item.getElementsByTagName("selection-item");        for (i = 0; i < selectionItems.length; ++i) {            var optionId = selectionItems[i].getAttribute("option-id");            EchoDomPropertyStore.setPropertyValue(optionId, "selectedState", true);        }                EchoDomPropertyStore.setPropertyValue(elementId, "multiple", multiple);        EchoDomPropertyStore.setPropertyValue(elementId, "defaultStyle", defaultStyle);        EchoDomPropertyStore.setPropertyValue(elementId, "rolloverStyle", rolloverStyle);        EchoDomPropertyStore.setPropertyValue(elementId, "selectedStyle", selectedStyle);    }};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/460c15e23e1fae4fbfa0c2fbfea38874d07bf3d1/ListComponentDhtml.js/buggy/src/webcontainer/java/nextapp/echo2/webcontainer/resource/js/ListComponentDhtml.js