1 16 package org.apache.myfaces.custom.crosstable; 17 18 import javax.faces.component.UIComponent; 19 20 import org.apache.myfaces.component.UIColumns; 21 import org.apache.myfaces.renderkit.JSFAttr; 22 import org.apache.myfaces.taglib.html.HtmlComponentBodyTagBase; 23 24 32 public class HtmlColumnsTag extends HtmlComponentBodyTagBase 33 { 34 private String mVar; 35 36 39 public String getComponentType() 40 { 41 return UIColumns.COMPONENT_TYPE; 42 } 43 44 47 public String getRendererType() 48 { 49 return null; 50 } 51 52 public void setVar(String var) 53 { 54 mVar = var; 55 } 56 57 protected void setProperties(UIComponent component) 58 { 59 super.setProperties(component); 60 61 setStringProperty(component, JSFAttr.VAR_ATTR, mVar); 62 } 63 } 64 | Popular Tags |