1 16 17 package org.apache.struts.faces.taglib; 18 19 20 import javax.faces.component.UIComponent; 21 22 23 31 32 public class WriteTag extends AbstractFacesTag { 33 34 35 37 38 42 private String filter = null; 43 44 public void setFilter(String filter) { 45 this.filter = filter; 46 } 47 48 49 51 52 55 public String getComponentType() { 56 57 return ("org.apache.struts.faces.Write"); 58 59 } 60 61 62 66 public String getRendererType() { 67 68 return ("org.apache.struts.faces.Write"); 69 70 } 71 72 73 76 public void release() { 77 78 super.release(); 79 this.filter = null; 80 81 } 82 83 84 86 87 92 protected void setProperties(UIComponent component) { 93 94 super.setProperties(component); 95 setBooleanAttribute(component, "filter", filter); 96 97 } 98 99 100 } 101 | Popular Tags |