The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Wyrd::Input::Condenser - Use Wyrd Inputs/Sets as sub-Input Wyrds

SYNOPSIS

NONE

DESCRIPTION

The Condenser Input is so called because it condenses the results of several enclosed Inputs into a single value. It is meant to be an abstract class from which Inputs can be derived which are used primarily in editing multiple whole related records along with a reference record, for example in relating track information to a CD on the same page/form as the CD information.

HTML ATTRIBUTES

see Apache::Wyrd::Input::Complex

PERL METHODS

(format: (returns) name (arguments after self))

(void) _generate_inputs (void)

This method should take the _template attribute and make from it any HTML inputs that are required, for example, by repeating it, altering the input names/ids to be able to distinguish them from each other.

The result of the generation should be stored under the _data attribute.

(void) _set_template_globals (void)

Within the template, there may be Apache::Wyrd::Interfaces::Setter-style placemarkers which must be set to proper values for the Condenser Input to display properly. This is the method one can use in order to set these. However, these placemarkers will be set AFTER _generate_inputs, so be sure not to use placemarkers that are going to be used by sub-inputs, such as $:value.

BUGS/CAVEATS/RESERVED METHODS

Reserves the _setup, _format_output, and final_output method on top of the methods reserved by Apache::Wyrd::Input::Complex.

Additionally, it reserves the Form methods register_errors, register_error_messages, register_errortag, and _set_input methods, since it is in essence a mini-form within a form.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.