1 5 6 package org.exoplatform.portlets.workflow.component; 7 8 9 import java.util.List ; 10 import org.exoplatform.faces.core.component.UICommandNode; 11 12 17 public class UITaskListController extends UICommandNode { 18 19 public UITaskListController(UITaskList uiTaskList, UITask uiTask) throws Exception { 20 setId("task-list-controller") ; 21 setName("Tasks"); 22 setRendererType("ChildrenRenderer"); 23 setClazz("UITaskListController"); 24 List children = getChildren() ; 25 uiTaskList.setRendered(true) ; 26 children.add(uiTaskList) ; 27 uiTask.setIsStart(false); 28 uiTask.setRendered(false) ; 29 children.add(uiTask) ; 30 } 31 32 } 33 | Popular Tags |