[Jifty-commit] r594 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Feb 17 22:14:22 EST 2006
Author: jesse
Date: Fri Feb 17 22:14:22 2006
New Revision: 594
Modified:
/ (props changed)
Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm
Log:
r23849 at truegrounds: jesse | 2006-02-17 19:12:37 -0800
* Doc patches from David Adler
Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm (original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Schema.pm Fri Feb 17 22:14:22 2006
@@ -289,6 +289,45 @@
Used in user interface generation to know how to render the column.
+The values for this attribute are the same as the names of the modules under
+Jifty::Web::Form::Field, i.e.
+
+=over
+
+=item * Button
+
+=item * Checkbox
+
+=item * Combobox
+
+=item * Date
+
+=item * Hidden
+
+=item * InlineButton
+
+=item * Password
+
+=item * Radio
+
+=item * Select
+
+=item * Textarea
+
+=item * Upload
+
+=item * Unrendered
+
+=back
+
+You may also use the same names with the initial character in lowercase.
+
+The "Unrendered" may seem counter-intuitive, but is there to allow for
+internal fields that should not actually be displayed.
+
+If these don't meet your needs, you can write your own subclass of
+Jifty::Web::Form::Field. See the documentation for that module.
+
=cut
sub render_as ($) {
More information about the Jifty-commit
mailing list