|
|
Description |
|
The input_mapping attribute is used to retrieve data. The input-mapping attribute causes that new symbols, used to retrieve data, are being defined inside a given element (most often a container). For example, we have an "address" component, which prints out the elements of the address. If we call it inside a container with the attribute input-mapping="this=this.seller" then the object "this" inside this component will refer to the seller, and if we would call it as input-mapping="this=this.buyer" then it would refer to the buyer. This allows us to have a single component, used in different contexts. |
|
|
|
|
|