Jess Robinson > HTML-Widget-1.05 > HTML::Widget::Container

Download:
HTML-Widget-1.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  3
View/Report Bugs
Source   Latest Release: HTML-Widget-1.11

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.

syntax highlighting: