The context tag is used to obtain a portal or gear context. The context is identified by the name specified by the id attribute. The optional type attribute can be used to determine the type of context. The currently supported types include PortalContext.class and GearContext.class.

Body: JSP content

Attributes

Attribute

Description

Required?

id

false

var

false

scope

false

type

String. One of PortalContext.class or GearContext.class

false

Example: page/html/shared.jsp


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices