/[webpac2]/Webpacus/lib/Webpacus.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 83 by dpavlin, Mon Nov 21 17:46:27 2005 UTC revision 205 by dpavlin, Sat Dec 3 01:56:37 2005 UTC
# Line 9  use warnings; Line 9  use warnings;
9  #         -Debug: activates the debug mode for very useful log messages  #         -Debug: activates the debug mode for very useful log messages
10  # Static::Simple: will serve static files from the applications root directory  # Static::Simple: will serve static files from the applications root directory
11  #  #
12  use Catalyst qw/-Debug Static::Simple Prototype Unicode::Encoding/;  use Catalyst qw/-Debug
13            Static::Simple
14            Prototype
15            Config::YAML
16            FillInForm
17    /;
18    #       FormValidator
19    
20  our $VERSION = '0.01';  our $VERSION = '0.13-dev';
21    
22  #  #
23  # Configure the application  # Configure the application
24  #  #
25  __PACKAGE__->config( name => 'Webpacus', encoding => 'ISO-8859-2' );  __PACKAGE__->config(
26            name => 'Webpacus',
27            config_file => 'config.yml',
28    );
29    
30  #  #
31  # Start the application  # Start the application
# Line 55  sub default : Private { Line 64  sub default : Private {
64  sub end : Private {  sub end : Private {
65      my ( $self, $c ) = @_;      my ( $self, $c ) = @_;
66    
67        $c->stash->{webpacus_version} = $VERSION;
68    
69      # Forward to View unless response body is already defined      # Forward to View unless response body is already defined
70      $c->forward('View::TT') unless $c->response->body;      $c->forward('View::TT') unless $c->response->body;
71    
72        $c->fillform; # defaults to $c->req->parameters
73    
74    #    $c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs;
75    #    $c->log->debug( $c->response->body );
76    
77  }  }
78    
79  =back  =back
80    
81  =head1 AUTHOR  =head1 AUTHOR
82    
83  Dobrica Pavlinusic,,,  Dobrica Pavlinusic, C<< <dpavlin@rot13.org> >>
84    
85  =head1 LICENSE  =head1 LICENSE
86    

Legend:
Removed from v.83  
changed lines
  Added in v.205

  ViewVC Help
Powered by ViewVC 1.1.26