final Section superiorSection = section == null ? null : section.getSuperiorSection(); final Object[] args = { request.getAttribute("executionCourse"), section }; executeService(request, "DeleteSection", args); request.setAttribute("section", superiorSection); return superiorSection == null ? mapping.findForward("sectionsManagement") : mapping.findForward("section");
if (section.isDeletable()) { return mapping.findForward("confirmSectionDelete"); } else { addErrorMessage(request, "section", "site.section.delete.notAllowed"); return section == null ? mapping.findForward("sectionsManagement") : mapping.findForward("section"); }
    public ActionForward deleteSection(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        final Section section = selectSection(request);        final Section superiorSection = section == null ? null : section.getSuperiorSection();        final Object[] args = { request.getAttribute("executionCourse"), section };        executeService(request, "DeleteSection", args);        request.setAttribute("section", superiorSection);        return superiorSection == null ? mapping.findForward("sectionsManagement") : mapping.findForward("section");    }