List of usage examples for org.apache.wicket Component setOutputMarkupPlaceholderTag
public final Component setOutputMarkupPlaceholderTag(final boolean outputTag)
From source file:org.wicketstuff.datatable_autocomplete.panel.AbstractAutoCompleteDependencyProcessor.java
License:Apache License
/** * // ww w. j ava 2 s .c o m */ public AbstractAutoCompleteDependencyProcessor(String[] names, Component[] components) { super(); queryParameterToComponentMap = new LinkedHashMap<String, Component>(); for (int i = 0; i < components.length; i++) { String parameter = names[i]; Component component = components[i]; // to guarantee that the markupid will be generated component.setOutputMarkupId(true); component.setOutputMarkupPlaceholderTag(true); queryParameterToComponentMap.put(parameter, component); } }