1 17 package org.alfresco.web.ui.repo.tag; 18 19 import javax.faces.component.UICommand; 20 import javax.faces.component.UIComponent; 21 22 import org.alfresco.web.ui.common.tag.HtmlComponentTag; 23 24 27 public class SimpleSearchTag extends HtmlComponentTag 28 { 29 32 public String getComponentType() 33 { 34 return "org.alfresco.faces.SimpleSearch"; 35 } 36 37 40 public String getRendererType() 41 { 42 return null; 44 } 45 46 49 protected void setProperties(UIComponent component) 50 { 51 super.setProperties(component); 52 53 setActionProperty((UICommand)component, this.action); 54 setActionListenerProperty((UICommand)component, this.actionListener); 55 } 56 57 60 public void release() 61 { 62 super.release(); 63 64 this.action = null; 65 this.actionListener = null; 66 } 67 68 73 public void setAction(String action) 74 { 75 this.action = action; 76 } 77 78 83 public void setActionListener(String actionListener) 84 { 85 this.actionListener = actionListener; 86 } 87 88 89 90 private String action; 91 92 93 private String actionListener; 94 } 95 | Popular Tags |