com.ibm.btt.dojo.tag
Class DojoTextBoxTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.ibm.btt.dojo.tag.AbstractTag
com.ibm.btt.dojo.tag.AbstractSimpleTag
com.ibm.btt.dojo.tag.DojoTextBoxTag
- All Implemented Interfaces:
- DojoConstants, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
public class DojoTextBoxTag
- extends AbstractSimpleTag
Field Summary |
protected java.lang.String |
type
BTT type used to do the mapping to the DOJO widget type |
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 |
Methods inherited from class com.ibm.btt.dojo.tag.AbstractTag |
afterGenerateTag, beforeGenerateTag, generateAttributes, generateEndTag, generateStartTag, getDataName, getJspContextServices, getNLSMessage, getResourceBundle, getStringValue, getUserLocale, 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 |
type
protected java.lang.String type
- BTT type used to do the mapping to the DOJO widget type
DojoTextBoxTag
public DojoTextBoxTag()
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getPromptMessage
public java.lang.String getPromptMessage()
setPromptMessage
public void setPromptMessage(java.lang.String promptMessage)
getPattern
public java.lang.String getPattern()
setPattern
public void setPattern(java.lang.String pattern)
getDecimalPlaces
public java.lang.String getDecimalPlaces()
setDecimalPlaces
public void setDecimalPlaces(java.lang.String decimalPlaces)
initAttributes
protected void initAttributes()
- Description copied from class:
AbstractTag
- This method is used for subclass to initialize the tag attributes
- Overrides:
initAttributes
in class AbstractTag
getTagName
protected java.lang.String getTagName()
- Description copied from class:
AbstractTag
- The tag name of the generated DOJO widget,if it isn't DOJO widget tag,
then just return null.
- Specified by:
getTagName
in class AbstractTag
- Returns:
- the tag name of the generated DOJO widget
getWidgetType
protected java.lang.String getWidgetType(java.lang.String type)
- Map the BTT type to the DOJO widget type
- Parameters:
type
- the BTT type
- Returns:
- the DOJO widget type
(c) Copyright IBM Corporation 1998, 2011