aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/LayoutSet
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-09-29 20:40:12 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2007-09-29 20:40:12 +0000
commit6ab43711ccd779eedce107001b300043e2056a0c (patch)
treeedb162ef7eaaf0aeda8a3e8fac49e4d07a637df8 /lib/Reaction/UI/LayoutSet
parentff460bc0b2bc0dc060f45cc8ac9e85d275fabcd0 (diff)
downloadreaction-6ab43711ccd779eedce107001b300043e2056a0c.tar.gz
reaction-6ab43711ccd779eedce107001b300043e2056a0c.zip
It is starting to look like this may actually work after all. Listview is the only one left i think, although the bar tests are still giving me trouble. TODO: add to the collection actions a truncate action. should be useful
Diffstat (limited to 'lib/Reaction/UI/LayoutSet')
-rw-r--r--lib/Reaction/UI/LayoutSet/TT.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Reaction/UI/LayoutSet/TT.pm b/lib/Reaction/UI/LayoutSet/TT.pm
index 72d3fad..02b3cde 100644
--- a/lib/Reaction/UI/LayoutSet/TT.pm
+++ b/lib/Reaction/UI/LayoutSet/TT.pm
@@ -23,6 +23,7 @@ class TT is LayoutSet, which {
|| confess "tt_object not provided to new()";
my $tt_args = { data => {} };
my $name = $self->name;
+ $name =~ s/\//__/g; #slashes are not happy here...
my $fragments = $self->fragments;
my $tt_source = qq{[% VIEW ${name};\n\n}.
join("\n\n",
@@ -39,6 +40,6 @@ class TT is LayoutSet, which {
return $tt_args->{data}{view};
};
-};
+};
1;