@ SuppressWarnings ( "unchecked" ) @ Override public Iterator < Map < String , String > > getChoices ( final String _input ) { final List < Map < String , String > > retList = new ArrayList < Map < String , String > > ( ) ; try { final AbstractUIPageObject pageObject = ( AbstractUIPageObject ) getPage ( ) . getDefaultModelObject ( ) ; final Map < String , String > uiID2Oid = pageObject == null ? null : pageObject . getUiID2Oid ( ) ; final List < Return > returns = this . autoComplete . getAutoCompletion ( _input , uiID2Oid ) ; for ( final Return aReturn : returns ) { final Object ob = aReturn . get ( ReturnValues . VALUES ) ; if ( ob instanceof List ) { retList . addAll ( ( Collection < ? extends Map < String , String > > ) ob ) ; } } } catch ( final EFapsException e ) { AutoCompleteComboBox . LOG . error ( "Error in getChoice()" , e ) ; } return retList . iterator ( ) ; }
Method to get the values from the esjp .