 		}
 		
 		protected static function taxonSelectHandler(event:TaxonInputFieldEvent = null):void {
-			var taxon:TaxonOccurrenceProxy;
+			var taxon:Object;
 			if(event != null) {
 				taxon = event.taxon;
 			} else {
-				taxon = autoCompletePopUp.dataGrid.selectedItem as TaxonOccurrenceProxy;
+				taxon = autoCompletePopUp.dataGrid.selectedItem;
 			}
 			if(taxon != null) {
 				var renderer:TaxonAttributeRenderer = autoCompleteLastInputField.parentDocument as TaxonAttributeRenderer;

		
		protected static function autoCompleteSearchResultHandler(event:ResultEvent, token:Object):void {
			var data:IList = event.result as IList;
			autoCompletePopUp.dataGrid.dataProvider = data;
		}
		

		}
		
		protected function inputFieldKeyDownHandler(event:KeyboardEvent):void {
			switch ( event.keyCode ) {
				case Keyboard.DOWN:
					if ( autoCompletePopUpOpen ) {
						autoCompletePopUp.dataGrid.setFocus();
						if ( CollectionUtil.isNotEmpty(autoCompletePopUp.dataGrid.dataProvider) ) {
							autoCompletePopUp.dataGrid.selectedIndex = 0;
						}
					}
					break;
				case Keyboard.ESCAPE:
					if ( autoCompletePopUpOpen ) {
						closeAutoCompletePopUp();
					}
					break;
			}
		}
		
