ADF

ADF application layout messed up after migration to 12.2.1 … What might be the reason ?

Problem:

After migration of ADF application from 12.1.3 to 12.2.1 layout was messed up. In particular – component stretching was disordered.

Reason:

As ADF is going step by step to adaptive layouting, component stretching is optimized accordingly.
In version 11.1.1.7 new context parameter was introduced: oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS. It basically tells what dimensions for stretchable components should be applied by default. For example if you set dimensionsFrom=”children” to most top component in the hierarchy, all its children should inherit the same. But as a consequence, a legacy layout, which was organized with absence of this parameter can be disordered. In my case it happened that this parameter was forced in web.xml on migrattion to 12.2.1 and set by default to “auto”. Previously we were not able to modify it and it was “parent” by default.

Solution:

Modify oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS parameter to “not set” or “parent” or just remove it from web.xml:


Useful links: