Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.InsertPage

Inserts the results of a Sites page evaluation at the current position in the output stream.

Syntax

Parameters

pagename
Pagename entry in the SiteCatalog.

vIn
List of name/value pairs to be passed as input parameters to the page. These are the only variables available to the page. When the evaluation is complete, the original variables are restored. If vIn is null, the current variable set is used, and may be modified during the page evaluation.

Description

The InsertPage method inserts the results of a Sites page evaluation at the current position in the output stream.

This method invokes a page inline with the current evaluation. It creates a new Sites instance and evaluates the page in context. The resulting output is streamed as if included inline.

You must have appropriate Sites ACLs in order to insert the specified pagnename.

Returns

Returns true for success and false for failure.

Error Numbers

If an error occurs, errno will be set appropriately. Use GetErrno to find the error number.

Example

The following code demonstrates how to insert a page. The code does not pass any arguments through the inList:

See Also

ReadPage

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.