/[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 227 by dpavlin, Mon Dec 5 19:15:01 2005 UTC revision 228 by dpavlin, Mon Dec 5 23:15:43 2005 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          SubRequest
17            Static::Simple
18  /;  /;
19  #       FormValidator  #       FormValidator
20    
# Line 67  sub end : Private { Line 67  sub end : Private {
67    
68      $c->stash->{webpacus_version} = $VERSION;      $c->stash->{webpacus_version} = $VERSION;
69    
70      # Forward to View unless response body is already defined      if ($c->response->body) {
71      $c->forward('View::TT') unless $c->response->body;          $c->log->debug("at end body exists, we won't touch it!");
72        } else {
73      $c->fillform; # defaults to $c->req->parameters          $c->fillform( $c->req->parameters );
74    
75      $c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs;          # Forward to View unless response body is already defined
76  #    $c->log->debug( $c->response->body );          $c->forward('View::TT');
77    
78            $c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs;
79    #       $c->log->debug( $c->response->body );
80        }
81    
82  }  }
83    

Legend:
Removed from v.227  
changed lines
  Added in v.228

  ViewVC Help
Powered by ViewVC 1.1.26