org.apache.empire.struts2.jsp.tags
Class EmpireValueTagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts2.views.jsp.StrutsBodyTagSupport
              extended by org.apache.struts2.views.jsp.ComponentTagSupport
                  extended by org.apache.empire.struts2.jsp.tags.EmpireTagSupport
                      extended by org.apache.empire.struts2.jsp.tags.EmpireValueTagSupport
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
CheckboxTag, DataValueTag, InputControlTag, ParamTag, RadioButtonTag, SelectTag

public abstract class EmpireValueTagSupport
extends EmpireTagSupport

See Also:
Serialized Form

Field Summary
static String BEAN_ITEM_ATTRIBUTE
           
static String PARENT_PROPERTY_ATTRIBUTE
           
static String RECORD_ATTRIBUTE
           
 
Fields inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
autoResetParams, cssClass, cssStyle, log
 
Fields inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
component
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
EmpireValueTagSupport()
           
 
Method Summary
protected  Object getBean()
           
protected  Column getColumn()
           
protected  ColumnExpr getColumnExpr()
           
protected  String getColumnPropertyName(ColumnExpr col)
           
protected  String getControlType()
           
protected  Object getDefaultValue()
           
protected  String getFullPropertyName(String name)
           
protected  String getItemValue(Object item)
           
protected  String getPropertyFieldName()
           
protected  Record getRecord()
           
protected  RecordData getRecordData()
           
protected  String getStringValue()
           
protected  String getTagName(String suppliedName)
           
protected  Object getValue()
           
protected  boolean hasDefaultValue()
           
protected  boolean hasValue()
           
protected  void resetParams()
           
 void setColumn(ColumnExpr column)
           
 void setField(String field)
           
 void setParentProperty(String property)
           
 void setProperty(String property)
           
protected  boolean setPropertyNameFromValue()
           
 void setRecord(RecordData record)
           
 void setValue(Object value)
           
 
Methods inherited from class org.apache.empire.struts2.jsp.tags.EmpireTagSupport
addStandardAttributes, checkAction, doEndTag, getAction, getActionItemPropertyName, getActionName, getActionURL, getAttribute, getBeanProperty, getBoolean, getId, getInt, getLocale, getObject, getObject, getPageAttribute, getPageName, getString, getString, getString, getTranslation, getTranslationFromKey, populateParams, putPageAttribute, release, removePageAttribute, setCssClass, setCssStyle, setId, str
 
Methods inherited from class org.apache.struts2.views.jsp.ComponentTagSupport
doStartTag, getBean, getComponent
 
Methods inherited from class org.apache.struts2.views.jsp.StrutsBodyTagSupport
findString, findValue, findValue, getBody, getStack, toString
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

RECORD_ATTRIBUTE

public static final String RECORD_ATTRIBUTE
See Also:
Constant Field Values

BEAN_ITEM_ATTRIBUTE

public static final String BEAN_ITEM_ATTRIBUTE
See Also:
Constant Field Values

PARENT_PROPERTY_ATTRIBUTE

public static final String PARENT_PROPERTY_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

EmpireValueTagSupport

public EmpireValueTagSupport()
Method Detail

resetParams

protected void resetParams()
Overrides:
resetParams in class EmpireTagSupport

hasValue

protected boolean hasValue()

getRecordData

protected RecordData getRecordData()

getRecord

protected Record getRecord()

getBean

protected Object getBean()

getColumnExpr

protected ColumnExpr getColumnExpr()

getColumn

protected Column getColumn()

getControlType

protected String getControlType()

getTagName

protected String getTagName(String suppliedName)

getValue

protected Object getValue()

getStringValue

protected String getStringValue()

getItemValue

protected String getItemValue(Object item)

getPropertyFieldName

protected String getPropertyFieldName()

getFullPropertyName

protected String getFullPropertyName(String name)

getColumnPropertyName

protected String getColumnPropertyName(ColumnExpr col)

setPropertyNameFromValue

protected boolean setPropertyNameFromValue()

hasDefaultValue

protected boolean hasDefaultValue()

getDefaultValue

protected Object getDefaultValue()

setField

public final void setField(String field)

setProperty

public final void setProperty(String property)

setParentProperty

public final void setParentProperty(String property)

setRecord

public final void setRecord(RecordData record)

setValue

public final void setValue(Object value)

setColumn

public final void setColumn(ColumnExpr column)


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.