WebTool::UI::Std - Guardian Digital WebTool user interface class for
standard windows/pages.
use WebTool::UI::Std;
my $page = new WebTool::UI::Std;
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.
- 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');
Ryan W. Maple <ryan@guardiandigital.com>
Copyright 2000-2007 Guardian Digital, Inc., All Rights Reserved