src/main/java/org/efaps/ui/wicket/components/gridx/filter/ClassificationFilter.java
protected CharSequence getCreateTreeNodeScript() {
        final StringBuilder js = new StringBuilder();
        js.append("function(args) {\n")
        .append("var tn = new dijit._TreeNode(args);\n")
        .append("tn.labelNode.innerHTML = args.label;\n")
        .append("var cb = new CheckBox({\n")
        .append("name: '").append(INPUTNAME).append("',\n")
        .append("value: args.item.id,\n")
        .append("checked: args.item.selected,\n")
        .append("onChange: function(b){\n")
        .append("this.focusNode.checked=this.checked;\n")
        .append("\n")
        .append("}\n")
        .append("});\n")
        .append("cb.placeAt(tn.labelNode, 'first');\n")
        .append("tn.cb = cb;\n")
        .append("return tn;\n")
        .append("}\n");
        return js;
    }
protected CharSequence getCreateTreeNodeScript() {
        final StringBuilder js = new StringBuilder();
        js.append("function(args) {\n")
        .append("var tn = new dijit._TreeNode(args);\n")
        .append("tn.labelNode.innerHTML = args.label;\n")
        .append("var cb = new CheckBox({\n")
        .append("name: '").append(INPUTNAME).append("',\n")
        .append("value: args.item.id,\n")
        .append("checked: args.item.selected,\n")
        .append("onChange: function(b){\n")
        .append("this.focusNode.checked=this.checked;\n")
        .append("\n")
        .append("}\n")
        .append("});\n")
        .append("cb.placeAt(tn.labelNode, 'first');\n")
        .append("tn.cb = cb;\n")
        .append("return tn;\n")
        .append("}\n");
        return js;
    }
Gets the creates the tree node script.

@return the creates the tree node script