|Oracle Fusion Middleware Tag Reference for Oracle ADF Faces
11g Release 1 (18.104.22.168.0)
UIComponent class: oracle.adf.view.rich.component.rich.layout.RichPanelBox
Component type: oracle.adf.RichPanelBox
Unsupported agents: pda
The panelBox is used to place ancillary information on a page, offset by a certain color.
There are four possible attributes to set for the content container. The width of the container can be set to either an exact pixel size or a percentage of the element the content container is within. This is done by using the inlineStyle or styleClass attributes.
Content containers can have header text, icons and a toolbar facet. Set the text and icon attributes to gain these items. The toolbar is a facet that can contain any content within reason (remeber this is a header so don't stick a table in here and think it should look nice!). Most of the time you should be adding simple components like a link, command toolbar button, etc. It is highliy recommended that you use a toolbox with a single toolbar with your specific components inside the toolbar. Doing so allows you to take adavantage of the gemetry management inside the toolbar and toolbox and gives you automatic access to the overflow capability. If you do not set header text or icon or toolbar facet then the header portion will not rendert. The content container will only display its children. If you only declare a single one of these (header text or icon or toolbar facet) a header but no the header will show and the content will be offset to line up with the start of the header. If an icon is set, the icon will appear to the left of the header, but the content will still be offset to the left of the header. In addition if you define a toolbar facet then this will always be right aligned to the end of the header If an icon is set but no header text, the icon will still be displayed on the left but no header text will be visible. If a toolbar facet then this content will be right aligned to the end of the header. NOTE: Anytime the toolbar facet is defined the alignment attribute is ignored. This means setting this value will have no effect.
Content containers can have various color schemes, which can be specified by setting a combination of the ramp and background attributes. The values for the background attribute are default, light, medium, and dark. The default is default. There are two distinct color schemes controlled by the ramp attribute. The value for ramp can be core or highlight with core as the default Please note that changing the background attribute may also change the appearance of the title bar.
You can make changes to the style of the content region of this component by adding your custom styles to the contentStyle attribute.
Content containers will generally have only one child with the actual contents as its children. This child will describe how the content should be displayed. However, the content container can have multiple children, but please note that it does not layout these children in any way.
<af:panelBox text="Header" background="light" contentStyle="background:blue;" icon="/images/info.png" inlineStyle = "width: 25%;" > <af:panelGroupLayout layout="vertical"> <af:goLink text="point 1" destination="http://www.oracle.com"/> <af:goLink text="point 2" destination="http://www.oracle.com"/> <af:goLink text="point 3" destination="http://www.oracle.com"/> <af:goLink text="point 4" destination="http://www.oracle.com"/> <af:goLink text="point 5" destination="http://www.oracle.com"/> </af:panelGroupLayout> </af:panelBox>
|org.apache.myfaces.trinidad.event.DisclosureEvent||Apply Request Values,
|The disclosure event is delivered when a node is disclosed.|
Apply Request Values
|Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.|
|toolbar||Header location for toolbar content.|
|attributeChangeListener||javax.el.MethodExpression||Only EL||a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.|
|background||String||Yes||Valid Values: light, medium, dark, default
the appearance type of the content container. It should be one of "light", "medium", "dark", or "default"
|binding||oracle.adf.view.rich.component.rich.layout.RichPanelBox||Only EL||an EL reference that will store the component instance on a bean. This can be used to give programmatic access to a component from a backing bean, or to move creation of the component to a backing bean.|
|contentDelivery||String||Yes||Valid Values: immediate, lazyUncached
whether the undisclosed content is delivered with the initial page. When contentDelivery is "immediate", the content is inlined into the initial page. If contentDelivery is "lazy", the content will be delivered to the client only after the first request to disclose the component. If contentDelivery is "lazyUncached", the content will be delivered each and every time the component's disclosure changes. By default, contentDelivery is lazyUncached.
|contentStyle||String||Yes||the inline style of the content region.|
|customizationId||String||Yes||This attribute is deprecated. The 'id' attribute should be used when applying persistent customizations. This attribute will be removed in the next release.|
|disclosed||boolean||Yes||whether the children are currently disclosed|
|disclosureListener||javax.el.MethodExpression||Only EL||a method reference to a disclosure listener|
|dontPersist||String||Yes||a list of attributes whose changes are NOT to be persisted by FilteredPersistenceChangeManager via the "Persistent Change Manager" registered in adf-config.xml. The token 'ALL' can be used in the list here to indicate that all attribute changes that the component implicitly persists should be excluded. If there is a conflict of values, "dontPersist" always precedes "persist".|
|helpTopicId||String||Yes||the id used to look up a topic in a helpProvider.|
|icon||String||Yes||the URI of an image to be displayed in the panelBox header. This attribute supports these various types of URIs:
|id||String||No||the identifier for the component. The identifier must follow a subset of the syntax allowed in HTML:
|immediate||boolean||Yes||whether data validation - client-side or server-side - should be skipped when events are generated by this component. When immediate is false (the default), the disclosure event will be delivered during the Invoke Application phase, which will trigger validation. When set to true, the disclosure event will be executed during the Apply Request Values phase.|
|inlineStyle||String||Yes||the CSS styles to use for this component. This is intended for basic style changes. The inlineStyle is a set of CSS styles that are applied to the root DOM element of the component. If the inlineStyle's CSS properties do not affect the DOM element you want affected, then you will have to create a skin and use the skinning keys which are meant to target particular DOM elements, like ::label or ::icon-style.|
|maximizeListener||javax.el.MethodExpression||Only EL||a method reference to a maximize listener|
|maximized||boolean||Yes||whether the children are currently maximized|
|partialTriggers||String||Yes||the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Identifiers are relative to the source component (this component), and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root of the page, or multiple colons to move up through the NamingContainers - "::" will pop out of the component's naming container (or itself if the component is a naming container) and begin the search from there, ":::" will pop out of two naming containers (including itself if the component is a naming container) and begin the search from there, etc.|
|persist||String||Yes||a list of attributes whose changes are to be persisted by FilteredPersistenceChangeManager via the "Persistent Change Manager" registered in adf-config.xml. The token 'ALL' can be used in the list here to indicate that all attribute changes that the component implicitly persists should be included.|
|ramp||String||Yes||Valid Values: core, highlight
the appearance type of the content container. It should be either "core" or "highlight"
|rendered||boolean||Yes||whether the component is rendered. When set to false, no output will be delivered for this component (the component will not in any way be rendered, and cannot be made visible on the client). If you want to change a component's rendered attribute from false to true using PPR, set the partialTrigger attribute of its parent component so the parent refreshes and in turn will render this component.|
|shortDesc||String||Yes||the short description of the component. This text is commonly used by user agents to display tooltip help text, in which case the behavior for the tooltip is controlled by the user agent, e.g. Firefox 2 truncates long tooltips. For form components, the shortDesc is displayed in a note window. For components that support the helpTopicId attribute it is recommended that helpTopicId is used as it is more flexible and is more accessibility-compliant.|
|showDisclosure||boolean||Yes||Whether or not to render the disclosure icon. If this is set to false all other attributes that deal with disclosure are ignored.|
|showHeader||String||Yes||Valid Values: never, ifNeeded, always
the display strategy for the panelBox's header. It should be either "never", "ifNeeded", or "always". No header will be shown if the value is "never". If the value is "always", the header will always be shown. This value is useful when the panelBox has a drag source attached or when you want the user to have access to the disclosure control. If the value is "ifNeeded", the header will only be shown if the "icon" or "text" properties are set, if the "toolbar" facet is populated, or if the panelBox has a drag source attached. The default is "ifNeeded" for backwards compatibility
|showMaximize||String||Yes||Valid Values: never, auto, always
Whether to display the maximize control to allow this component to be maximized. The default value,
|styleClass||String||Yes||a CSS style class to use for this component. The style class can be defined in your jspx page or in a skinning CSS file, for example, or you can use one of our public style classes, like 'AFInstructionText'.|
|text||String||Yes||the header text of the panelBox.|
|titleHalign||String||Yes||Valid Values: start, end, center, left, right
the alignment of the text and icon within the title bar. Supported values are:
|type||String||Yes||Valid Values: default, flow, stretch
how the panelBox will handle geometry management. Options are:
|unsecure||java.util.Set||Yes||A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. Currently, this is supported only for the "disabled" attribute.|
|visible||boolean||Yes||the visibility of the component. If it is "false", the component will be hidden on the client. Unlike "rendered", this does not affect the lifecycle on the server - the component may have its bindings executed, etc. - and the visibility of the component can be toggled on and off on the client, or toggled with PPR. When "rendered" is false, the component will not in any way be rendered, and cannot be made visible on the client. In most cases, use the "rendered" property instead of the "visible" property.
Not supported on the following renderkits: org.apache.myfaces.trinidad.core