Hyper::Application::Default - Default Application Class for Hyper
This document describes Hyper::Application::Default 0.01
use Hyper::Application::Default; Hyper::Application::Default->new();
Default Application for Hyper Workflows with HTML header.
Initialize the template attribute with a new Hyper::Template::HTC object. Use template from config or the template index.htc HTC Object is created with param loop_context_vars => 1.
$self->_output_header();
Output CGI headers (cache-control, type).
Output header.
Output template with
NAME VALUE ------------------------------------------------ service service from Hyper Singleton usecase usecase from Hyper Singleton header 1
Restore viewstate and start the workflow if the workflow is existant.
NAME VALUE ------------------------------------------------ service service from Hyper Singleton usecase usecase from Hyper Singleton header 0 footer 1 debug html from Hyper::Singleton::Debug hidden return from method _get_hidden_fields
my $hidden_ref = $self->_get_hidden_fields();
Returns a hashref with
NAME VALUE ------------------------------------------------ uuid uuid from Hyper Singleton viewstate return from method _get_viewstate
Use Hyper::Singleton::Context for your configuration.
Sample for your Context.ini
[Hyper::Application::Default] template=index.htc
version
Hyper::Application
Class::Std
Hyper
Hyper::Singleton::CGI
Hyper::Singleton::Context
Hyper::Singleton::Debug
Hyper::Template::HTC
$Author: ac0v $
$Id: Default.pm 317 2008-02-16 01:52:33Z ac0v $
$Revision: 317 $
$Date: 2008-02-16 02:52:33 +0100 (Sa, 16 Feb 2008) $
$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper/tags/0.05/lib/Hyper/Application/Default.pm $
Andreas Specht <ACID@cpan.org>
<ACID@cpan.org>
Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Hyper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hyper
CPAN shell
perl -MCPAN -e shell install Hyper
For more information on module installation, please visit the detailed CPAN module installation guide.