36.3 IS_READ_ONLY Function

This function returns TRUE if the current region is rendered read-only and FALSE if region is not rendered read-only. If the function is called from a context where no region is currently processed, it returns NULL. For example, you can use this function in conditions of a region or its underlying items and buttons.

Syntax

FUNCTION IS_READ_ONLY 
RETURN BOOLEAN;

Parameters

None.

Example

This examples purges the session for a specific region cache for the whole application.

RETURN APEX_REGION.IS_READ_ONLY;