1 16 17 package org.apache.struts.faces.taglib; 18 19 20 import javax.faces.component.UIComponent; 21 22 23 30 31 public class StylesheetTag extends AbstractFacesTag { 32 33 34 36 37 40 private String path = null; 41 42 public void setPath(String path) { 43 this.path = path; 44 } 45 46 47 48 50 51 54 public String getComponentType() { 55 56 return ("org.apache.struts.faces.Stylesheet"); 57 58 } 59 60 61 65 public String getRendererType() { 66 67 return ("org.apache.struts.faces.Stylesheet"); 68 69 } 70 71 72 75 public void release() { 76 77 super.release(); 78 this.path = null; 79 80 } 81 82 83 85 86 91 protected void setProperties(UIComponent component) { 92 93 super.setProperties(component); 94 setStringAttribute(component, "path", path); 95 96 } 97 98 99 } 100 | Popular Tags |