Class BaseComponentTag
- java.lang.Object
-
- javax.faces.webapp.UIComponentTag
-
- org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
WebScriptTag
public abstract class BaseComponentTag extends javax.faces.webapp.UIComponentTag- Author:
- Kevin Roast
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.Class[]ACTION_CLASS_ARGS
-
Constructor Summary
Constructors Constructor Description BaseComponentTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetActionListenerProperty(javax.faces.component.UICommand command, java.lang.String actionListener)Helper to set an action listener property into a command componentprotected voidsetActionProperty(javax.faces.component.UICommand command, java.lang.String action)Helper to set an action property into a command componentprotected voidsetBooleanProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property as an Boolean value into the component.protected voidsetBooleanStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)protected voidsetIntProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property as an Integer value into the component.protected voidsetIntStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)protected voidsetStringBindingProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String value property into the component.protected voidsetStringProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property value into the component.protected voidsetStringStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a static String property into the component.-
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getComponentType, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, getRendererType, isSuppressed, isValueReference, release, setBinding, setId, setPageContext, setParent, setProperties, setRendered, setupResponseWriter
-
-
-
-
Method Detail
-
setActionProperty
protected void setActionProperty(javax.faces.component.UICommand command, java.lang.String action)Helper to set an action property into a command component- Parameters:
command- Command componentaction- The action method binding or outcome to set
-
setActionListenerProperty
protected void setActionListenerProperty(javax.faces.component.UICommand command, java.lang.String actionListener)Helper to set an action listener property into a command component- Parameters:
command- Command componentactionListener- Action listener method binding
-
setStringProperty
protected void setStringProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property value into the component. Respects the possibility that the property value is a Value Binding.- Parameters:
component- UIComponentname- property string namevalue- property string value
-
setStringBindingProperty
protected void setStringBindingProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String value property into the component. Assumes the that the property value can only be a Value Binding.- Parameters:
component- UIComponentname- property string namevalue- property string value binding
-
setStringStaticProperty
protected void setStringStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a static String property into the component. Assumes the that the property value can only be a static string value.- Parameters:
component- UIComponentname- property string namevalue- property string static value
-
setIntProperty
protected void setIntProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property as an Integer value into the component. Respects the possibility that the property value is a Value Binding.- Parameters:
component- UIComponentname- property string namevalue- property string value (an Integer will be created)
-
setIntStaticProperty
protected void setIntStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
-
setBooleanProperty
protected void setBooleanProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)Helper method to set a String property as an Boolean value into the component. Respects the possibility that the property value is a Value Binding.- Parameters:
component- UIComponentname- property string namevalue- property string value (a Boolean will be created)
-
setBooleanStaticProperty
protected void setBooleanStaticProperty(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String value)
-
-