Portlet Factory, Version 6.1.2


 

Print Page Contents builder inputs

This topic describes the inputs for the Print Page Contents builder.

Input Name Description
Name Name for this builder call. The WebSphere Portlet Factory Designer displays this name in the builder call list.
Contents to Print

Source Page Use the Source Page input to specify the page or pages on which this builder call will act.
Source Element Use the Source Element input to specify the location on the source page that needs to be printed.
Display Control

Add Print Button/Link Select they type of page control to use to initiate printing. You can choose:

Image Button

To use an image to represent/initiate the print operation.

Button

To use a standard button to represent/initiate the print operation.

Link

To use a link to represent/initiate the print operation.

None

To create a custom print implementation. For example, this option might be selected to allow you to use a feature of another builder that this builder does not provide, such as the alternate images for hover and pressed that the Image Button builder provides.
Print Button/Link Location Use the Page Location input to specify the location on the page where the print control will be placed.
Print Button/Link label Enter the text string to be used a the print button or link label.

For example: "Print Page Content"

Image File Available when Image Button is selected above.

Path to the print icon/image to be used to initiate printing.

Alt Image Text Available when Image Button is selected above.

Specify the Alt (alternative) text, which specify a textual replacement for the image, to be displayed or otherwise used in place of the image.

Popup Window Properties

Auto Close Popup Window Enable this check box to close the pop-up window when printing is complete.

Disable this box to allow window to remain open until closed by user. (You might want to do this while developing and debugging your application, portlet, or widget.)

Disable Buttons/Links Enable this check box to disable use of buttons/links in the browser pop-up window that the print is executed from.

Typically you need to disable links/buttons so that the user does not have two usable browser windows open on the same application. The pop-up window is intended only for printing.

Popup Height Enter the height (in pixels) of the pop-up window.
Popup Width Enter the width (in pixels) of the pop-up window.
Advanced

Generated JavaScriptâ„¢ Function This is the name of the generated JavaScript function that creates the pop-up window and executes the print job.

This name is shown to allow you to use another builder call (such as your own Button, Link or Image Button builder call) to invoke the JavaScript created by this builder call.

You can copy this value from this builder after clicking Apply/OK in this builder call, and paste it into another builder call (such as Button) in the Script area of that control builder call.

Parent topic: Print Page Contents builder


Library | Support |