# HG changeset patch # User wizard # Date 1277332740 -14400 # Node ID 5b849974bed8515d82d1301c86fd41304bf4a024 # Parent 44977efed303aee33aa474d6bf60ec6e55ce86fe Added an URL support inside the templates diff -r 44977efed303 -r 5b849974bed8 Lib/IMPL/Web/TT/Document.pm --- 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;