|
Apache::Wyrd::Input::Set - Form Input Wyrds |
Apache::Wyrd::Input::Set - Form Input Wyrds (array)
<BASENAME::Input::Set name="numbers"
type="pulldown" options="one, two, three" />
<BASENAME::Input::Set name="numbers" type="selections"
hash_options="one, One, two, Two, three, Three" />
<BASENAME::Input::Set name="numbers" type="checkboxes">
<BASENAME::Input::Opt name="one" value="One" />
<BASENAME::Input::Opt name="two" value="Two" />
<BASENAME::Input::Opt name="three" value="Three" />
</BASENAME::Input::Set>
<BASENAME::Input::Set name="numbers" type="radiobuttons">
<BASENAME::Input::Opt name="one">One</BASENAME::Input::Opt>
<BASENAME::Input::Opt name="two">Two</BASENAME::Input::Opt>
<BASENAME::Input::Opt name="three">Three</BASENAME::Input::Opt>
</BASENAME::Input::Set>
The Set Input extends the regular input to handle the parameters of multiple values. This module designs _startup_foo where foo is:
For these, set the type attribute to checkboxes, pulldown,
radiobuttons, and selections respectively. see
Apache::Wyrd::Input::Set.
As with Apache::Wyrd::Input, most attributes that can be set for the
corresponding HTML tags these Wyrds generate can be set, such as
class and onfocus.
Apache::Wyrd::Input::Opt objects to populate the
selection, a comma/whitespace-delimited set of options can be given
instead.
Apache::Wyrd::Input::Opt objects to populate the
selection, a comma-delimited hash of options can be given instead. The
sequence is param value, param label, param value, param label....
see Apache::Wyrd::Input
Reserves the _generate_output, final_output, and _process_child methods.
Barry King <wyrd@nospam.wyrdwright.com>
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
|
Apache::Wyrd::Input::Set - Form Input Wyrds |