—#
# 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
#
BEGIN {
$HTML::FormFu::ExtJS::Element::Fieldset::VERSION
=
'0.090'
;
}
use
strict;
use
warnings;
use
utf8;
xml_escape
)
;
sub
render {
my
$class
=
shift
;
my
$self
=
shift
;
my
$title
=
$self
->legend;
my
$parent
=
$self
->can(
"_get_attributes"
) ?
$self
:
$self
->form;
return
{
items
=>
$self
->form->_render_items(
$self
),
$title
? (
title
=> xml_escape(
$title
)) : (),
autoHeight
=> 1,
xtype
=>
"fieldset"
,
nestedName
=>
$self
->nested_name,
$parent
->_get_attributes(
$self
)
};
}
1;
__END__
=pod
=head1 NAME
HTML::FormFu::ExtJS::Element::Fieldset
=head1 VERSION
version 0.090
=head1 AUTHOR
Moritz Onken <onken@netcubed.de>
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Moritz Onken.
This is free software, licensed under:
The (three-clause) BSD License
=cut