/[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 205 by dpavlin, Sat Dec 3 01:56:37 2005 UTC revision 357 by dpavlin, Sat Jan 7 23:43:38 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.13-dev';  our $VERSION = '0.30-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->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs;  #               $c->log->debug( $c->response->body );
83  #    $c->log->debug( $c->response->body );      }
84    
85  }  }
86    

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

  ViewVC Help
Powered by ViewVC 1.1.26