KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > workflow > component > UITaskListController


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  */

5
6 package org.exoplatform.portlets.workflow.component;
7
8
9 import java.util.List JavaDoc;
10 import org.exoplatform.faces.core.component.UICommandNode;
11
12 /**
13  * Created y the eXo platform team
14  * User: Benjamin Mestrallet
15  * Date: 17 mai 2004
16  */

17 public class UITaskListController extends UICommandNode {
18
19   public UITaskListController(UITaskList uiTaskList, UITask uiTask) throws Exception JavaDoc {
20     setId("task-list-controller") ;
21     setName("Tasks");
22     setRendererType("ChildrenRenderer");
23     setClazz("UITaskListController");
24     List JavaDoc 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