Home > Contents > Index >
render:overridedeps
Removes executed dependencies calculated previous to the calling of this tag and then if desired, sets new dependencies.
Syntax
<render:overridedeps [asset="variable_string
"] [cid="id of asset
"] [c="type of asset
"] [deptype="type of dependency
"] />Parameters
asset (optional)
- The name of the loaded asset.
cid (optional)
- The id of the asset.
c (optional)
- The type of the asset.
deptype (optional)
- valid options are
none
orunknowndeps
. If no value is set fordeptype
, the value defaults toexist
Description
This tag was introduced as a way of limiting the number of dependencies that are logged in Sites’s database and to override specific dependency settings.
This tag should be used with caution since removing calculated dependencies will affect the flushing of the page.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded into memory). -10006 The object ID is not valid.Example
This example demonstrates the clearing of all the dependencies that have been logged to this point in the code execution.
<render:overridedeps/>This example demonstrates the clearing of all the dependencies that have been logged to this point in the code execution and then setting a exist dependency to an asset labled myasset.
<render:overridedeps asset="myasset"/>This example demonstrates the clearing of all the dependencies that have been logged to this point in the code execution and then sets an the dependency to unknowndeps.
<render:overridedeps deptype="unknowndeps"/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.