|
|||||||||||
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.forms.MessageTag
Tag-Handler for the message
Tag.
Generates a message text form. The form expects, as the data model, an implementation of the interface com.cc.framework.message.Message.MessageDataModel. Struts: If the Struts Framework is being used, the tag can also be used without the specification of a Data Bean. In this case, the Struts error collection (severity="error") or the message collection (severity="information") are displayed.
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 | |
MessageTag()
Constructor |
Method Summary | |
void |
addInnerFrame(InnerFrame frame)
Adds a new inner Frame to the container |
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
protected MessageDesignModel |
getMessageDesignModel()
Returns a casted version of the ControlDesignModel |
void |
setCaption(java.lang.String caption)
The main title of the form. |
void |
setDetail(java.lang.String detail)
The detail title of the form. |
void |
setFilter(java.lang.String filter)
The automatic HTML coding of the text element can be activated or disabled with the filter-attribute |
void |
setFormid(java.lang.String formid)
The unique identification of the form. |
void |
setHideButtons(java.lang.String controlButtonList)
Hides all buttons in the ControlButton List. |
void |
setImage(ImageModel image)
Sets the image |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setSeverity(java.lang.String severity)
Specifies the error class of the message form. |
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, release, releaseDesignModel, setAction, setAjax, setAjax, setBorder, setDirectValue, setDisabled, setFormElement, setHeight, setHelp, setId, setLocale, setName, 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 MessageTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected MessageDesignModel getMessageDesignModel()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class BaseControlTag
Tag.setPageContext(PageContext pc)
protected Control doCreateControl() throws javax.servlet.jsp.JspException
BaseControlTag
doCreateControl
in class BaseControlTag
javax.servlet.jsp.JspException
- If an error during bean lookup occursBaseControlTag.doCreateControl()
public void setCaption(java.lang.String caption)
caption
- The captionpublic void setDetail(java.lang.String detail)
detail
- The detail titlepublic void setSeverity(java.lang.String severity) throws javax.servlet.jsp.JspException
severity
- Severity
javax.servlet.jsp.JspException
- if the argument can not be converted to an Object of Type Severitypublic void setFormid(java.lang.String formid)
formid
- Id of the Formpublic void setFilter(java.lang.String filter) throws javax.servlet.jsp.JspException
filter
- true
if the text should be HTML encoded.
javax.servlet.jsp.JspException
- If the Argument can't be converted to a booleanpublic void addInnerFrame(InnerFrame frame)
FrameContainerTag
addInnerFrame
in interface FrameContainerTag
frame
- The inner Frame to addFrameContainerTag.addInnerFrame(com.cc.framework.ui.model.InnerFrame)
public void setImage(ImageModel image)
ImageContainerTag
setImage
in interface ImageContainerTag
image
- The image model for the imageImageContainerTag.setImage(com.cc.framework.ui.model.ImageModel)
public void setHideButtons(java.lang.String controlButtonList) throws javax.servlet.jsp.JspException
controlButtonList
- A semicolon delimited list of ControlButton names
javax.servlet.jsp.JspException
- Is thrown when a invalid ControlButton Name is specified
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |