railo.runtime.tag
Class Abort
java.lang.Object
railo.runtime.ext.tag.TagImpl
railo.runtime.tag.Abort
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
public final class Abort
- extends TagImpl
Stops processing of a page at the tag location. Railo returns everything that was processed before the cfabort tag. The cfabort tag is often used with conditional logic to stop processing a page when a condition occurs.
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Abort()
|
Abort
public Abort()
setShowerror
public void setShowerror(String showerror)
- set the value showerror
The error to display when cfabort executes.
The error message displays in the standard CFML error page.
- Parameters:
showerror
- value to set
setType
public void setType(String type)
throws ApplicationException
- sets the type of the abort (page,request)
- Parameters:
type
-
- Throws:
ApplicationException
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()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class TagImpl
- See Also:
Tag.release()
Copyright © 2012 Railo