KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > wsrp > component > UIWSRPAdminPortlet


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.wsrp.component;
7
8
9 import java.util.List JavaDoc;
10
11 import org.exoplatform.faces.core.component.UIPortlet;
12
13 /**
14  * Created y the eXo platform team
15  * User: Benjamin Mestrallet
16  * Date: 5 juin 2004
17  */

18 public class UIWSRPAdminPortlet extends UIPortlet{
19
20     public UIWSRPAdminPortlet(UIProducerNode uiProducerNode,
21                                   UIProducerForm uiProducerForm) {
22         setId("UIWSRPAdminPortlet") ;
23         setClazz("UIWSRPAdminPortlet") ;
24         setRendererType("SimpleTabRenderer") ;
25         List JavaDoc children = getChildren() ;
26         uiProducerNode.setRendered(true) ;
27         children.add(uiProducerNode) ;
28         uiProducerForm.setRendered(false) ;
29         children.add(uiProducerForm) ;
30     }
31
32 }
33
Popular Tags