1 16 package org.apache.myfaces.custom.tabbedpane; 17 18 import org.apache.myfaces.taglib.html.ext.HtmlPanelGroupTag; 19 20 import javax.faces.component.UIComponent; 21 22 26 public class HtmlPanelTabTag 27 extends HtmlPanelGroupTag 28 { 29 31 public String getComponentType() 32 { 33 return HtmlPanelTab.COMPONENT_TYPE; 34 } 35 36 public String getRendererType() 37 { 38 return "javax.faces.Group"; 39 } 40 41 private String _label; 42 43 45 public void release() { 46 super.release(); 47 _label=null; 48 } 49 50 protected void setProperties(UIComponent component) 51 { 52 super.setProperties(component); 53 54 setStringProperty(component, "label", _label); 55 } 56 57 public void setLabel(String label) 58 { 59 _label = label; 60 } 61 } 62 | Popular Tags |