rem: switch(wicketKeyCode(getEvent(event))){ case KEY_UP: if(selected>-1)selected--; if(selected==-1){ hideAutoComplete(); } else { render(); } if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event); break; case KEY_DOWN: if(selected<elementCount-1){ selected++; } if(visible==0){ updateChoices(); } else { render(); showAutoComplete(); } if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event); break; case KEY_ESC: hideAutoComplete(); return killEvent(event); break; case KEY_ENTER: if(selected>-1){ obj.value=getSelectedValue(); hideAutoComplete(); } return killEvent(event); break; default: } } 
add: switch(wicketKeyCode(getEvent(event))){ case KEY_UP: if(selected>-1)selected--; if(selected==-1){ hideAutoComplete(); } else { render(); } if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event); break; case KEY_DOWN: if(selected<elementCount-1){ selected++; } if(visible==0){ updateChoices(); } else { render(); showAutoComplete(); } if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event); break; case KEY_ESC: hideAutoComplete(); return killEvent(event); break; case KEY_ENTER: if(selected>-1){ obj.value=getSelectedValue(); hideAutoComplete(); } return killEvent(event); break; default: } } 
context: 		obj.onkeydown=function(event){			switch(wicketKeyCode(getEvent(event))){				case KEY_UP:					if(selected>-1)selected--;					if(selected==-1){						hideAutoComplete();					} else {				    	render();				    }				    if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event);					break;				case KEY_DOWN:					if(selected<elementCount-1){						selected++;					}					if(visible==0){						updateChoices();					} else {												render();						showAutoComplete();							}				    if(navigator.appVersion.indexOf('AppleWebKit')>0)return killEvent(event);					break;														case KEY_ESC:					hideAutoComplete();					return killEvent(event);					break;				case KEY_ENTER:					if(selected>-1){						obj.value=getSelectedValue();						hideAutoComplete();										}					return killEvent(event);					break;									default:			}		}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/8520a7b4736acaa08bb53d628a153375df8192d4/wicket-autocomplete.js/clean/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js