| Reaction documentation | view source | Contained in the Reaction distribution. |
Reaction::UI::View - Render the UI.
package MyApp::View::TT;
use base 'Reaction::UI::View::TT';
__PACKAGE__->config(
skin_name => 'MyApp',
);
## In the Window class:
$res->body($self->view->render_window($self));
Render the viewports in the current window using the chosen skin and layoutset, via the matching widgets.
See also:
The application Catalyst class. This is set at COMPONENT in Catalyst time for you.
The name of the skin to use to render the pages. This should be the
name of a subdirectory under the share/skin in your application
directory. The default skin name is default, the default skin is
provided with Reaction.
See also: Reaction::UI::Skin
A Reaction::UI::Skin object based on the skin_name. It will be created for you if not provided.
The class of the Reaction::UI::LayoutSet used to layout the
view. Defaults to searching down the precedence tree of the View class
looking for a class of the same name with View replaced with
LayoutSet.
The class of the Reaction::UI::RenderingContext used to layout the
view. Defaults to searching down the precedence tree of the View class
looking for a class of the same name with View replaced with
RenderingContext.
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | view source | Contained in the Reaction distribution. |