GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Vend::Table::Editor(3) User Contributed Perl Documentation Vend::Table::Editor(3)

Vend::Table::Editor -- Interchange do-all HTML table editor

[table-editor OPTIONS]

[table-editor OPTIONS] TEMPLATE [/table-editor]

The [table-editor] tag produces an HTML form that edits a database table or collects values for a "wizard". It is extremely configurable as to display and characteristics of the widgets used to collect the input.

The widget types are based on the Interchange "[display ...]" UserTag, which in turn is heavily based on the ITL core "[accessories ...]" tag.

The "simplest" form of "[table-editor]" is:

        [table-editor table=foo]

A page which contains only that tag will edit the table "foo", where "foo" is the name of an Interchange table to edit. If no "foo" table is "defined", then nothing will be displayed.

If the "mv_metadata" entry "foo" is present, it is used as the definition for table display, including the fields to edit and labels for sections of the form. If "ui_data_fields" is defined, this cancels fetch of the view and any breaks and labels must be defined with "ui_break_before" and "ui_break_before_label". More on the view concept later.

A simple "wizard" can be made with:

        [table-editor
                        wizard=1
                        ui_wizard_fields="foo bar"
                        mv_nextpage=wizard2
                        mv_prevpage=wizard_intro
                        ]

The purpose of a "wizard" is to collect values from the user and place them in the $Values array. A next page value (option mv_nextpage) must be defined to give a destination; if mv_prevpage is defined then a "Back" button is presented to allow paging backward in the wizard.

2010-03-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.