Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

device:hascapability

Checks if the current device supports the given capability and conditionally evaluates the body of the tag.

Syntax

Parameters

name (required)
Input. Name of the loaded device object. This device must be loaded and assigned this name before you can pass its name to this tag. (See device:load )

capability (required)
Input. Name of the capability.

Description

The device:hascapability tag checks if the current device supports the given capability and conditionally evaluates the body of the tag.

Error Numbers

Possible values of errno include:

Value
Description
-3700
The capability is not supported by the loaded device.
-3702
No device object found with the given name.

Example

See Also

device:capability
device:load
device:get

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.