|
|||||||||||
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.RecurrencePatternTag com.cc.framework.taglib.forms.FormElementRecurrencePatternTag
Tag-Handler for the recurrence pattern form elemement.
Field Summary | |
private FormControlElement |
formElement
The design model |
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 | |
FormElementRecurrencePatternTag()
Constructor for FormElementCalendarTag |
Method Summary | |
FormControlElement |
doCreateFormControlElement()
Creates the concrete form element |
int |
doStartTag()
|
FormControlElement |
getFormControlElement()
Returns the concrete form element |
protected void |
releaseDesignModel()
This method gets called when the design model is not longer needed |
void |
setAccesskey(java.lang.String accessKey)
The ACCESSKEY attribute can be used to specify a shortcut key for the <LABEL> (activated by pressing 'ALT' and the ACCESSKEY together). |
void |
setAlign(java.lang.String alignment)
Specifies the horizontal alignment of the form element within the form left right center |
void |
setColspan(java.lang.String colspan)
Sets the column span of this form element |
void |
setDescription(java.lang.String description)
Sets the optional description text |
void |
setImageref(java.lang.String imageRef)
Sets the Reference to an Image in an ImageMap, which should be display in front of the Label |
void |
setJoin(java.lang.String join)
This method specifies that two adjacent form elements should be joined together without a separator |
void |
setLabel(java.lang.String label)
Sets the form element label |
void |
setLabelDesignModel(FormLabelDesignModel label)
Sets the Label for the form element |
void |
setLabeltooltip(java.lang.String tooltip)
Sets the tooltip text for the label |
void |
setRequired(java.lang.String required)
Indicates that this form element is a required field |
void |
setValign(java.lang.String alignment)
Specifies the vertical alignment of the form element within the form top bottom center |
Methods inherited from class com.cc.framework.taglib.controls.RecurrencePatternTag |
doCreateControl, doCreateDesignModel, getRecurrencePatternDesignModel, setFilter |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, release, 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 |
Methods inherited from interface com.cc.framework.taglib.forms.FormElementControlTag |
setHelp |
Methods inherited from interface com.cc.framework.taglib.forms.FormElementTag |
setHeight, setPermission, setStyle, setStyleClass, setStyleId, setWidth |
Field Detail |
private static final long serialVersionUID
private FormControlElement formElement
Constructor Detail |
public FormElementRecurrencePatternTag()
Method Detail |
public FormControlElement getFormControlElement()
FormElementControlTag
getFormControlElement
in interface FormElementControlTag
FormElementControlTag.getFormControlElement()
public FormControlElement doCreateFormControlElement()
FormElementControlTag
doCreateFormControlElement
in interface FormElementControlTag
FormElementControlTag.doCreateFormControlElement()
protected void releaseDesignModel()
BaseControlTag
releaseDesignModel
in class BaseControlTag
BaseControlTag.releaseDesignModel()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class BaseControlTag
javax.servlet.jsp.JspException
Tag.doStartTag()
public void setDescription(java.lang.String description)
FormElementControlTag
setDescription
in interface FormElementControlTag
description
- DiscriptionFormElementControlTag.setDescription(java.lang.String)
public void setLabel(java.lang.String label)
FormElementControlTag
setLabel
in interface FormElementControlTag
label
- LabelFormElementControlTag.setLabel(java.lang.String)
public void setLabelDesignModel(FormLabelDesignModel label)
LabeledFormElementTag
setLabelDesignModel
in interface LabeledFormElementTag
label
- LabelLabeledFormElementTag.setLabelDesignModel(com.cc.framework.ui.model.FormLabelDesignModel)
public void setRequired(java.lang.String required) throws javax.servlet.jsp.JspException
FormElementControlTag
setRequired
in interface FormElementControlTag
required
- true
if the Field is required
javax.servlet.jsp.JspException
- if the argument can not be converted to a boolean valueFormElementControlTag.setRequired(java.lang.String)
public void setColspan(java.lang.String colspan) throws javax.servlet.jsp.JspException
FormElementTag
setColspan
in interface FormElementTag
colspan
- column span
javax.servlet.jsp.JspException
- Is thrown when a number conversion error occursFormElementTag.setColspan(java.lang.String)
public void setJoin(java.lang.String join) throws javax.servlet.jsp.JspException
FormElementTag
setJoin
in interface FormElementTag
join
- true
when the form elements should be joined
javax.servlet.jsp.JspException
- if the Argument can not be converted to a boolean ValueFormElementTag.setJoin(java.lang.String)
public void setImageref(java.lang.String imageRef)
FormElementControlTag
setImageref
in interface FormElementControlTag
imageRef
- Reference to an Image in an ImageMapFormElementControlTag.setImageref(java.lang.String)
public void setAlign(java.lang.String alignment) throws javax.servlet.jsp.JspException
FormElementTag
setAlign
in interface FormElementTag
alignment
- The alignment of the element
javax.servlet.jsp.JspException
- If the argument can't be converted to an AlignmentTypeFormElementTag.setAlign(java.lang.String)
public void setValign(java.lang.String alignment) throws javax.servlet.jsp.JspException
FormElementTag
setValign
in interface FormElementTag
alignment
- The alignment of the element
javax.servlet.jsp.JspException
- If the argument can't be converted to an AlignmentTypeFormElementTag.setValign(java.lang.String)
public void setAccesskey(java.lang.String accessKey)
LabeledFormElementTag
setAccesskey
in interface LabeledFormElementTag
accessKey
- The Access KeyLabeledFormElementTag.setAccesskey(java.lang.String)
public void setLabeltooltip(java.lang.String tooltip)
LabeledFormElementTag
setLabeltooltip
in interface LabeledFormElementTag
tooltip
- Tooltip textLabeledFormElementTag.setLabeltooltip(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |