2.3. WebTool::UI::Std

2.3.1. NAME

WebTool::UI::Std - Guardian Digital WebTool user interface class for standard windows/pages.

2.3.2. SYNOPSIS

use WebTool::UI::Std;
my $page  = new WebTool::UI::Std;

2.3.3. DESCRIPTION

This module contains UI methods for handling standard windows/pages in the Guardian Digital WebTool. This module inherits from WebTool::UI and overloads/customizes keys API calls specific to standard windows.

This is the module that most of your code will use.

2.3.4. METHODS

draw()

This function basically makes a page by creating page top and bottoms.

Example usage:

my $page->draw();

make_page_top()

This function makes top layout of the page using html template(PAGE_TOP_TMPL) and sets template variables related to title, navigation, overlib, backlink.

Example usage:

my $page->make_page_top();

make_page_bottom()

This function makes bottom layout of the page using html template(PAGE_BOTTOM_TMPL).

Example usage:

my $page->make_page_bottom();

make_page_menu()

If Context menu is registered, then this function makes main menu of the webtool which contains services, system, wizards, auditing etc.

Example usage:

my $self->make_page_menu();

register_backlink($)

This function registers/sets backlink. It receives one optional argument(link) If argument is given than it sets that argument as backlink else it registers '/modules/index/' as backlink.

Example usage:

$page->register_backlink('index.cgi');

2.3.5. AUTHORS

Ryan W. Maple <ryan@guardiandigital.com>

2.3.6. COPYRIGHT AND LICENSE

Copyright Guardian Digital, Inc., All Rights Reserved