1 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 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 getFamily() { 39 return "org.exoplatform.portlets.communication.sms.component.UISmsRecipients"; 40 } 41 42 } 43 | Popular Tags |