|
|||||||||||
| 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.ComboBoxTag
com.cc.framework.taglib.forms.FormElementComboBoxTag
Tag-Handler for the combobox-Formelement.
The tag generates a select element for the data input in the enclosing form. The option list is specified in the tag-body with the help of the <base:options>-tag. The tag may only be used within a com.cc.framework.taglib.forms.FormElementContainerTag. Examples of this are <forms:form> and <forms:section>.
| Field Summary | |
private FormControlElement |
formElement
Designmodel |
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 | |
FormElementComboBoxTag()
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.ComboBoxTag |
doCreateControl, doCreateDesignModel, getComboBoxDesignModel, getCtrl, getOptionsComparator, release, setFilter, setMaxlength, setOptionList, setSize, 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 FormElementComboBoxTag()
| Method Detail |
public FormControlElement getFormControlElement()
FormElementControlTag
getFormControlElement in interface FormElementControlTagFormElementControlTag.getFormControlElement()public FormControlElement doCreateFormControlElement()
FormElementControlTag
doCreateFormControlElement in interface FormElementControlTagFormElementControlTag.doCreateFormControlElement()protected void releaseDesignModel()
BaseControlTag
releaseDesignModel in class BaseControlTagBaseControlTag.releaseDesignModel()
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class BaseControlTagjavax.servlet.jsp.JspExceptionTag.doStartTag()public void setDescription(java.lang.String description)
setDescription in interface FormElementControlTagdescription - The discriptionpublic void setLabel(java.lang.String label)
setLabel in interface FormElementControlTaglabel - The label of the form element.public void setLabelDesignModel(FormLabelDesignModel label)
LabeledFormElementTag
setLabelDesignModel in interface LabeledFormElementTaglabel - LabelLabeledFormElementTag.setLabelDesignModel(com.cc.framework.ui.model.FormLabelDesignModel)
public void setRequired(java.lang.String required)
throws javax.servlet.jsp.JspException
setRequired in interface FormElementControlTagrequired - True if the Field is required
javax.servlet.jsp.JspException - if the argument can not be converted to a boolean value
public void setColspan(java.lang.String colspan)
throws javax.servlet.jsp.JspException
FormElementTag
setColspan in interface FormElementTagcolspan - 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 FormElementTagjoin - 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 FormElementControlTagimageRef - 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 FormElementTagalignment - 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 FormElementTagalignment - 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 LabeledFormElementTagaccessKey - The Access KeyLabeledFormElementTag.setAccesskey(java.lang.String)public void setLabeltooltip(java.lang.String tooltip)
LabeledFormElementTag
setLabeltooltip in interface LabeledFormElementTagtooltip - Tooltip textLabeledFormElementTag.setLabeltooltip(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||