railo.runtime.tag
Class MailParam
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.tag.MailParam
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
public final class MailParam
- extends TagImpl
Can either attach a file or add a header to a message. It is nested within a cfmail tag. You can
use more than one cfmailparam tag within a cfmail tag.
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
MailParam
public MailParam()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class TagImpl
- See Also:
Tag.release()
setRemove
public void setRemove(boolean remove)
- Parameters:
remove
- the remove to set
setContent
public void setContent(Object content)
throws PageException
- Parameters:
content
- the content to set
- Throws:
ExpressionException
PageException
setType
public void setType(String type)
- Parameters:
type
-
setValue
public void setValue(String value)
- set the value value
Indicates the value of the header.
- Parameters:
value
- value to set
setFile
public void setFile(String strFile)
throws PageException
- set the value file
Attaches the specified file to the message. This attribute is mutually exclusive with the
name attribute.
- Parameters:
strFile
- value to set
- Throws:
PageException
setName
public void setName(String name)
- set the value name
Specifies the name of the header. Header names are case insensitive. This attribute is mutually
exclusive with the file attribute.
- Parameters:
name
- value to set
setDisposition
public void setDisposition(String disposition)
throws ApplicationException
- Parameters:
disposition
- The disposition to set.
- Throws:
ApplicationException
setContentid
public void setContentid(String contentID)
- Parameters:
contentID
- The contentID to set.
doStartTag
public int doStartTag()
throws PageException
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class TagImpl
- Throws:
PageException
- See Also:
Tag.doStartTag()
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class TagImpl
- See Also:
Tag.doEndTag()
Copyright © 2012 Railo