My Oracle Support Banner

Call A Jsp Element In CheckDelete.xml Does Not Work (Doc ID 2292195.1)

Last updated on FEBRUARY 12, 2018

Applies to:

Oracle WebCenter Sites - Version and later
Information in this document applies to any platform.


For customizing OpenMarket/Xcelerate/AssetType/Page/CheckDelete.xml element to check if some related assets are used somewhere before deleting a page, following code snippet was added.

On deleting the the page , following error messages are seen in logs
[ERROR] [oracle.wcsites.jsp] Failure executing JSPCustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion Exception calling include: page:/jsp/cs_deployed/CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion.jsp[[
java.lang.Exception tossed:include() called on an instance of FakeIRequest
[ERROR] [oracle.wcsites] Unable to evaluate element CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion
[ERROR] [oracle.wcsites.xml] Failed to run template:CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckDelete
[ERROR] [oracle.wcsites] Unable to evaluate element CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckDelete
[ERROR] [oracle.wcsites.cs] Page:1446394984048 - null Errno :-12

Is it possible to call JSP element from CheckDelete.xml ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.