NAME
Reaction::UI::View - Render the UI.
SYNOPSIS
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));
DESCRIPTION
Render the viewports in the current window using the chosen skin and layoutset, via the matching widgets.
See also:
- Reaction::UI::Controller::Root =item Reaction::UI::ViewPort =item Reaction::UI::Window =item Reaction::UI::LayoutSet =item Reaction::UI::Widget
ATTRIBUTES
app
The application Catalyst class. This is set at "COMPONENT" in Catalyst time for you.
skin_name
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
skin
A Reaction::UI::Skin object based on the "skin_name". It will be created for you if not provided.
layout_set_class
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
.
rendering_context_class
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
.
METHODS
AUTHORS
See Reaction::Class for authors.
LICENSE
See Reaction::Class for the license.