org.nuiton.wikitty.struts.component
Class AbstractWikittyComponentBean

java.lang.Object
  extended by org.apache.struts2.components.Component
      extended by org.apache.struts2.components.UIBean
          extended by org.apache.struts2.components.ClosingUIBean
              extended by org.nuiton.wikitty.struts.component.AbstractWikittyClosingUIBean
                  extended by org.nuiton.wikitty.struts.component.AbstractWikittyComponent
                      extended by org.nuiton.wikitty.struts.component.AbstractWikittyComponentBean
Direct Known Subclasses:
BooleanBean, DateBean, FieldBean, HiddenBean, SelectAssociationBean, SelectCriteriaBean, SelectFixedBean, TextAreaBean, TextFieldBean

public abstract class AbstractWikittyComponentBean
extends AbstractWikittyComponent


Field Summary
protected  String fqFieldName
           
protected  WikittyFieldHandler handler
           
 
Fields inherited from class org.nuiton.wikitty.struts.component.AbstractWikittyComponent
businessEntity, proxy, REGEX_EMPTY, REGEX_FIELD_JOKER, REGEX_FIELD_SEP, REGEX_LIST_FQFIELDNAME, REGEX_WIKITTY_FQFIELDNAME, REGEX_WIKITTY_FQFIELDNAME_EXT_JOKER, wikitty, wikittyId
 
Fields inherited from class org.nuiton.wikitty.struts.component.AbstractWikittyClosingUIBean
EMPTY_TEMPLATE
 
Fields inherited from class org.apache.struts2.components.UIBean
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, value
 
Fields inherited from class org.apache.struts2.components.Component
actionMapper, COMPONENT_STACK, parameters, stack, throwExceptionOnELFailure
 
Constructor Summary
protected AbstractWikittyComponentBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
protected  void evaluateExtraParams()
           
 BusinessEntity getBusinessEntity()
           
 String getFqFieldName()
           
 WikittyFieldHandler getHandler()
           
 WikittyProxy getProxy()
           
 Wikitty getWikitty()
           
 String getWikittyId()
           
 boolean isIncluded(String fieldName)
           
 void setFqFieldName(String fqFieldName)
          set the fqfieldname, value will be trimed
 void setHandler(WikittyFieldHandler handler)
           
 
Methods inherited from class org.nuiton.wikitty.struts.component.AbstractWikittyComponent
setBusinessEntity, setProxy, setWikitty, setWikittyId
 
Methods inherited from class org.nuiton.wikitty.struts.component.AbstractWikittyClosingUIBean
getTheme
 
Methods inherited from class org.apache.struts2.components.ClosingUIBean
getDefaultOpenTemplate, setOpenTemplate, start
 
Methods inherited from class org.apache.struts2.components.UIBean
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, ensureAttributeSafelyNotEscaped, escape, evaluateNameValue, evaluateParams, getDefaultTemplate, getId, getTemplate, getTemplateDir, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssErrorClass, setCssErrorStyle, setCssStyle, setDefaultTemplateDir, setDefaultUITheme, setDisabled, setDynamicAttributes, setId, setJavascriptTooltip, setKey, setLabel, setLabelposition, setLabelSeparator, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTemplateEngineManager, setTheme, setTitle, setTooltip, setTooltipConfig, setTooltipCssClass, setTooltipDelay, setTooltipIconPath, setValue
 
Methods inherited from class org.apache.struts2.components.Component
addAllParameters, addParameter, altSyntax, altSyntax, completeExpressionIfAltSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findStringIfAltSyntax, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, setThrowExceptionsOnELFailure, stripExpressionIfAltSyntax, stripExpressionIfAltSyntax, toString, usesBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected WikittyFieldHandler handler

fqFieldName

protected String fqFieldName
Constructor Detail

AbstractWikittyComponentBean

protected AbstractWikittyComponentBean(com.opensymphony.xwork2.util.ValueStack stack,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response)
Method Detail

isIncluded

public boolean isIncluded(String fieldName)

getProxy

public WikittyProxy getProxy()
Overrides:
getProxy in class AbstractWikittyComponent

getWikitty

public Wikitty getWikitty()
Overrides:
getWikitty in class AbstractWikittyComponent

getBusinessEntity

public BusinessEntity getBusinessEntity()
Overrides:
getBusinessEntity in class AbstractWikittyComponent

getWikittyId

public String getWikittyId()
Overrides:
getWikittyId in class AbstractWikittyComponent

evaluateExtraParams

protected void evaluateExtraParams()
Overrides:
evaluateExtraParams in class AbstractWikittyClosingUIBean

getHandler

public WikittyFieldHandler getHandler()

setHandler

public void setHandler(WikittyFieldHandler handler)

getFqFieldName

public String getFqFieldName()

setFqFieldName

public void setFqFieldName(String fqFieldName)
set the fqfieldname, value will be trimed

Parameters:
fqFieldName -


Copyright © 2011-2012 CodeLutin. All Rights Reserved.