Calls methods on the current Page Flow. If no Controller file is found, an
ObjectNotFoundException is thrown and the tag execution fails.
Any return value is stored in the ${pageScope...} data binding context object under the
attribute specified by the resultId attribute.
For example, given a hello method and the following <netui-data:callPageFlow> tag:
<netui-data:callPageFlow method="hello" resultId="helloMessage"/>
the result of the call is stored in the ${pageScope} JSP EL implicit object under
the attribute helloMessage . It will be accessible via ${pageScope.helloMessage} and
can be used as:
<netui:span value="${pageScope.helloMessage}"/>
In JSP scriptlet, the result can be retrieved by calling the getAttribute() method on the
javax.servlet.jsp.PageContext javax.servlet.jsp.PageContext object:
<%= pageContext.getAttribute("helloMessage") %>
ObjectNotFoundExceptionjavax.servlet.jsp.PageContext javax.servlet.jsp.PageContextorg.apache.beehive.netui.tags.html.Span |