Show Detail Item cannot be used on its own; it must be used inside of a Panel Accordion or a Panel Tabbed to contain a group of children contents.
One or more Show Detail Item components can be used inside of Panel Accordion or Panel Tabbed. Each Show Detail Item will correspond to one accordion pane or one tabbed pane. One or more child components inside of Show Detail Item then make up the accordion pane or tabbed pane contents. For example:
<af:panelAccordion discloseMany="true"> <af:showDetailItem text="Pane 1" ..> <af:outputText value="Pane contents here"/> </af:showDetailItem> ... </af:panelAccordion>
Panel Tabbed and Panel Accordion can be stretched by their parent stretching layout component, but they do not stretch their children contents automatically. A Show Detail Item component will allow stretching, as long as the following conditions are met:
Examples of components that cannot be stretched inside Show Detail Item include:
Examples of components that can be stretched inside Show Detail Item include:
If you do not want a child inside of Show Detail Item to be stretched, first wrap the child in a layout component that can be stretched but does not stretch its children, for example, a Panel Group Layout with
DiscloseMany attribute of Panel Accordion determines whether more than one pane (Show Detail Item) can be disclosed (open) at a time. By default,
false, that is only one pane can be disclosed at a time. By setting
true, you are allowing end users to disclose multiple panes at a time.
The Flex attribute of Show Detail Item determines the flexibility of the component in the container Panel Accordion. When more than one Show Detail Item in the container has a Flex value greater than zero, the container uses the Flex values to determine how space is distributed among the disclosed pane contents. Show Detail Item components with larger values will be made larger then components with smaller values.
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,