The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

CatalystX::Usul::Controller::Admin::Config - Editor for config files

Version

0.6.$Revision: 1165 $

Synopsis

   package MyApp::Controller::Admin;

   use base qw(CatalystX::Usul::Controller::Admin);

   __PACKAGE__->build_subcontrollers;

Description

CRUD methods for the configuration files

Subroutines/Methods

config_base

Stash some parameters used by all the other actions which chain off this one

configuration

Redirects to default configuration page

buttons_delete

Called in response to the Delete button on the "buttons_view" page being pressed, this method deletes the currently selected button definition

buttons_save

Called in response to the Insert or Save buttons on the "buttons_view" page being pressed, this method either updates the currently selected button definition or inserts a new one

buttons_view

Displays the button defintion form. Button defintions define the help, prompt and error text associated with a form submission image button

credentials

Displays the credential defintion form. Credentials contain the data used to connect to a database

credentials_delete

Called in response to the Delete button on the "credentials" page being pressed, this method deletes the currently selected credential definition

credentials_save

Called in response to the Insert or Save buttons on the "credential" page being pressed, this method either updates the currently selected credentials or inserts a new one

fields_delete

Called in response to the Delete button on the "fields_view" page being pressed, this method deletes the currently selected fields definition

fields_save

Called in response to the Insert or Save buttons on the "fields_view" page being pressed, this method either updates the currently selected fields definition or inserts a new one

fields_view

Displays the fields defintion form. Field defintions define the attributes passed to the HTML::FormWidgets class that is used by the view to create user interface widgets

globals

Displays the globals attributes form. Global attributes are loaded into the "top level" of the stash

globals_save

Called in response to the Save buttons on the "globals" page being pressed

keys_delete

Called in response to the Delete button on the "keys_view" page being pressed, this method deletes the currently selected keys definition

keys_save

Called in response to the Insert or Save buttons on the "keys_view" page being pressed, this method either updates the currently selected keys definition or inserts a new one

keys_view

Displays the keys defintion form. Keys defintions define the attributes that CatalystX::Usul::PersistentState uses

messages_delete

Called in response to the Delete button on the "messages_view" page being pressed, this method deletes the currently selected message definition

messages_save

Called in response to the Insert or Save buttons on the "messages_view" page being pressed, this method either updates the currently selected message definition or inserts a new one

messages_view

Displays the message definition form. Messages are language dependent and are used to localize output

templates_delete

Called in response to the Delete button on the "templates_view" page being pressed, this method deletes the currently selected template file

templates_save

Called in response to the Insert or Save buttons on the "templates_view" page being pressed, this method either updates the currently selected template or creates a new one

templates_view

Displays the template form. Templates define the contents of a page

Diagnostics

None

Configuration and Environment

None

Dependencies

CatalystX::Usul::Controller

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2008 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE