|
|||||||||||
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.cc.framework.taglib.ScriptTagSupport com.cc.framework.taglib.controls.BaseControlTag com.cc.framework.taglib.controls.TextTag com.cc.framework.taglib.controls.CalendarTag
Tag-Handler for the calendar form element.
The calendar makes it easy to fill out date value field(s) by selecting the date from a Popup calendar.
Field Summary | |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.controls.BaseControlTag |
log |
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 | |
CalendarTag()
Constructor for CalendarTag |
Method Summary | |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected CalendarDesignModel |
getCalendarDesignModel()
Returns a casted version of the ControlDesignModel |
void |
setButtonAlt(java.lang.String alt)
Sets the alt attribute for the calendar image |
void |
setButtonTooltip(java.lang.String tooltip)
Sets the tooltip for the calendar image |
void |
setFormat(java.lang.String format)
Sets the date and format mask like "yyyy.mm.dd HH.mm.ss" |
void |
setLayout(java.lang.String layout)
Sets the HTML-Layout which configures the Control |
void |
setMode(java.lang.String mode)
Sets the mode in which the user can invoke the calendar. |
void |
setShowButton(java.lang.String show)
Shows the button behind the input field to open the calendar |
void |
setShowformat(java.lang.String showFormat)
Specifies if and where the mask should be displayed none (default) = displays no format mask right = displays the format mask behind the icon bottom = displays the format mask under the input field |
Methods inherited from class com.cc.framework.taglib.controls.TextTag |
addButton, assignConverter, getCtrl, getTextDesignModel, release, setConverter, setFilter, setInputType, setMaxlength, setSize |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, doStartTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, setPageContext, setPermission, setProperty, setRunat, setScope, setShadow, setStyle, setStyleClass, setStyleId, setSummary, setTabindex, setTooltip, setTransaction, setValue, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
Constructor Detail |
public CalendarTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class TextTag
BaseControlTag.doCreateDesignModel()
protected CalendarDesignModel getCalendarDesignModel()
protected Control doCreateControl() throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl
in class TextTag
javax.servlet.jsp.JspException
BaseControlTag.doCreateControl()
public void setLayout(java.lang.String layout)
layout
- URI of the HTML Layoutpublic void setFormat(java.lang.String format)
format
- The date and time formatpublic void setShowformat(java.lang.String showFormat)
showFormat
- Formatpublic void setButtonTooltip(java.lang.String tooltip)
tooltip
- The tooltippublic void setButtonAlt(java.lang.String alt)
alt
- The alt attribute if no image is displayedpublic void setShowButton(java.lang.String show) throws javax.servlet.jsp.JspException
show
- The State: true
if the button should be
displayed; false
otherwise
javax.servlet.jsp.JspException
- If the Argument can't be converted to booleanpublic void setMode(java.lang.String mode) throws javax.servlet.jsp.JspException
mode
- The mode
javax.servlet.jsp.JspException
- If the Argument can't be converted to a valid CalendarMode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |