changeset 135:5b849974bed8

Added an URL support inside the templates
author wizard
date Thu, 24 Jun 2010 02:39:00 +0400
parents 44977efed303
children f6af119ac741
files Lib/IMPL/Web/TT/Document.pm
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Document.pm	Mon Jun 21 02:39:53 2010 +0400
+++ b/Lib/IMPL/Web/TT/Document.pm	Thu Jun 24 02:39:00 2010 +0400
@@ -5,6 +5,7 @@
 use base qw(IMPL::DOM::Document IMPL::Object::Disposable);
 use Template::Context;
 use Template::Provider;
+use Template::Plugin::URL;
 use IMPL::Class::Property;
 use File::Spec;
 use Scalar::Util qw(blessed);
@@ -12,6 +13,8 @@
 use IMPL::Web::TT::Control;
 use Carp;
 
+$Template::Plugin::URL::JOINT = '&';
+
 BEGIN {
     private property _provider => prop_all;
     private property _context => prop_all;