KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > communication > sms > component > UISmsRecipients


1 /**
2  * Copyright 2001-2004 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.portlets.communication.sms.component;
6
7 import javax.faces.component.UIOutput;
8 import org.exoplatform.faces.core.component.UIGrid;
9 import org.exoplatform.faces.core.component.model.ComponentCell;
10 import org.exoplatform.faces.core.component.model.LabelCell;
11 import org.exoplatform.faces.core.component.model.Row;
12 import org.exoplatform.services.communication.sms.SmsService;
13 import org.exoplatform.services.log.LogService;
14
15
16
17 /**
18  * @author Ove Ranheim (oranheim@yahoo.no)
19  * @since Jun 21, 2004 5:12:09 PM
20  */

21 public class UISmsRecipients extends UIGrid {
22     
23     public UISmsRecipients(LogService logService, SmsService smsService) {
24         super();
25         setId("UISmsRecipients");
26         setRendererType("SmsRecipientsRenderer");
27         
28         UIOutput uiOut = new UIOutput();
29         uiOut.setId("testing");
30         uiOut.setValue("Ove Ranheim");
31         
32         add(new Row().
33                 add(new LabelCell("Recipients")).
34                 add(new ComponentCell(this, uiOut)));
35         
36     }
37     
38     public String JavaDoc getFamily() {
39         return "org.exoplatform.portlets.communication.sms.component.UISmsRecipients";
40     }
41
42 }
43
Popular Tags