Apache::Wyrd::Input::Condenser - Use Wyrd Inputs/Sets as sub-Input Wyrds
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.
(format: (returns) name (arguments after self))
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.
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.
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.
Reserves the _setup,
and final_output method on top of the methods reserved by
it reserves the Form methods
since it is in essence a mini-form within a form.
Barry King <email@example.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for