src/main/java/org/efaps/ui/wicket/behaviors/dojo/AutoCompleteBehavior.java
@Override
    public final void bind(final Component _hostComponent)
    {
        Args.notNull(_hostComponent, "hostComponent");

        if (this.component != null) {
            throw new IllegalStateException("this kind of handler cannot be attached to "
                            + "multiple components; it is already attached to component " + this.component
                            + ", but component " + _hostComponent + " wants to be attached too");
        }
        this.component = _hostComponent;
        this.component.setOutputMarkupId(true);
    }
@Override
    public final void bind(final Component _hostComponent)
    {
        Args.notNull(_hostComponent, "hostComponent");

        if (this.component != null) {
            throw new IllegalStateException("this kind of handler cannot be attached to "
                            + "multiple components; it is already attached to component " + this.component
                            + ", but component " + _hostComponent + " wants to be attached too");
        }
        this.component = _hostComponent;
        this.component.setOutputMarkupId(true);
    }
@ Override public final void bind ( final Component _hostComponent ) { Args . notNull ( _hostComponent , "hostComponent" ) ; if ( this . component != null ) { throw new IllegalStateException ( "this kind of handler cannot be attached to " + "multiple components; it is already attached to component " + this . component + ", but component " + _hostComponent + " wants to be attached too" ) ; } this . component = _hostComponent ; this . component . setOutputMarkupId ( true ) ; }
Bind this handler to the given component.

@param _hostComponent the component to bind to
Bind this handler to the given component .