Built-in Default Form Values plugins

NameDescription

SampleFormDefaultValues

Example implementation, tied to the demo "Technology" metadata group used elsewhere in this documentation. Pre-selects the "t2" (New Feature) option on okp:technology.type, the "python" option on okp:technology.language, and sets okp:technology.comment to a fixed, read-only "Hello, world!" value. Intended as a copy-paste starting point for a new FormDefaultValues implementation.

The FormDefaultValues interface is deprecated as of version 8.1.15 in favor of Creating your own FormInterceptor plugin. This sample is kept for reference only.

Not wired to a metadata group automatically - it is referenced by canonical class name in the defaultValueClassName attribute of a property-group element in the metadata XML definition. See Creating your own Default Form Values for the interface and a full XML example.

Table of contents [ Hide Show ]