LockingMixins

Description

Reusable field locking methods for MerjentApp templates.

Methods for checking lock conditions and applying read-only restrictions to fields. Methods are bound to the MerjentApp instance via templates (see DefaultTemplate).

Usage: These methods are not called directly. They are bound to app methods by a template function:

// In a template:
			app.getLockStatus = LockingMixins.checkLockStatus.bind(app);
			app.baseLockEditing = LockingMixins.standardLockEditing.bind(app);
			
Details