subUnit.getIdInternal()).append("'));return false;").append("\"> ");
subUnit.getIdInternal()).append("'));return false;").append("\"/> ");
    public void getDepartment(StringBuilder buffer, Unit unit) throws FenixFilterException,            FenixServiceException {            if (unit.getActiveSubUnits(new YearMonthDay(), AccountabilityTypeEnum.ORGANIZATIONAL_STRUCTURE).size() > 0) {            List<Unit> departmentUnitList = unit.getActiveSubUnits(new YearMonthDay(), AccountabilityTypeEnum.ORGANIZATIONAL_STRUCTURE);            Collections.sort(departmentUnitList, new BeanComparator("name"));            Integer i = 0;            for (Unit subUnit : departmentUnitList) {                buffer.append("\t<li><img ").append("src='").append(getContextPath()).append(                        "/images/toggle_plus10.gif' id=\"").append(subUnit.getIdInternal())                        .append("\" ").append("indexed='true' onClick=\"").append(                                "check(document.getElementById('").append("aa").append(                                subUnit.getIdInternal()).append("'),document.getElementById('").append(                                subUnit.getIdInternal()).append("'));return false;").append("\"> ");                buffer.append("<a href=\"").append(getContextPath()).append(                        "/person/organizationalStructure/chooseUnit.faces?unitID=").append(                        subUnit.getIdInternal()).append("&amp;subUnit=").append(subUnit.getIdInternal())                        .append("#").append(subUnit.getIdInternal()).append("\">").append(                                subUnit.getName()).append("</a></li>\r\n");                getUnitTree(buffer, subUnit);                buffer.append("</ul>\r\n");                if (i.intValue() < (departmentUnitList.size() - 1)) {                    i = i + 1;                    buffer.append("<ul class='padding nobullet'>\r\n");                }            }        }    }