System.out.println(buffer.toString());
    public void encodeBegin(FacesContext facesContext) throws IOException {        if (!isRendered()) {            return;        }                StringBuilder buffer = new StringBuilder();        buffer.append(tabs);        buffer.append("[LEVEL ").append(new Integer(this.depth)).append("]");        buffer.append("[CC ").append(this.degreeModule.getIdInternal()).append("][");        buffer.append(previousContext.getCurricularPeriod().getOrderByType(CurricularPeriodType.YEAR)).append("Y,");        buffer.append(previousContext.getCurricularPeriod().getOrderByType(CurricularPeriodType.SEMESTER)).append("S] ");        buffer.append(this.degreeModule.getName());        //System.out.println(buffer.toString());        this.facesContext = facesContext;        this.writer = facesContext.getResponseWriter();        encodeCurricularCourse();        if (this.showRules && this.degreeModule.hasAnyCurricularRules()) {            encodeCurricularRules();            }    }