Modify Action

From CYW-Wiki

Jump to: navigation, search

Contents

Description and Usage

The Modify Action is used to modify the target element in a specific way. E.g. you can set the value of a textfield, or change its size. In principle you can change any attribute or CSS style of the target element.

Edit Dialog

Simple Tab

On the simple tab you can modify the most common attributes of the target element in an easy way. The content of simple tab constist of two parts. The first part (Attributes) lets you specify attributes of the target element which are specific for that type of element. E.g. for a textfield you can define the value (content) of the textfield or for a selectbox the selected element ect. This part is only displayed for form elements. In the second part (Styles) you can define common layout properties like size, color ect.

The following attributes for form elements are available:

Text (only for textfields)
Defines the content of the textfield.
Password (only for password fields)
Defines the content of a password field. Attention: Password are stored as plain text in the configuration file, thus the usage of this attribute is heavily discouraged.
Value (only for selectboxes)
Defines the selected value.
Selected (only for checkboxes and radio buttons)
Defines whether the checkbox/radio button is checked or not.

The <Undefined> value specifies that the value of the attribute remains unchanged.

The style attributes in the second part are hopefully self-explanatory and are therefor not described in detail.

Expert Tab

On the expert tab you can define any attribute or style you like as a key/value pair. The Attribute/Style selectbox contains all available style attribtes. If the entered Attribute/Style value is equal to one of these entries the key/value pair is set as a style attribute of the element. Otherwise the key/value pair is as a property of the element.

The selecbox is automatically filtered when you start entering some text.


Please refer to the pages Target Element Definition and Common Action Attributes for information how to edit the rest of the dialog.

Personal tools