Class pvr.controller.types._MockPropertyControllerMixin

Mix-in class for custom property controllers whose run-time data types cannot be supported in the view designer.

Some applications include the view designer and the view runtime in separate web applications. In such cases there may be value types that cannot be modeled in the designer component due to missing dependencies. In such cases, "mock" data types and their associated controllers can be used in the view designer as a proxy for their runtime counterparts. This is done by registering the mock controller class as the controllerClass for the particular data type in the view designer's integration configuration object.

Some applications may wish to add custom attributes to property controllers of all types. A recommended pattern for this includes the following steps.