GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Reaction::UI::Widget::Action(3) User Contributed Perl Documentation Reaction::UI::Widget::Action(3)

Reaction::UI::Widget::Action

This is a subclass of Reaction::UI::Widget::Object::Mutable.

Additionally provides the "method" argument containing the value of the viewport's "method".

Empty if the viewport's "has_message" returns false. Otherwise sets the "message_string" argument to the viewport's "message" and renders the "message_layout" fragment.

Same as the "message" fragment above except that it checks "has_error_message", sets "message_string" to the viewport's "error_message" and renders "error_message_layout".

Renders nothing unless the viewport accepts the "ok" event.

If it does, it provides the following arguments before rendering "ok_button":

event_id
Is set to the event id "ok".
label
Is set to the localized "ok_label" of the viewport.

Renders nothing unless the viewport accepts the "apply" event.

If it does, it provides the following arguments before rendering "apply_button":

event_id
Is set to the event id "apply".
label
Is set to the localized "apply_label" of the viewport.

Renders nothing unless the viewport accepts the "close" event.

If it does, it provides the following arguments before rendering "cancel_button":

event_id
Is set to the event id "close".
label
Is set to the localized "close_label" of the viewport.

  share/skin/base/layout/action.tt

The following layouts are provided:

widget
Renders a "div" element containing a "form". The "form" element contains the rendered "header", "container_list", "buttons" and "footer" fragments.
header
Renders the error message.
container_list
Simply renders the parent "container_list".
container
Simply renders the parent "container".
buttons
First renders the "message" fragment, then the "ok_button_fragment", the "apply_button_fragment" and the "cancel_button_fragment".
message_layout
Renders the "message_string" argument in a "span" element with an "action_message" class.
error_message_layout
Renders the "message_string" argument in a "span" element with an "action_error_message" class.
standard_button
Renders a submit button in a "span" with the "name" set to the "event_id" argument, and the value set to the "label" argument.
ok_button
Renders the "standard_button" fragment.
apply_button
Renders the "standard_button" fragment.
cancel_button
Renders the "standard_button" fragment.
footer
Empty by default.

  share/skin/base/layout/action.tt

Extends the layout set of the same name in the parent skin.

The following layouts are provided:

container
Adds a "br" element after the original "container" fragment.
message_layout
Adds a "br" element after the original "message_layout" fragment.

Reaction::UI::Widget::Object::Mutable

See Reaction::Class for authors.

See Reaction::Class for the license.
2010-10-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.