NAME

HTML::Widget::Container - Container

SYNOPSIS

my $container  = $form->element('foo');

my $field = $container->field;
my $error = $container->error;

my $field_xml      = $container->field_xml;
my $error_xml      = $container->error_xml;
my $javascript_xml = $container->javascript_xml;

my $xml = $container->as_xml;

my $javascript = $container->javascript;

DESCRIPTION

Container.

METHODS

$self->as_xml

Returns xml.

$self->as_list

Returns a list of HTML::Element objects.

$self->element($element)

$self->field_xml

$self->element_xml

Returns xml for element.

$self->error($error)

$self->error_xml

Returns xml for error.

$self->javascript

$self->javascript_element

Returns javascript in a script HTML::Element.

$self->js_xml

$self->javascript_xml

Returns javascript in a script block.

AUTHOR

Sebastian Riedel, sri@oook.de

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.