Package com.appslandia.plum.tags
Class MailtoTag
- java.lang.Object
-
- com.appslandia.plum.tags.TagBase
-
- com.appslandia.plum.tags.UITagBase
-
- com.appslandia.plum.tags.MailtoTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.SimpleTag
@Tag(name="mailto", bodyContent="scriptless") public class MailtoTag extends UITagBase
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected String_hrefprotected Stringbccprotected Stringbodyprotected Stringccprotected Stringsubjectprotected Stringto-
Fields inherited from class com.appslandia.plum.tags.UITagBase
clazz, datatag, dynamicAttributes, hidden, id, render, style, title
-
Fields inherited from class com.appslandia.plum.tags.TagBase
jspBody, pageContext, parentTag
-
-
Constructor Summary
Constructors Constructor Description MailtoTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTagName()protected booleanhasBody()protected voidinitTag()voidsetBcc(String bcc)voidsetBody(String body)voidsetCc(String cc)voidsetSubject(String subject)voidsetTo(String to)protected voidwriteAttributes(javax.servlet.jsp.JspWriter out)protected voidwriteBody(javax.servlet.jsp.JspWriter out)-
Methods inherited from class com.appslandia.plum.tags.UITagBase
doTag, setClazz, setDatatag, setDynamicAttribute, setHidden, setId, setRender, setStyle, setTitle, writeDynamicAttributes, writeTag
-
Methods inherited from class com.appslandia.plum.tags.TagBase
evalJspBody, getModelState, getPageContext, getParent, getRequest, getRequestContext, getResponse, setJspBody, setJspContext, setParent
-
-
-
-
Method Detail
-
getTagName
protected String getTagName()
- Specified by:
getTagNamein classUITagBase
-
initTag
protected void initTag() throws javax.servlet.jsp.JspException, IOException- Specified by:
initTagin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeAttributes
protected void writeAttributes(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Specified by:
writeAttributesin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
writeBody
protected void writeBody(javax.servlet.jsp.JspWriter out) throws javax.servlet.jsp.JspException, IOException- Overrides:
writeBodyin classUITagBase- Throws:
javax.servlet.jsp.JspExceptionIOException
-
setTo
@Attribute(required=false, rtexprvalue=true) public void setTo(String to)
-
setCc
@Attribute(required=false, rtexprvalue=true) public void setCc(String cc)
-
setBcc
@Attribute(required=false, rtexprvalue=true) public void setBcc(String bcc)
-
setSubject
@Attribute(required=false, rtexprvalue=true) public void setSubject(String subject)
-
setBody
@Attribute(required=false, rtexprvalue=true) public void setBody(String body)
-
-