PT_PAGE_UTILS Application Package

The fluid page utilities classes of the PT_PAGE_UTILS application package provide tools to manage certain aspects of your fluid applications:

  • PT_PAGE_UTILS:Banner —

    Use the PT_PAGE_UTILS:Banner class to control items in the fluid banner including the title as well as visibility of some of the items that appear in the Actions menu.

    Many methods of this class are ignored and have no effect if the component is rendered in a context that does not allow access to the fluid banner and Actions menu such as in an activity guide, in a master/detail component, or in a modal window.

  • PT_PAGE_UTILS:PanelController —

    Use the PT_PAGE_UTILS:PanelController class to inquire on and update the modes and visibility of the Side Page 1 (left panel) and Side Page 2 (right panel). Because this class spawns Panel objects for each side panel, you do not need to instantiate Panel objects directly.

    The system determines the initial characteristics of each panel based on the configuration of the component, activity guide instance, or master/detail instance. The system also maintains the panels’ runtime characteristics. The panel state is not maintained within the PanelController object (or any Panel objects it spawns). Therefore, you must ensure that any changes are updated back to the server to effect an actual change either by directly invoking the UpdatePanel method or indirectly by invoking the Initialize method with auto-update set to true.

  • PT_PAGE_UTILS:Utils —

    The PT_PAGE_UTILS:Utils class provides general utility methods for working with viewport settings, displaying confirmation messages in the banner, and working with toggle buttons.

    Important:

    To be rendered correctly across all device types, each fluid application should set the viewport. The PeopleCode API Reference: SetDefaultViewport method: Utils class method is the recommended way to do this.