Which two components allow you to divide your page into…

Which two components allow you to divide your page into two sections, where one section can be collapsed
and expanded by the user, without the need to code logic in a backing bean? (Choose two.)

Which two components allow you to divide your page into two sections, where one section can be collapsed
and expanded by the user, without the need to code logic in a backing bean? (Choose two.)

A.
af:panelBorderLayout

B.
af:panelSplitter

C.
af:stretchLayout

D.
af:panelDrawer

E.
af:panelTabbed

Explanation:
A: The panelBorderLayout component is a layout element which lays out all of its children consecutively in its
middle, and supports twelve other facets: top, bottom, left, right, start and end. Clients should use only one of
left/right or start/end for each side, in any one container, but if both are used, left/right “wins”. Left, InnerLeft/
Right InnerRight always means left/right regardless of LTR or RTL. Start, InnerStart/End, InnerEnd will respect
bidi setting.
B: PanelSplitters are used to divide a region into two parts with a repositionable divider. The two parts are
identified as the “first” facet and the “second” facet. If the contained component supports it, the contents of a
section will stretch to fill up all available space in that section. The panel splitter can be adjusted with the
mouse, by pressing a collapse button, or by use of the arrow keys when the splitter is selected.
Incorrect Answres:
C: The panelStretchLayout component stretches the child in the center facet to fill all of available space. The
available space may be constrained by the presence of other children in the top/bottom/start/end facets.
D: The panelDrawer control can be used to display a group of showDetailItems. Drawer “handles”, aka tabs,
represent the showDetailItem children. Selecting a tab/handle opens the drawer and displays the associated
showDetailItem.
E: The panelTabbed control can be used to display a group of contents that belongs to a showDetailItem. Tab
bar(s) with tabs representing the showDetailItem children are displayed. Selecting a tab, displays the
associated showDetailItem.
http://docs.oracle.com/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_panelSplitter.html
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelBorderLayout.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *