src/main/java/org/efaps/ui/wicket/components/autocomplete/AutoCompleteComboBox.java
@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();
    }
@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();
    }
@ 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.

@see org.apache.wicket.extensions.ajax.markup.html.autocomplete
.AutoCompleteTextField#getChoices(java.lang.String)
@param _input input from the webform
@return iterator
Method to get the values from the esjp .