<af:commandButton text="Show Printable Page"..> <af:showPrintablePageBehavior/> </af:commandButton>
When you use Show Printable Page Behavior with Panel Accordion or Panel Splitter, be sure to place the Command Button (with its nested Show Printable Page Behavior tag) in the pane or facet that contains the contents to be printed.
In the example, by placing the Command Button (with its nested Show Printable Page Behavior) within a facet of Panel Stretch Layout, this ensures that only the contents of the center pane will be printable.
When the command button is activated, a request is sent to the server to get a printable page; the action event, which is typically fired when a command component is activated, is not sent. ADF Faces displays the printable version of the page in a new browser window or in a new tab in the browser window.
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,