Tests whether a Nucleus path refers to a non-null object.
Class Name |
|
---|---|
Component |
|
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>