CallPageFlow Class
- public class CallPageFlow
extends CallMethod
A tag that is used to call a method on the current PageFlowController
.
The PageFlow on which to call the method is found given the location of the JSP page in the
webapp; if no PageFlow is found in the current directory, an ObjectNotFoundException
is
thrown and the tag execution fails.
This tag extends the CallMethod
tag, which defines additional attributes.
Once the method has been called, any return value is set in the
PageContext
attribute map under the resultId
attribute that is provided on the CallMethod
tag. In the case that the return
value is a primitive type, the primitive type's object wrapper is set in the
PageContext
under the resultId
key.
Attribute Descriptions |
Attribute | Required | Runtime Expression Evaluation | Data Bindable |
failOnError | No | No | No |
A boolean that if true will cause the tag to report any method
invocation errors in-line in the rendered page. |
method | Yes | No | No |
Name of the method in the page flow that will be invoked. |
resultId | No | No | No |
The PageContext attribute name where the result,
if non-null, is stored. |
Related Topics
<netui-data:callPageFlow> Tag Sample
MethodParameter
CallMethod
CallControl
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
AbstractCallMethod
CallMethod
CallPageFlow
-
All Implemented Interfaces
-
BodyTag
, IterationTag
, Serializable
, Tag
Fields from com.bea.wlw.netui.tags.AbstractBaseTag |
ATTR_GENERAL , ATTR_GENERAL_EXPRESSION , ATTR_JAVASCRIPT , ATTR_STYLE , CLASS , ID , JAVASCRIPT_STATUS , NAME , NETUI_UNIQUE_CNT , ONCLICK , ONDBLCLICK , ONKEYDOWN , ONKEYPRESS , ONKEYUP , ONMOUSEDOWN , ONMOUSEMOVE , ONMOUSEOUT , ONMOUSEOVER , ONMOUSEUP , STYLE , TABINDEX
|
Methods from com.bea.wlw.netui.tags.databinding.invoke.AbstractCallMethod |
addParameter , doEndTag , doStartTag , findMethod , getFailOnError , getMethod , getObjectName , getParameterNodes , getResultId , handleReturnValue , localRelease , resolveObject , setFailOnError , setMethod , setResultId
|
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping , evaluateAttributeToString , filter , filter , getJavaScriptUtils , getNearestForm , getScriptReporter , getTagName , getUserLocale , localRelease , registerTagError , release , renderAttribute , rewriteName , write
|
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallPageFlow
public CallPageFlow()
getObjectName() Method
protected String
getObjectName()
Get the name of the object that is the target of the invocation.
-
Overrides
-
CallMethod.getObjectName()
Returns
- a name for the object on which the method will be invoked.
getTagName() Method
public String
getTagName()
Get the name of this tag. This is used to identify the type of this tag
for reporting tag errors.
-
Overrides
-
CallMethod.getTagName()
Returns
- a constant String representing the name of this tag.
resolveObject() Method
protected Object
resolveObject()
throws ObjectNotFoundException
Get the PageFlow for the using JSP's directory. This is an implementation of the
CallMethod.resolveObject()
method that finds the current PageFlow
using the PageFlowUtils.ensureCurrentPageFlow(HttpServletRequest, HttpServletResponse)
method.
-
Overrides
-
CallMethod.resolveObject()
Returns
- the current PageFlow. If there is no current PageFlow, the
ObjectNotFoundException
will
be thrown.
Exceptions
-
ObjectNotFoundException