Optional
_hintResult of the right evaluation - used only internally!
Optional
_tooltipOptional
_translationOptional
aoptional shorter versin of the command description
Optional
attributesList of optional attributes related with the command operation; Never mixed with the command attributes
Optional
autoOptional mark for multi-operation. If user select nothing, operation select all or nothing and starts Mark make sense only in pair with multi:true
Optional
browsingOptional command for list object to support browsing objects using buttons shfifButtonLeft / Right Functionality is always supported for common operation but not for others. @example: "openDetail":{ "multi":false, "browsing":true, "a":"form.this.detail"}
Optional
commandOptional
confirmname of the string used to confirm the operation (actually supportedy only for delete)
Optional
confirmOptional title for confirmation dialog (used in par with confirm)
Optional
enabledevaluated condition that can confirm, if operation is allowed. If list of strings is used, each element should be string and all strings are joined with && AND operator Use object to get inheritance of conditions from extnted base operation Note string[] type is desabled because it is converted to the string by preproceson on enter and ale later types uses only string
Optional
extendsOptinal parent operation. If defined all attributes from the parent operation, that are not defined in this operation are copied to this.
Optional
filterOptional filter string - if set, operation is not a regular operation but filter Warning: not used by list of objects - they have more sophisticated filters than this
Optional
iconOptional
initOptional initalisation of the object variables or attributes before first call.
Optional
labelOptinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object
Optional
listOptional right settings for list. If operation has button in the list commandLine, listRight is used instead of button
Optional
multiSign how many attributes operation requests
Optional
noOptional operation used in case that primary operation requires selection, but user does not select anything
Used only by list-defined operations; makes no sense and is disregarded for buttons in detail or clip (even in clipList)
Optional
orderoptional element order
Optional
readonlyenabledmark that operation is availabled even for readonly object; by default it is not evaluated
Reuquired method that return value including description! If not defined, result of the calcuation is not presented Function is called after processing the last object and result is placed to the table header When result returns false nothing is prestented -> can be used to show value only in some cases
Optional
rightoptional setting of the right to use operation.
Used in conjunction with
Optional
saveOptional command for detail window to save the changesw before operation
Ignored by all other windows except univDetail - details opened by form.
Optional
shortcutOptional shortcut starting the operation
Optional
slowMark that operation is slow and can take longer time to process
Optional
styleclassName (in case thet style is string) or list of styles using htmlelements.style JS attributes
style='box--dataImportant' box--dataImportant should be defined class in the css styles
syle={"maxWidth":"20em"} set up the maxWidth style attribute for the box
styl={"border":"=obj.status=='AC'?'solid':'none' "}
Optional
uright
Method is the operation used to calculate some summary function from objects to the table header. The command (a / command) is called for each loaded string. Result should be placed to the attributes, not object! result functin returns the result from calculation
Supported fields (only the fields from this list and fields defined in this interface are used):
enabled - when returns false method is not evaluated
right - evaluated only once; when returns false, method is disabled until next table open
Right is evaluated globally and does not get any object, obj is undefined
a / command - command to evaluate
obj object is new for each line - do not store any value to the obj
object methods are evaluated before evaluation the table operations - they can be used during evaluation
attributes are the same for each object and the function should use them to store results
attributes are cleared between methods - value calculated by methods cannot be used ouside the methods
Available attributes: