GroupletRequestSource function

Syntax

GroupletRequestSource()

Description

Use the GroupletRequestSource function to return an Integer value indicating the source page (location) for the grouplet.

Important:

Use this function within fluid applications only.

Parameters

None.

Returns

One of the following Integer values:

Numeric Value Constant Value Description

-1

%GroupletSourceMain

The main, or primary fluid page.

0

%GroupletSourceHeader

The page displayed in the <header> section of the HTML acting as the banner area fixed at the top of every page within the fluid component.

1

%GroupletSourceSide1

The left panel (page of type Side Page 1).

2

%GroupletSourceSide2

The right panel (page of type Side Page 2).

3

%GroupletSourceFooter

The page displayed in the <footer> section of the HTML at the bottom of every page within the fluid component.

Example

Evaluate GroupletRequestSource()
When = %GroupletSourceMain
   /* Some processing */
   Break;
When-Other
   /* Some processing */
   Break;
End-Evaluate;