org.opensubsystems.patterns.dialoglayout.www
Class CalendarInitTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opensubsystems.core.www.PageElementCacheTag
org.opensubsystems.patterns.dialoglayout.www.CalendarInitTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class CalendarInitTag
- extends org.opensubsystems.core.www.PageElementCacheTag
Custom tag to initialize the calendar component. This needs to be the first
tag of all calendar tags and should be placed in the page before the html
tag. The in emptypage.jsp layout will take the
elements put into cache by this tag and place them at a correct location.
- Version:
- $Id: CalendarInitTag.java,v 1.11 2007/01/07 06:14:28 bastafidli Exp $
- Author:
- Julian Legeny
- See Also:
- Serialized Form
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.8 2006/02/17 06:54:14 bastafidli
|
Field Summary |
protected java.lang.String |
m_strDate
Name of the attribute for date format
TODO: For Julo: You are missing test demonstrating how to use this attribute. |
protected java.lang.String |
m_strDatetime
Name of the attribute for datetime format
TODO: For Julo: You are missing test demonstrating how to use this attribute. |
protected java.lang.String |
m_strTime
Name of the attribute for time format
TODO: For Julo: You are missing test demonstrating how to use this attribute. |
| 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 |
| 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 |
m_strDatetime
protected java.lang.String m_strDatetime
- Name of the attribute for datetime format
TODO: For Julo: You are missing test demonstrating how to use this attribute.
Once you add it update the example in the tld.
m_strDate
protected java.lang.String m_strDate
- Name of the attribute for date format
TODO: For Julo: You are missing test demonstrating how to use this attribute.
Once you add it update the example in the tld.
m_strTime
protected java.lang.String m_strTime
- Name of the attribute for time format
TODO: For Julo: You are missing test demonstrating how to use this attribute.
Once you add it update the example in the tld.
CalendarInitTag
public CalendarInitTag()
- Constructor for custom tag.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class org.opensubsystems.core.www.PageElementCacheTag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class org.opensubsystems.core.www.PageElementCacheTag
- Throws:
javax.servlet.jsp.JspException
getDatetime
public java.lang.String getDatetime()
- Returns:
- String - Datetime format
getDatet
public java.lang.String getDatet()
- Returns:
- String - Date format
getTime
public java.lang.String getTime()
- Returns:
- String - Time format
setDatetime
public void setDatetime(java.lang.String strDatetime)
- Parameters:
strDatetime - - Datetime format
setDate
public void setDate(java.lang.String strDate)
- Parameters:
strDate - - Date format
setTime
public void setTime(java.lang.String strTime)
- Parameters:
strTime - - Time format
Copyright © 2003 - 2006 OpenSubsystems s.r.o.