railo.runtime.tag
Class ServletParam

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.tag.ServletParam
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public final class ServletParam
extends TagImpl

A child of cfservlet. It passes data to the servlet. Each cfservletparam tag within the cfservlet block passes a separate piece of data to the servlet.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ServletParam()
          constructor for the tag class
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setName(String name)
          set the value name If used with the value attribute, it is the name of the servlet parameter.
 void setType(String type)
          set the value type
 void setValue(String value)
          set the value value Value of a name-value pair passed to the servlet as a parameter.
 void setVariable(String variable)
          set the value variable
 
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

ServletParam

public ServletParam()
             throws ExpressionException
constructor for the tag class

Throws:
ExpressionException
Method Detail

setValue

public void setValue(String value)
set the value value Value of a name-value pair passed to the servlet as a parameter.

Parameters:
value - value to set

setType

public void setType(String type)
set the value type

Parameters:
type - value to set

setVariable

public void setVariable(String variable)
set the value variable

Parameters:
variable - value to set

setName

public void setName(String name)
set the value name If used with the value attribute, it is the name of the servlet parameter. If used with the variable attribute, it is the name of the servlet attribute

Parameters:
name - value to set

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl

doEndTag

public int doEndTag()
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagImpl


Copyright © 2012 Railo