Bigtop

 view release on metacpan or  search on metacpan

lib/Bigtop/Docs/TentRef.pod  view on Meta::CPAN

C<Gantry::Plugins::AutoCRUDHelper::DBIxClass> for an example of what to do.

=item skip_test

Check this if you don't want a default page hit test for this controller.

=back

In addition to the statements that affect the whole controller, there
are methods in it.  Methods come in seven types, shown below.
There are two statements they all understand: no_gen (take a guess)
and extra_args.  Any extra_args -- and you can have as many as you like --
are added to the argument list in the generated routine.  Be sure to
include full perl variables, including sigils:

    $id
    @variadic

If you include an array, put it at the end, remember that arg handling
is greedy.

lib/Bigtop/Docs/Tutorial.pod  view on Meta::CPAN

            is                 text;
            label              `Notes to Customer`;
            html_form_type     textarea;
            html_form_optional 1;
            html_form_rows     4;
            html_form_cols     50;
        }

You can affect the eventual appearance of the field on HTML forms with
various statements.  Here are two that affect textareas: html_form_rows
and html_form_cols; take a wild guess at what they do.  There is one
gotcha for text input boxes.  Since Template Toolkit uses a lot of magic
while dereferencing, to set the size of a text input box use
html_form_display_size.

        field description {
            is                 text;
            label              `Notes to Self`;
            html_form_type     textarea;
            html_form_optional 1;
            html_form_rows     4;

tenttemplates/input_boxes.ttc  view on Meta::CPAN

    multiple             - indicates that more than one value or pair
                           can be given for the keyword (think comma
                           separated list).  Only applies to types text,
                           select, and pair.

    pair_labels          - Headings to put over pair entry text boxes.
                           Only applies to type pair.

    false                - the text of the false value for controlled_boolean
                           if no value is given, 'undef' is used
    true                 - similar to false, guess how they differ

    options              - an array of hashes required for type selectone
                           each hash has two keys: value and label

    urgency              - fills in the * in class='urgency_*' this is
                           used for color coding important fields
                           choose from 0, 1, 3, 5, or 10 which are (roughly)
                           white, lt. blue, green, orange, or red

values are double qouted to prevent clashes with single



( run in 0.754 second using v1.01-cache-2.11-cpan-702932259ff )