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

NAME

CallBackery::GuiPlugin::AbstractAction - action form base class

SYNOPSIS

 use Mojo::Base 'CallBackery::GuiPlugin::AbstractAction';

DESCRIPTION

The base class for gui forms with actions.

ATTRIBUTES

The attributes of the CallBackery::GuiPlugin::Abstract class plus:

screenCfg

Returns a configuration structure for the form. The output from this method is fed to the callbackery.ui.form.Auto object to build the Qooxdoo form.

screenOpts

Returns a hash of options for the screen Options

actionCfg

Returns a list of action buttons to place at the top of the form.

actionCfgMap

Lookup table for action plugins.

NOTE: Unique keys are not checked for popup plugins as they don't have action handlers. This allows multiple popup actions using the same plugin instance. In this case an additional cfg parameter testingIdPostfix must be used to make the QoxdooObjectIds unique used from frontend testing.

METHODS

All the methods of CallBackery::GuiPlugin::Abstract plus:

massageConfig

Function to integrate the plugin configuration recursively into the main config hash.

__fixActionCfg

make sure actionCfg buttons only have keys and no names add properly constructed name properties

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

COPYRIGHT

Copyright (c) 2013 by OETIKER+PARTNER AG. All rights reserved.

AUTHOR

Tobias Oetiker <tobi@oetiker.ch>

HISTORY

 2013-12-16 to 1.0 first version