I have .jsff page that contain command button and inline frame. What I want to do is, I want to make command button remain static at the same place and only inline frame can move when scroll the page.
Currently what I do is I set some panel stretch layout(StyleClass:AFStetchWidth)
. I put the command button at the top. Inline frame in scroll panel group at the center.
Here is my structure:
af:panelStetchLayout(StyleClass:AFStretchWidth)
>
Panel Stretch Layout facets
bottom
center
af:panelGroupLayout-scroll
af:inlineFrame (StyleClass:AFStretchWidth)
end
start
top
af:panelGroupLayout-horizontal
af:commandButton-back
When I run this page: command button remain static at the top. This is correct, but the size of the inline frame is small. Is there a way to make an inline frame to be stretch?
Did you try putting this attribute :
sizing="preferred"
I have used it and it works pretty well inside panel stretch layout.
inlineStyle="height:100%;" on default af:panelGroupLayout thats all.
set the (StyleClass:AFStretchWidth) on the af:panelGroupLayout-scroll.
just i solve it as following:
I was getting the same issue. Here I have solved it as below:
I have used panel splitter for inline frame.
Here as shown above,
With this, It worked for me.