|
|||||||||||
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.InfoTag
Tag for the Info Tag
The tag generates an information field The actual information text is specified in the tag-body or as a pointer to other HTTP-resources.
Field Summary | |
private javax.servlet.jsp.tagext.BodyContent |
bodyContent
The Body Content of the Tag |
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.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
InfoTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
protected Control |
doCreateControl()
Creates the control element |
protected ControlDesignModel |
doCreateDesignModel()
This method is called to create the DesignModel for the control |
void |
doInitBody()
|
int |
doStartTag()
|
protected InfoDesignModel |
getInfoDesignModel()
Returns a casted version of the ControlDesignModel |
void |
release()
|
void |
setBase(java.lang.String string)
Sets the base directory |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
|
void |
setNoframe(java.lang.String border)
Enables or Disables the frames border |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setResource(java.lang.String resource)
Pointer to an HTTP-resource that specifies the contents of the information field. |
Methods inherited from class com.cc.framework.taglib.controls.BaseControlTag |
addDesignRule, beginPaint, createControl, createPainter, doEndTag, endPaint, getClientHandler, getControl, getDefaultAction, getDesignModel, getDirectValue, getHttpScope, getPainterContext, lookupBean, 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 |
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 javax.servlet.jsp.tagext.Tag |
doEndTag, getParent, setParent |
Field Detail |
private static final long serialVersionUID
private javax.servlet.jsp.tagext.BodyContent bodyContent
Constructor Detail |
public InfoTag()
Method Detail |
protected ControlDesignModel doCreateDesignModel()
BaseControlTag
doCreateDesignModel
in class BaseControlTag
BaseControlTag.doCreateDesignModel()
protected InfoDesignModel getInfoDesignModel()
public void setPageContext(javax.servlet.jsp.PageContext pc)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class BaseControlTag
Tag.setPageContext(PageContext pc)
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BaseControlTag
Tag.release()
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 doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
javax.servlet.jsp.JspException
BodyTag.doInitBody()
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
BodyTag.setBodyContent(javax.servlet.jsp.tagext.BodyContent)
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 int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
javax.servlet.jsp.JspException
IterationTag.doAfterBody()
public void setResource(java.lang.String resource)
resource
- Resourcepublic void setBase(java.lang.String string)
string
- pathname or a resource keypublic void setNoframe(java.lang.String border) throws javax.servlet.jsp.JspException
border
- true
if the frames
should be visible
javax.servlet.jsp.JspException
- If the Argument can't be converted to boolean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |