| HTML-FormFu-ExtJS documentation | Contained in the HTML-FormFu-ExtJS distribution. |
HTML::FormFu::Element::ExtJS::Panel
version 0.090
FormFu class for ExtJS panels.
HTML::FormFu::Element::ExtJS::Panel - FormFu class for ExtJS panels
The ExtJS specific stuff is in HTML::FormFu::ExtJS::Element::ExtJS::Panel
Mario Minati, mario.minati@googlemail.com
This library 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::Element::ExtJS::Panel; BEGIN { $HTML::FormFu::Element::ExtJS::Panel::VERSION = '0.090'; } use Moose; extends 'HTML::FormFu::Element::Block'; __PACKAGE__->mk_output_accessors( qw( title label ) ); has xtype => ( is => 'ro', default => 'panel' ); sub render_data_non_recursive { my ( $self, $args ) = @_; my $render = $self->next::method( { title => $self->title, label => $self->label, xtype => $self->xtype, $args ? %$args : (), } ); return $render; } # A special ExtJS Element, so no output in HTML forms sub string { my ( $self, $args ) = @_; warn "Stringification is not supported for " . __PACKAGE__; return ''; } sub tt { my ( $self, $args ) = @_; warn "Stringification is not supported for " . __PACKAGE__; return ''; } 1;
__END__