A condition defines the formula expression for its evaluation, as well as data concerning a display of a possible error message. The actions are executed only when the condition is fulfilled.

XUI component - Condition 


Fieldname

Default

Description

Show errorNoAn error message is displayed with a red frame (or the color specified for it) of the relevant component. In addition, the error message is displayed in the error list. If no error message was entered for this condition, the formula expression is indicated as text.
Use inverse actionNoDefines whether the reverse action was released for the non-incidence of the formula expression. The reverse action (inverseAction) must be declared when an action is defined. However, the reverse action need not be indicated if the action parameters of the method to be executed consist of Boolean values only. The parameters are automatically inverted in the case of reversal (flip).

Class

 

With the indication of its own Java class, the condition can be implemented. The class must implement the Condition interface. If a formula expression and its own class are indicated, both conditions must be fulfilled, so that the actions are executed.

Formula expression

 

Defines the condition expression. This must return either Yes or No.

Use event source as formula baseNo

if true,  node(".") addresses not the type where the rule is defined on, it addresses the type wich raises the event.

Classification

error

Defines the category of the error message.

Needs user acceptance

No

Defines whether the user confirms the message by a mouse-click.

If no formula expression is indicated, the condition is fulfilled and the actions are executed.



  • Keine Stichwörter