false, false);
ArrayList<GUIElement> guiElements = searchVBO
.createGUIElementsForMetadataRegistryElements();
ArrayList<GUIElement> finalGUIElements = new ArrayList<GUIElement>();
GUIElement element;
for (int m = 0; m < guiElements.size(); m++) {
element = guiElements.get(m);
if (element.getName().startsWith("m:")) {
// change the "m:" form qualifier to "s:" to avoid
// param name conflicts during editing+navigating
// search results
element.setName("s" + element.getName().substring(1));
element.setRepeatable(false);
element.setDisabled(false);
element.setValue("");
element.setRequired(false);
if (element.getType() == GUIElement.TEXTAREA) {
element.setType(GUIElement.TEXT);
}
finalGUIElements.add(element);
}
}