| HTML-FormFu-ExtJS documentation | Contained in the HTML-FormFu-ExtJS distribution. |
HTML::FormFu::ExtJS::Element::File
version 0.090
File upload element.
HTML::FormFu::ExtJS::Element::File - File upload element
Copyright 2008 Moritz Onken, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Moritz Onken <onken@netcubed.de>
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
| HTML-FormFu-ExtJS documentation | Contained in the HTML-FormFu-ExtJS distribution. |
# # This file is part of HTML-FormFu-ExtJS # # This software is Copyright (c) 2011 by Moritz Onken. # # This is free software, licensed under: # # The (three-clause) BSD License # package HTML::FormFu::ExtJS::Element::File; BEGIN { $HTML::FormFu::ExtJS::Element::File::VERSION = '0.090'; } use base "HTML::FormFu::ExtJS::Element::Text"; use strict; use warnings; use utf8; sub render { my $class = shift; my $self = shift; my $super = $class->SUPER::render($self); $self->form->attrs->{fileUpload} = \1; return { %{$super}, inputType => "file", value => undef }; } 1; __END__