Multiple category search added to Advanced Search screen

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-06 14:57:27 +00:00
parent acd5d24c62
commit e91be2e5d0

View File

@@ -681,14 +681,9 @@ public class AdvancedSearchBean
NodeRef categoryRef = (NodeRef)selector.getValue();
if (categoryRef != null)
{
//final boolean incChildren = chkChildren.isSelected();
Node categoryNode = new MapNode(categoryRef);
// add a value bound propery used to indicate if searching across children is selected
categoryNode.getProperties().put("includeChildren", chkChildren.isSelected());
/*categoryNode.addPropertyResolver("includeChildren", new NodePropertyResolver() {
public Object get(Node node) {
return incChildren;
};
});*/
this.categories.add(categoryNode);
}
}