You are working on the design of Web pages for an application. One page requires that user can
collapse or restore panels of data. When a panel collapsed the panel contents are hidden: when
panel is restored, the contents are displayed.
Which two layout components would enable you to achieve this design?
A.
af:panelSplitter
B.
af:panelCollection
C.
af:panelTabbed
D.
af:decorativeBox
E.
af:panelAccordion
Explanation:
http://docs.oracle.com/cd/E12839_01/web.1111/b31973/af_orgpage.htm (table 8-1)
Correct Answers are: A E
PanelTabbed component doesn’t have any collapse and restore functionality
it’s C & E
Below link explains:
http://docs.oracle.com/cd/E12839_01/web.1111/b31973/af_orgpage.htm#ADFUI177
If you want users to be able to close (remove) tabs, then set TabRemoval. You can set it to allow all tabs to be removed, or all but the last tab. You must implement a handler to do the actual removal and configure the listeners for the associated showDetailItem components. You can override this on an individual showDetail Item component, so that an individual tab cannot be removed (a close icon does not display), or so that the closed icon is disabled. For more information, see Section 8.9.3, “How to Use the showDetailItem Component to Display Content in panelAccordion or panelTabbed Components.”
By default, the panelTabbed component stretches to fill available browser space. If instead, you want to use the panelTabbed component as a child to a component that does not stretch its children, then you need to change how the panelTabbed component handles stretching.
Why not A E, this functionality exists by default in these components, without any listeners ? !
it is C and E.