src/main/java/org/efaps/ui/wicket/components/search/IndexSearch.java
private boolean dimFilterApplied(final List<DimTreeNode> _nodes)
    {
        final List<DimTreeNode> nodes = _nodes == null ? getDimensionProvider().getRootList() : _nodes;

        boolean ret = false;
        for (final DimTreeNode node : nodes) {
            if (node.getStatus() != null) {
                ret = true;
                break;
            }
            ret = dimFilterApplied(node.getChildren());
            if (ret) {
                break;
            }
        }
        return ret;
    }
private boolean dimFilterApplied(final List<DimTreeNode> _nodes)
    {
        final List<DimTreeNode> nodes = _nodes == null ? getDimensionProvider().getRootList() : _nodes;

        boolean ret = false;
        for (final DimTreeNode node : nodes) {
            if (node.getStatus() != null) {
                ret = true;
                break;
            }
            ret = dimFilterApplied(node.getChildren());
            if (ret) {
                break;
            }
        }
        return ret;
    }
Check if a dimension filter applied.

@param _nodes the nodes
@return true, if successful