IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.dojo.tag
Class AbstractSimpleTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by com.ibm.btt.dojo.tag.AbstractTag
          extended by com.ibm.btt.dojo.tag.AbstractSimpleTag
All Implemented Interfaces:
DojoConstants, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
Direct Known Subclasses:
AbstractListTag, DojoAnchorTag, DojoButtonTag, DojoCheckBoxTag, DojoFileUploadTag, DojoHiddenTag, DojoImageTag, DojoLabelTag, DojoMessageTag, DojoRadioButtonTag, DojoRichTextEditorTag, DojoTableColumnTag, DojoTextAreaTag, DojoTextBoxTag, DojoTreeTag

public abstract class AbstractSimpleTag
extends AbstractTag


Field Summary
 
Fields inherited from class com.ibm.btt.dojo.tag.AbstractTag
attributes, dataName, log
 
Fields inherited from interface com.ibm.btt.dojo.tag.DojoConstants
ACCESSKEY, ACTION, ACTIONURL, ANCHOR, BTTERRORPAGE, BTTGRIDCELL, BTTPARAMS, BUTTON, CHECKED, CHECKEDVALUE, DATANAMEFORLIST, DES_PORCESSORINFOTABLE, DIV, DOJOANCHOR, DOJOBUTTON, DOJOCHECKBOX, DOJOCOMBOBOX, DOJOCONTENTPANE, DOJOCURRENCYTEXTBOX, DOJODATETEXTBOX, DOJOENHANCEDGRID, DOJOFILEUPLOAD, DOJOFORM, DOJOGRID, DOJOGROUP, DOJOHIDDEN, DOJOIMAGE, DOJOLABEL, DOJOMESSAGE, DOJONUMBERTEXTBOX, DOJORADIOBUTTON, DOJORICHTEXTEDITOR, DOJOSELECT, DOJOSTRINGTEXTBOX, DOJOTABBEDPANE, DOJOTEXTAREA, DOJOTEXTBOX, DOJOTREE, DOJOTYPE, DSE_APPLICATIONID, DSE_NEXT_EVENT_NAME, DSE_OPERATIONNAME, DSE_PAGEID, DSE_PROCESSORID, DSE_PROCESSORSTATE, DSE_SESSIONID, EMPTYSTRING, EVENT_ONCLICK, FALSE, FIELD_SET, FOR, FORM, HEIGHT, HIDDEN, ID, IGNORE, IMG, INITIAL, INPUT, ISCHECKED, JSID, LABEL, LABELFIELD, LEVEL, LOCATION, MESSAGEARRAY, METHOD, NAME, OPTION, POST, PROMPTMESSAGE, PX, REQUIRED, RETURN, SELECT, SINGLEFIELDERRORMESSAGE, START, STORE, STOREDATA, STOREDATANAME, STOREURL, TABLE, TEXT, TEXTAREA, TRUE, TYPE, VALUE, VALUEFIELD, WIDTH
 
Constructor Summary
AbstractSimpleTag()
           
 
Method Summary
protected  boolean containsEndTag()
          whether this tag contains end tag or not.
 void doTag()
          Print the dojo tag
protected  void generateBodyTag(java.lang.StringBuffer buffer)
          Generate the body part of the Dojo Widget
 
Methods inherited from class com.ibm.btt.dojo.tag.AbstractTag
afterGenerateTag, beforeGenerateTag, generateAttributes, generateEndTag, generateStartTag, getDataName, getJspContextServices, getNLSMessage, getResourceBundle, getSingleFieldTypeImplClass, getSingleFieldTypeParams, getStringValue, getStringValue, getTagName, getTypeByImplClass, getUserLocale, initAttributes, isEmpty, setDataName, setDynamicAttribute, write
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimpleTag

public AbstractSimpleTag()
Method Detail

containsEndTag

protected boolean containsEndTag()
whether this tag contains end tag or not. Default it is true, for some tags for example: It doesn't contain the end tag. Then the subclass needs to override this method to return false.

Returns:
true if it contains the end tag otherwise return false.

generateBodyTag

protected void generateBodyTag(java.lang.StringBuffer buffer)
Generate the body part of the Dojo Widget

Parameters:
buffer - the string buffer used to append the dojo code

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Print the dojo tag

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011