| Reaction documentation | Contained in the Reaction distribution. |
Reaction::UI::Widget::Action::Link - A hyperlink representing an object mutation
The following additional arguments are provided:
The viewport's uri.
The localised value of the viewport's label.
share/skin/base/layout/action/link.tt
The following layouts are provided:
Renders a hyperlink with a href attribute set to the uri argument and
the content set to the label argument.
share/skin/default/layout/action/link.tt
This layout set extends the NEXT layout set with the same name in the parent
skin.
The following layouts are provided:
Renders a br element after the original widget fragment.
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | Contained in the Reaction distribution. |
package Reaction::UI::Widget::Action::Link; use Reaction::UI::WidgetClass; #I want to change this at some point. use namespace::clean -except => [ qw(meta) ]; before fragment widget { arg uri => $_{viewport}->uri; arg label => localized $_{viewport}->label; }; __PACKAGE__->meta->make_immutable; 1; __END__;