BBjspPageContext::runPipelineByName (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

in BBj 17.0 and higher, this method executes the named pipeline.

Syntax

Return Value

Method

void

runPipelineByName(string name)

Parameters

Variable

Description

name

the name of the pipeline to run

Return Value

None.

Remarks

None.

Example

This example demonstrates how this works in a BBJSP web-page

<%@ taglib uri='/WEB-CFG/tld/core.tld' prefix='c' %>
<html>
    <body>
        <h1>Hello from BBJSP</h1>
<%
    #PageContext!.runPipelineByName("MyPipeline")
%>
    </body>
</html>

This example demonstrates how this works in a BBJSP widget

REM ===
REM === A BBjspWidget that counts page-visits for the user.
REM ===

class public PageCounterWidget implements BBjspWidget
  method public void open(BBjspPageContext context!)
    context!.runPipelineByName("MyPipeline")
  methodend
classend

See Also