Internal parameters that affects how the fclip is opened

clipParams has 2 ways how could be set:

  • start up paramaters of the view
  • direct setting for view

Example

"parameters": { "clipParams":{ "closeEmpty":false, "closeButton":true } },

Example

form.tskDefUserTask.clipList.areaUDefTasks(closeEmpy=false, closeButton=true)
interface fclipParams {
    active?: boolean;
    buttonsUnderTitle?: boolean;
    closeButton?: boolean;
    closeEmpty?: boolean;
    disableCollapse?: boolean;
    encapsObject?: boolean | "S";
    expandAll?: boolean;
    imageDetail?: boolean;
    loadLevel?: number;
    noOperations?: boolean;
    readonly?: boolean;
    subLevel?: number;
    useEmptyObject?: boolean;
    useParentData?: boolean;
}

Properties

active?: boolean

initial status of the clip, default is:

  • fClip: active
  • flistClip: nonActive
buttonsUnderTitle?: boolean

When true, fClip (detail) draw buttons under the title, not on top of that. Used for clips where buttons are always visible - aka charts

closeButton?: boolean

when true, clip contains button to close self

closeEmpty?: boolean

Close listClip is no elements in that

  • For clipList only, detail is closed automatically since no value = data error
  • Makes sense for subordinated clips that are removed if has not elements - for them default value is true
disableCollapse?: boolean

Disable collapse list of clips. O

  • Option hides the button to open / close list and does not allow to close it. It also diable hiding buttons
  • Disable hiding command line with buttons (works both for clipList and single clip - so that it can set buttons always visible)
  • Intended for clipList used instead of list in the detail were hiding list makes no sense
  • Default is true, i.e. button is visble and functional
encapsObject?: boolean | "S"

Mark that object is an ecapsulation of single other object of uknown type. Mofidified behaviour of both them so that they behaves almost like a set of objects

Allowed values

true - parent - object that has single encapsulated object included; defined by input attributes from json S - son - single son of parent - defined always internall not allowed in json false = undefined - no encapsulation - do not use false (is totally useless as duplictate nothing)

expandAll?: boolean

Optional command to expand all childerns, default is true When true, all childern get command to expand

imageDetail?: boolean

When true and clip has image instead if icon, clip opens larger image detail after the image click-on

loadLevel?: number

Level of the loading - load level brakes that stops loading to the infinite depth

  • Used to stop loading more thand 2 level in depth. However, when user click on item, it can load next 2 levels to depth
noOperations?: boolean

Options totally disable command line and processing of any operation from clip - than it is dead text without any functionality It differs from readonly, because readonly allows default operation (edit, show clip) as well as operation with readonlyenabled attribute

readonly?: boolean

mark that clip (and all subclips) should be readonly

  • Clips are readonly in principal. but the sign is used for operation evaluation and affects available operatins
subLevel?: number

Information for clip that it is a subpart of clip and depth of the child in the tree

useEmptyObject?: boolean

Optional attribute says, that clip has neither loaded nor parent object but empty object. Use it for empty dialogs where empty object don't mixes values from caller with fields

Warning: Empty object = no data. All usefull attributes must in the input attributes like tskAreaID:linkID =

useParentData?: boolean

Optional attribute for fClip (detail); when used in cliplist it broke it (won't load data) When true, clip dfoes not load its own data but uses parent object instead of them Intended for clip in the object detail used to somehow presents information about object (status?) or in dashboard using dashboard object Object should be of the same type as parent (although technically does not havet to be)