railo.runtime.tag
Class MailParam

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by 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.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
MailParam()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setContent(Object content)
           
 void setContentid(String contentID)
           
 void setDisposition(String disposition)
           
 void setFile(String strFile)
          set the value file Attaches the specified file to the message.
 void setName(String name)
          set the value name Specifies the name of the header.
 void setRemove(boolean remove)
           
 void setType(String type)
           
 void setValue(String value)
          set the value value Indicates the value of the header.
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailParam

public MailParam()
Method Detail

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