Tests whether a Nucleus path refers to a non-null object.

Class Name

atg.droplet.ComponentExists

Component

/atg/dynamo/droplet/ComponentExists

Required Input Parameters

path

The path of the Nucleus component to test.

Open Parameters

true

Rendered if the component exists.

false

Rendered if the component does not exist

Usage Notes

ComponentExists renders the output parameter true or false, depending on whether the path-specified Nucleus component is instantiated.

Example

<droplet bean="/atg/dynamo/droplet/ComponentExists">
  <param name="path" value="/atg/modules/MyModule">
  <oparam name="true">MyModule has been defined</oparam>
  <oparam name="false">MyModule has not been defined</oparam>
</droplet>

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices