@@ -0,0 +1,2925 @@
+/*%0D%0A * Copyright 2007 The Kuali Foundation%0D%0A *%0D%0A * Licensed under the Educational Community License, Version 1.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A * http://www.opensource.org/licenses/ecl1.php%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0Apackage org.kuali.rice.krms.impl.ui;%0D%0A%0D%0Aimport javax.servlet.http.HttpServletRequest;%0D%0Aimport javax.servlet.http.HttpServletResponse;%0D%0A%0D%0Aimport org.apache.commons.collections.MapUtils;%0D%0Aimport org.kuali.rice.krad.service.BusinessObjectService;%0D%0Aimport org.kuali.rice.krad.service.KRADServiceLocator;%0D%0Aimport org.kuali.rice.krad.web.spring.controller.MaintenanceDocumentController;%0D%0Aimport org.kuali.rice.krad.web.spring.controller.UifControllerBase;%0D%0Aimport org.kuali.rice.krad.web.spring.form.MaintenanceForm;%0D%0Aimport org.kuali.rice.krad.web.spring.form.UifFormBase;%0D%0Aimport org.kuali.rice.krms.impl.repository.AgendaBo;%0D%0Aimport org.kuali.rice.krms.impl.repository.ContextBo;%0D%0Aimport org.springframework.stereotype.Controller;%0D%0Aimport org.springframework.validation.BindingResult;%0D%0Aimport org.springframework.web.bind.annotation.ModelAttribute;%0D%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0D%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0D%0Aimport org.springframework.web.servlet.ModelAndView;%0D%0A%0D%0A/**%0D%0A * Controller for the Test UI Page%0D%0A * %0D%0A * @author Kuali Rice Team (rice.collab@kuali.org)%0D%0A */%0D%0A@Controller%0D%0A@RequestMapping(value = %22/krmsAgendaEditor%22)%0D%0Apublic class EditorDocumentController extends MaintenanceDocumentController %7B%0D%0A%0D%0A    @Override%0D%0A    public MaintenanceForm createInitialForm(HttpServletRequest request) %7B%0D%0A        return new MaintenanceForm();%0D%0A    %7D%0D%0A    %0D%0A    /**%0D%0A     * This overridden method does extra work on refresh to populate the context and agenda%0D%0A     * %0D%0A     * @see org.kuali.rice.krad.web.spring.controller.UifControllerBase#refresh(org.kuali.rice.krad.web.spring.form.UifFormBase, org.springframework.validation.BindingResult, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)%0D%0A     */%0D%0A    @Override%0D%0A    public ModelAndView refresh(UifFormBase form, BindingResult result,%0D%0A            HttpServletRequest request, HttpServletResponse response)%0D%0A            throws Exception %7B%0D%0A        %0D%0A        MapUtils.verbosePrint(System.out, %22actionParameters%22, form.getActionParameters());%0D%0A        %0D%0A        return super.refresh(form, result, request, response);%0D%0A    %7D%0D%0A%0D%0A    private BusinessObjectService getBoService() %7B%0D%0A        return KRADServiceLocator.getBusinessObjectService();%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

build agenda tree UI components