KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlet > faces > component > UIPreferencesEditor


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 package org.exoplatform.portlet.faces.component;
6
7 import java.util.List JavaDoc ;
8 import org.exoplatform.faces.core.component.UIPortlet;
9
10 /**
11  * Wed, Dec 22, 2003 @ 23:14
12  * @author: Tuan Nguyen
13  * @email: tuan08@users.sourceforge.net
14  * @version: $Id: UIPreferencesEditor.java,v 1.4 2004/09/21 20:16:22 tuan08 Exp $
15  */

16 public class UIPreferencesEditor extends UIPortlet {
17
18   public UIPreferencesEditor(UIPortletPreferences uiPortletPreferences) {
19     setRendererType("ChildrenRenderer");
20     setId("UIPreferencesEditor");
21     List JavaDoc children = getChildren() ;
22     uiPortletPreferences.setRendered(true) ;
23     children.add(uiPortletPreferences) ;
24   }
25 }
Popular Tags