if (!returnAttrs.equalsIgnoreCase(ReturnAttributesDialog.DEFAULT_RETURN_ATTRS))
{
closeSearchGUI();
String[] attrNames = ReturnAttributesDialog.getReturnAttributes(returnAttrs);
searchModel.openRetAttrDisplay(jx, attrNames, (jx.getSearchTree()).getDataSource());
SearchExecute.run(jx.getSearchTree(), new DN(baseDNTextField.getText()), getLDAPFilter(), attrNames, searchLevelCombo.getSelectedIndex(), jx.getSearchBroker()); //TE: the search details.
}
else
{
closeSearchGUI();
SearchExecute.run(jx.getSearchTree(), new DN(baseDNTextField.getText()), getLDAPFilter(),
new String[] {"objectClass"}, searchLevelCombo.getSelectedIndex(), jx.getSearchBroker()); //TE: the search details. SearchExecute.run(jx.getSearchTree(), new DN(baseDNTextField.getText()), getLDAPFilter(), attrNames, searchLevelCombo.getSelectedIndex(), jx.getSearchBroker()); //TE: the search details.
}
jx.getTreeTabPane().setSelectedComponent(jx.getResultsPanel());
}
else