getContext() Method

Usage

public java.lang.String getContext(java.lang.String pPropertyName)

Description

This method returns information about to the current execution context.

Parameters

Parameter

Type

Description

pPropertyName

String

String containing the name of the requested property.

The following table lists the different possible values for pPropertyName 

Parameter value

Description

ID

Internal ID of the context.

CTX_NAME

Name of the context.

CTX_CODE

Code of the context.

CTX_DEFAULT

Returns 1 for the default context, 0 for the other contexts.

<flexfield code>

Flexfield value for this reference.

Examples

Current Context = <%=getContext("CTX_NAME")%>