NAME
Hyper::Application::Default - Default Application Class for Hyper
VERSION
This document describes Hyper::Application::Default 0.01
SYNOPSIS
use Hyper::Application::Default;
Hyper::Application::Default->new();
DESCRIPTION
Default Application for Hyper Workflows with HTML header.
ATTRIBUTES
SUBROUTINES/METHODS
START
use Hyper::Application::Default;
Hyper::Application::Default->new();
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.
_output_header :PROTECTED
$self->_output_header();
Output CGI headers (cache-control, type).
work
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.
Output template with
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
_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
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
Use Hyper::Singleton::Context for your configuration.
Sample for your Context.ini
[Hyper::Application::Default]
template=index.htc
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
RCS INFORMATIONS
AUTHOR
Andreas Specht <ACID@cpan.org>
LICENSE AND COPYRIGHT
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.