1 8 9 package org.exoplatform.portlets.workflow.component; 10 11 import java.util.List ; 12 import org.exoplatform.faces.core.component.UIPortlet; 13 14 18 19 public class UIWorkflowPortlet extends UIPortlet { 20 21 public static final String ANONYMOUS_USER = "anonymous"; 22 23 public UIWorkflowPortlet(UIBPDefinitionController uibpDefinitionController, 24 UITaskListController uiTaskListController) throws Exception { 25 setRendererType("SimpleTabRenderer"); 26 setClazz("UIWorkflowPortlet"); 27 List children = getChildren(); 28 uibpDefinitionController.setRendered(true); 29 children.add(uibpDefinitionController); 30 uiTaskListController.setRendered(false); 31 children.add(uiTaskListController); 32 } 33 34 } | Popular Tags |