NAME
HTML::Prototype::Helper::Tag - Defines a tag object needed by HTML::Prototype
SYNOPSIS
use HTML::Prototype::Helper;
DESCRIPTION
Defines a tag object needed by HTML::Prototype
REMARKS
Until version 1.43, the internal function $self-_tag> used $tag-as_XML> as its return value. By now, it will use $tag-as_HTML( $entities )> to invokee HTML::Entities::encode_entities. This behaviour can be overridden by setting $HTML::Prototype::Helper::Tag::USE_ASXML_FOR_TAG to 1.
METHODS
- HTML::Prototype::Helper::Tag->new( $object_name, $method_name, $template_object, $local_binding, $object )
- $tag->object_name( [$object_name] )
- $tag->method_name( [$method_name] )
- $tag->template_object( [$template_object] )
- $tag->local_binding( [$local_binding] )
- $tag->object( [$object] )
- $tag->value( )
- $tag->value_before_type_cast( )
- $tag->to_input_field_tag( $field_type, \%options )
- $tag->to_content_tag( $tag_name, $value, \%options )
SEE ALSO
HTML::Prototype, http://prototype.conio.net/
AUTHOR
Sascha Kiefer, esskar@cpan.org
Built around Prototype by Sam Stephenson. Much code is ported from Ruby on Rails javascript helpers.
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.