diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-09-29 20:40:12 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2007-09-29 20:40:12 +0000 |
commit | 6ab43711ccd779eedce107001b300043e2056a0c (patch) | |
tree | edb162ef7eaaf0aeda8a3e8fac49e4d07a637df8 /lib/Reaction/UI/ViewPort/Field/File.pm | |
parent | ff460bc0b2bc0dc060f45cc8ac9e85d275fabcd0 (diff) | |
download | reaction-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/ViewPort/Field/File.pm')
-rw-r--r-- | lib/Reaction/UI/ViewPort/Field/File.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Reaction/UI/ViewPort/Field/File.pm b/lib/Reaction/UI/ViewPort/Field/File.pm index 557826d..a1d181c 100644 --- a/lib/Reaction/UI/ViewPort/Field/File.pm +++ b/lib/Reaction/UI/ViewPort/Field/File.pm @@ -6,9 +6,9 @@ use Reaction::Types::File; class File is 'Reaction::UI::ViewPort::Field', which { has '+value' => (isa => 'File', required => 0); - - has '+layout' => (default => 'file'); - + + #has '+layout' => (default => 'file'); + override apply_our_events => sub { my ($self, $ctx, $events) = @_; my $value_key = join(':', $self->location, 'value'); |