internal package Foswiki::Plugins::JQDataTablesPlugin::FoswikiConnector

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Plugins::JQDataTablesPlugin::FoswikiConnector

base class for grid connectors that deal with foswiki topic data

ClassMethod restHandleSave( $request, $response )

a standard save backend. it assumes that columns in a grid correspond to formfields of a DataForm being attached to the target topic. The target topic is provided via the "id" url parameter. Other url parameters are considered to be the name of the formfield, except "id" and "oper".

sub getForm($web, $topic) → $formDef

returns a Foswiki::Form for the given web.topic address; may return undef when the form does not exist

ClassMethod convertResult( %params ) → \%row

convert a result to a rows for datatable.

This implementation may be shared among all connectors that deal with foswiki data.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wasserstoff-Fahrer Forum? Send feedback
This website is using cookies. More info. That's Fine