Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF UI: Customizing the Oracle 3ColumnLayout Template re-sizes the rendering behavior of that facet

Sumit YadavApr 18 2015 — edited Apr 18 2015

@@@@@@@Hi ,

I am just extensing the Oracle Three Column Layout Template which comes out of box for my Application Menu page.

I wanted to have a scroll on the page re-sizing.

So I surrounded the center facet with a af:panelGroupLayout

Now i am encouterting an issue in term of page rendering . Depending on the number of rows returned in the adf table it renders the length of that facet.

It may be because we have added a scroll to the middle (which include Start , Centre and End facet).

Anything which does not fit into the specified region of the browser will bring a scroll which is fine.

But it should not makes the region small and show empty space in the pages

Please find some images for references.

Image below: Fig: 1

e1.png

Fig: 1

And when on a different page when data is returned, it displays nicely.

And when on re-sizing also bring a scroll.

Image below: Fig: 2

e2.png

Fig : 2

Template code: This is just a portion of the code. For code is just a replica of Oracle 3 column Layout Template.

| Header 1 |
|

<af:panelGroupLayout id="pt_pgl4" layout="scroll">

                            \<af:decorativeBox id="light" theme="medium" dimensionsFrom="auto" topHeight="50px">

                                \<f:facet name="center">

                                    \<af:panelSplitter id="lightSp" orientation="horizontal"

                                                      splitterPosition="#{attrs.startColumnSize}"

                                                      dimensionsFrom="auto">

                                        \<f:facet name="first">

                                            \<af:facetRef facetName="start"/>

                                        \</f:facet>

                                        \<f:facet name="second">

                                            \<af:panelSplitter id="midSp" orientation="horizontal"

                                                              splitterPosition="#{attrs.endColumnSize}"

                                                              positionedFromEnd="true" dimensionsFrom="auto">

                                                \<f:facet name="first">

                                                    \<af:decorativeBox id="default" theme="default"

                                                                      dimensionsFrom="auto">

                                                        \<f:facet name="center">

                                                            \<af:facetRef facetName="center"/>

                                                        \</f:facet>

                                                    \</af:decorativeBox>

                                                \</f:facet>

                                                \<f:facet name="second">

                                                    \<af:facetRef facetName="end"/>

                                                \</f:facet>

                                            \</af:panelSplitter>

                                        \</f:facet>

                                    \</af:panelSplitter>

                                \</f:facet>

                            \</af:decorativeBox>

                        \</af:panelGroupLayout>

|

How to always render the the whole of the region like shown in Fig : 2 along with the scroll Bar.

Irrespective of whether the table return or not returns any rows.

Please advise.

Thanks

SY

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2015
Added on Apr 18 2015
0 comments
388 views