/[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 193 by dpavlin, Tue Nov 29 14:31:26 2005 UTC revision 348 by dpavlin, Sat Jan 7 17:34:16 2006 UTC
# Line 10  use warnings; Line 10  use warnings;
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  use Catalyst qw/-Debug
         Static::Simple  
13          Prototype          Prototype
14          Config::YAML          Config::YAML
15          FillInForm          FillInForm
16            SubRequest
17            Static::Simple
18            StackTrace
19  /;  /;
20  #       FormValidator  #       FormValidator
21    
22  our $VERSION = '0.09-dev';  our $VERSION = '0.29-dev';
23    
24  #  #
25  # Configure the application  # Configure the application
# Line 66  sub end : Private { Line 68  sub end : Private {
68    
69      $c->stash->{webpacus_version} = $VERSION;      $c->stash->{webpacus_version} = $VERSION;
70    
71      # Forward to View unless response body is already defined      if ($c->response->body) {
72      $c->forward('View::TT') unless $c->response->body;          $c->log->debug("at end body exists, we won't touch it!");
73        } else {
74                    $c->fillform( $c->req->params );
75    
76                    # Forward to View unless response body is already defined
77                    $c->forward('View::TT');
78    
79      $c->fillform; # defaults to $c->req->parameters                  $c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new WebPAC.Suggest(#gs;
80                    $c->response->{body} =~ s#\Qnew Ajax.Updater(\E#new WebPAC.Updater(#gs;
81    
82  #    $c->log->debug( $c->response->body );  #               $c->log->debug( $c->response->body );
83        }
84    
85  }  }
86    
# Line 79  sub end : Private { Line 88  sub end : Private {
88    
89  =head1 AUTHOR  =head1 AUTHOR
90    
91  Dobrica Pavlinusic,,,  Dobrica Pavlinusic, C<< <dpavlin@rot13.org> >>
92    
93  =head1 LICENSE  =head1 LICENSE
94    

Legend:
Removed from v.193  
changed lines
  Added in v.348

  ViewVC Help
Powered by ViewVC 1.1.26