|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.cc.framework.taglib.ScriptTagSupport
com.cc.framework.taglib.controls.BaseControlTag
com.cc.framework.taglib.controls.TextListTag
com.cc.framework.taglib.forms.FormElementTextListTag
Tag-Handler for the textlist-Formelement.
The tag generates a text element for the data input in the enclosing form.
Field Summary | |
private FormControlElement |
formElement
control |
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 | |
FormElementTextListTag()
Constructor |
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)
The 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)
The label of the form element. |
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 whether the form element involved is a mandatory input. |
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.TextListTag |
addButton, assignConverter, doCreateControl, doCreateDesignModel, getCtrl, getTextListDesignModel, release, setConverter, setFilter, setMaxlength, setRows, setSize, setSortOrder, setValue |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, 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, 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 FormElementTextListTag()
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)
setDescription
in interface FormElementControlTag
description
- Discriptionpublic void setLabel(java.lang.String label)
setLabel
in interface FormElementControlTag
label
- Labelpublic 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
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 valuepublic 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 |