1 7 8 package org.exoplatform.portlets.weather.component; 9 10 import org.exoplatform.faces.core.component.UIExoCommand; 11 12 public class UICommandButton extends UIExoCommand { 13 protected String type_; 14 protected String name_; 15 protected String label_; 16 17 public UICommandButton(String type, String name, String label) { 18 type_ = type; 19 name_ = name; 20 label_ = label; 21 setId(name) ; 22 setImmediate(true); 23 setRendererType("CommandButtonRenderer"); 24 } 25 26 public String getType() { 27 return type_; 28 } 29 30 public String getName() { 31 return name_; 32 } 33 34 public String getLabel() { 35 return label_; 36 } 37 } 38 | Popular Tags |