Search in sources :

Example 1 with ReferenceAutocomplete

use of com.evolveum.midpoint.web.component.search.ReferenceAutocomplete in project midpoint by Evolveum.

the class AutoCompleteReferencePanelFactory method createPanel.

@Override
public org.apache.wicket.Component createPanel(PrismReferencePanelContext<ObjectReferenceType> panelCtx) {
    ReferenceAutocomplete panel = new ReferenceAutocomplete(panelCtx.getComponentId(), panelCtx.getRealValueModel(), new AutoCompleteReferenceRenderer(), panelCtx.getPageBase());
    panel.setOutputMarkupId(true);
    return panel;
}
Also used : ReferenceAutocomplete(com.evolveum.midpoint.web.component.search.ReferenceAutocomplete) AutoCompleteReferenceRenderer(com.evolveum.midpoint.gui.api.component.autocomplete.AutoCompleteReferenceRenderer)

Aggregations

AutoCompleteReferenceRenderer (com.evolveum.midpoint.gui.api.component.autocomplete.AutoCompleteReferenceRenderer)1 ReferenceAutocomplete (com.evolveum.midpoint.web.component.search.ReferenceAutocomplete)1