|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opensubsystems.core.www.PageElementCacheTag
org.opensubsystems.core.www.BlockElementTag
org.opensubsystems.patterns.dialoglayout.www.CalendarTag
public class CalendarTag
Custom tag to generate all HTML code necessary to display calendar control displayed in the dialog row (calendar consists from edit box and button that will open calendar dialog). TODO: For Julo: This tag is not used anywhere and we don't even have test page for it. Once you create a test page add an example tag to the tld demonstrating how should this tag be used.
| Field Summary | |
|---|---|
protected java.lang.String |
m_strButtoncssclass
Class for the button control representing this calendar control. |
protected java.lang.String |
m_strDatetimeformat
Format of the date, time or datetime that should be used for value entered using the calendar dialog. |
protected java.lang.String |
m_strDisabled
Flag which will tells us if the input is disabled. |
protected java.lang.String |
m_strFocus
Does this control have focus when it is displayed on the page or not. |
protected java.lang.String |
m_strInputcssclass
Class for the input control representing this single line edit. |
protected java.lang.String |
m_strName
Name of the input tag used to identify submitted data. |
protected java.lang.String |
m_strSize
Size of the input tag used to limit viewable area. |
protected java.lang.String |
m_strValue
Initial value to display in the edit field of the calendar control. |
| Fields inherited from class org.opensubsystems.core.www.BlockElementTag |
|---|
CURRENT_ELEMENT_ID, DIV_BLOCK_ELEMENT, m_strCssclass, m_strIdSuffix, m_strRelatedIds, m_strStyle, m_strType, SPAN_BLOCK_ELEMENT |
| Fields inherited from class org.opensubsystems.core.www.PageElementCacheTag |
|---|
CACHE_INDICATOR, CSS_ELEMENT, JS_ELEMENT, m_strCacheas, m_strId, PAGE_ELEMENTS_CACHE, SCRIPT_ELEMENT |
| 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 | |
|---|---|
CalendarTag()
Constructor for custom tag. |
|
| Method Summary | |
|---|---|
int |
doEndTag()
|
int |
doStartTag()
|
java.lang.String |
getButtoncssclass()
|
java.lang.String |
getDatetimeformat()
|
java.lang.String |
getDisabled()
|
java.lang.String |
getFocus()
|
java.lang.String |
getInputcssclass()
|
java.lang.String |
getName()
|
java.lang.String |
getSize()
|
java.lang.String |
getValue()
|
boolean |
isDisabledControl()
|
boolean |
isFocusedControl()
|
void |
setButtoncssclass(java.lang.String strButtoncssclass)
|
void |
setDatetimeformat(java.lang.String strDatetimeformat)
|
void |
setDisabled(boolean bDisabled)
|
void |
setDisabled(java.lang.String strDisabled)
|
void |
setFocus(boolean bFocus)
|
void |
setFocus(java.lang.String strFocus)
|
void |
setInputcssclass(java.lang.String strInputcssclass)
|
void |
setName(java.lang.String strName)
|
void |
setSize(java.lang.String strSize)
|
void |
setValue(java.lang.String strValue)
|
| Methods inherited from class org.opensubsystems.core.www.BlockElementTag |
|---|
adjustId, getCssclass, getCurrentId, getRelatedids, getStyle, getType, isRelatedIdsTag, popCurrentId, pushCurrentId, restoreId, setCssclass, setRelatedids, setRelatedids, setStoredId, setStyle, setType |
| Methods inherited from class org.opensubsystems.core.www.PageElementCacheTag |
|---|
cache, getCacheas, getCachedContent, getCachedContent, getCachedContent, getCachedContentElements, getId, setCacheas, setId |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, 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 |
|---|
protected java.lang.String m_strName
protected java.lang.String m_strSize
protected java.lang.String m_strInputcssclass
protected java.lang.String m_strButtoncssclass
protected java.lang.String m_strFocus
protected java.lang.String m_strDisabled
protected java.lang.String m_strValue
protected java.lang.String m_strDatetimeformat
| Constructor Detail |
|---|
public CalendarTag()
| Method Detail |
|---|
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class org.opensubsystems.core.www.BlockElementTagjavax.servlet.jsp.JspException
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class org.opensubsystems.core.www.BlockElementTagjavax.servlet.jsp.JspExceptionpublic java.lang.String getInputcssclass()
public java.lang.String getButtoncssclass()
public java.lang.String getName()
public java.lang.String getSize()
public java.lang.String getFocus()
public void setInputcssclass(java.lang.String strInputcssclass)
strInputcssclass - - Class for the input control representing this
single line editpublic void setButtoncssclass(java.lang.String strButtoncssclass)
strButtoncssclass - - Class for the button control representing this
calendar controlpublic void setName(java.lang.String strName)
strName - - Name of the input tag used to identify submitted datapublic void setFocus(java.lang.String strFocus)
strFocus - - If this control have focus when it si displayed on the
page say true or 1.public void setFocus(boolean bFocus)
bFocus - - Does this control have focus when it si displayed on the
page or tab.public void setSize(java.lang.String strSize)
strSize - - Size of the input tag used to limit viewable area.public boolean isFocusedControl()
public java.lang.String getDisabled()
public void setDisabled(java.lang.String strDisabled)
strDisabled - - If this control should be disabled then this attribute
should say true or 1.public void setDisabled(boolean bDisabled)
bDisabled - - If this control should be disabled then this attribute
should say true or 1.public boolean isDisabledControl()
public java.lang.String getValue()
public void setValue(java.lang.String strValue)
strValue - - Value of the input tag used to display in the edit boxpublic java.lang.String getDatetimeformat()
public void setDatetimeformat(java.lang.String strDatetimeformat)
strDatetimeformat - - Value of the datetime format that display in the edit box
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||