This shows you the differences between two versions of the page.

Link to this comparison view

connectorparam [2014/09/16 14:26] (current)
Line 1: Line 1:
 +===== The <connectorParam> Element =====
 +==== Definition and Usage ====
 +The [[connectorparam|<connectorParam>]] element is used to parameterize connector
 +attribute values.  Any attribute defined by a [[causalconnector|<causalConnector>]] element
 +or by its descendent elements can have its value specified as a parameter
 +whose value is defined by the relationship that refers to the connector,
 +using [[linkparam|<linkParam>]] or [[bindparam|<bindParam>]] elements.
 +In a [[connectorparam|<connectorParam>]] element the //name// attribute defines the
 +parameter name and the //type// attribute the parameter type.
 +In order to specify that an attribute defined by the [[causalconnector|<causalConnector>]]
 +element or by its descendent elements receivesthe parameter value,it is
 +sufficient to defined the attribute value as the parameter name preceded by
 +the "$" symbol.  For instance, in order to parameterize the delay attribute
 +of a [[simpleaction|<simpleAction>]] element, a parameter called //actionDelay// is
 +defined and the value "$actionDelay" is used in the attribute
 +==== Syntax ====
 +^ Element ^ Attributes ^ Content ^ Parent ^
 +| [[connectorparam|<connectorParam>]] | __//name//__, //type// | -- | [[causalconnector|<causalConnector>]] |
 +==== Attributes ====
 +^ Name ^ Value ^ Description ^
 +| //name// | It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, <".">, and <"_">. | The //name// attribute uniquely identifies the parameter within a [[causalconnector|<causalConnector>]] element. |
 +| //type// | String. | The //type// defines a type for the parameter. |
Back to top