BBjspPageContext::getAttributeNames (Deprecated)

Description

In BBj 16.0 and higher, this method returns a BBjVector containing the names of bound attributes within this BBjspPageContext.

Syntax

Return Value

Method

BBjVector

getAttributeNames()

Parameters

None.

Return Value

a BBjVector containing the bound attribute names.

Remarks

None.

Example

This example demonstrates how this works in a BBJSP web-page

<%@ taglib uri='/WEB-CFG/tld/core.tld' prefix='c' %>

    
        

Hello from BBJSP

    <% REM = Get the "name" from the page context name$ = #PageContext!.getAttribute("name") %>
  • ${name} = <%= str(#PageContext!.getAttribute(name$)) %> <% REM = Now remove the attribute #PageContext!.removeAttribute("name") %>

See Also

BBJSP

BBjspPageContext