My Oracle Support Banner

ADF Declarative Component Cannot be Added Programmatically to a Page at Runtime (Doc ID 2690271.1)

Last updated on NOVEMBER 02, 2021

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

In JSF (and ADF) an UIComponent can be programmatically added in a bean, for example

The new component is not created correctly, the components inside the declarative components are not instantiated/built.

The Declarative Component can be added at design time in the JSPX editor and will work correctly, but the option to include it at runtime fails.

Why does this fail, if a Declarative Component should inherit the behavior of an UIComponent and allow runtime instantiation?
 
 

Solution

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.