Jdeveloper version – 12.2.1.0.0
I want a to use a floating header footer page layout in ADF. I referred the blog Floating Footer page layout in ADF but I don't find the solution satisfactory. It also has a limitation that it uses the onLoad method. So this works only when page gets loaded. In my case navigation happens between pages and most of which happen via PPR, hence no page load occurs.
When content less than page, footer should be at bottom of the window and not move up to the place where the content ends

When the content ism ore then the window size then both header and footer should float and only once scroll bar at page level should appear

Is there any other way in which I can achieve this? Some style class or anything?
Note: Currently I'm using Panel Stretch Layout as the top most component in my application.