|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.jcorporate.expresso.ext.taglib.ExpressoTagSupport com.sri.common.taglib.InputTag
public class InputTag
An adaptation of Expresso's version of InputTag to customize and add functionality as well as fix errors.
Field Summary | |
---|---|
static String |
STYLE_SHEET_MEDIUM_BOLD
Medium Bold Stylesheet class. |
static String |
STYLE_SHEET_MEDIUM_TEXT
Medium text stylesheet class. |
static String |
TYPE_CHECKBOX
Input type checkbox. |
static String |
TYPE_CHECKBOX_VERT
Input type checkbox-vertical. |
static String |
TYPE_DROPDOWN
Input type select list: dropdown. |
static String |
TYPE_FILE
Input type file. |
static String |
TYPE_HIDDEN
Input type hidden. |
static String |
TYPE_LISTBOX
Input type select list: listbox. |
static String |
TYPE_PASSWORD
Input type password [Not yet supported]. |
static String |
TYPE_RADIO
Input type radio. |
static String |
TYPE_RADIO_VERT
Input type radio vertical. |
static String |
TYPE_READONLY
Input type read only input. |
static String |
TYPE_TEXT
Input type text [Not yet supported]. |
static String |
TYPE_TEXTAREA
Input type text area. |
Fields inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport |
---|
ctlrResp, response |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 | |
---|---|
InputTag()
Default Constructor. |
Method Summary | |
---|---|
int |
doEndTag()
Standard doEndTag. |
int |
doStartTag()
Do nothing until end tag. |
Input |
getInput()
Retrieve the input for the control. |
protected String |
getJavaScript()
Get the javascript actions. |
String |
getMaxlength()
Getter method for maxlength. |
String |
getName()
Getter method for Name. |
String |
getOnClick()
Getter method for javascript onClick method. |
String |
getOnKeyPress()
Getter method for javascript : onKeyPress. |
String |
getShowlabel()
Getter Method for showlabel. |
String |
getSize()
Getter method for size. |
String |
getType()
Getter method for Type. |
String |
getValue()
Getter Method for Value. |
void |
setMaxlength(String newMaxlength)
Setter method for maxlength. |
void |
setName(String newName)
Sets the name parameter to retreive from the ControllerResponse. |
void |
setOnClick(String newValue)
Setter method for javascript onClick method. |
void |
setOnKeyPress(String newValue)
Setter method for javascript : onKeyPress. |
void |
setShowlabel(String newShowlabel)
Setter method for showlabel. |
void |
setSize(String newSize)
Setter method for size. |
void |
setType(String newType)
Setter method for type. |
void |
setValue(String newValue)
Setter method for value. |
Methods inherited from class com.jcorporate.expresso.ext.taglib.ExpressoTagSupport |
---|
getAncestor, getContainer, getControllerResponse, getResponse, setResponse |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE_CHECKBOX
public static final String TYPE_CHECKBOX_VERT
public static final String TYPE_HIDDEN
public static final String TYPE_READONLY
public static final String TYPE_RADIO
public static final String TYPE_RADIO_VERT
public static final String TYPE_DROPDOWN
public static final String TYPE_LISTBOX
public static final String TYPE_TEXTAREA
public static final String TYPE_FILE
public static final String TYPE_PASSWORD
public static final String TYPE_TEXT
public static final String STYLE_SHEET_MEDIUM_BOLD
public static final String STYLE_SHEET_MEDIUM_TEXT
Constructor Detail |
---|
public InputTag()
Method Detail |
---|
protected String getJavaScript()
public int doEndTag() throws javax.servlet.jsp.JspTagException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspTagException
- upon error.public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspTagException
- The exception description.public String getMaxlength()
public String getName()
public String getShowlabel()
public String getSize()
public String getType()
public String getValue()
public String getOnKeyPress()
public void setOnKeyPress(String newValue)
newValue
- java.lang.Stringpublic String getOnClick()
public void setOnClick(String newValue)
newValue
- java.lang.Stringpublic void setMaxlength(String newMaxlength)
newMaxlength
- java.lang.Stringpublic void setName(String newName)
newName
- java.lang.Stringpublic Input getInput()
public void setShowlabel(String newShowlabel)
newShowlabel
- java.lang.Stringpublic void setSize(String newSize)
newSize
- java.lang.Stringpublic void setType(String newType)
newType
- java.lang.Stringpublic void setValue(String newValue)
newValue
- java.lang.String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |