--- Webpacus/lib/Webpacus.pm 2005/11/22 12:57:15 93 +++ Webpacus/lib/Webpacus.pm 2005/12/03 01:56:37 205 @@ -12,18 +12,18 @@ use Catalyst qw/-Debug Static::Simple Prototype - Unicode::Encoding Config::YAML + FillInForm /; +# FormValidator -our $VERSION = '0.01'; +our $VERSION = '0.13-dev'; # # Configure the application # __PACKAGE__->config( name => 'Webpacus', - encoding => 'ISO-8859-2', config_file => 'config.yml', ); @@ -64,15 +64,23 @@ sub end : Private { my ( $self, $c ) = @_; + $c->stash->{webpacus_version} = $VERSION; + # Forward to View unless response body is already defined $c->forward('View::TT') unless $c->response->body; + + $c->fillform; # defaults to $c->req->parameters + +# $c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs; +# $c->log->debug( $c->response->body ); + } =back =head1 AUTHOR -Dobrica Pavlinusic,,, +Dobrica Pavlinusic, C<< >> =head1 LICENSE