Show TOC

Attribute BindingLocate this document in the navigation structure

Use

Once the context of the view has been mapped to the context of the component controller, you can now bind an interface element of the first view to attribute MYNAME.

Procedure

Your first view is displayed.

  1. Switch to the change mode on the Layout tab page.

  2. Select the INPUT element in the hierarchy below the RootUIElementeContainer.

  3. Find the value entry in the properties table and click on the corresponding button in the Binding column on the right-hand side of the table.

    The context hierarchy of the view is displayed in a separate window.

  4. Select the MYNAME (in this case single) attribute again by double-clicking on it.

    The Value column of the table now contains the MYNAME attribute.

  5. Save your entries.

Result

The UI element ENTRY is now bound to the attribute MYNAME of the view context. The attribute can now be assigned a value by user input. Since mapping was defined between the context of the view and the context of the component controller, the value of the attribute is changed accordingly. It can be made accessible from here to a second view by defining mapping similarly between its view context and the context of the component controller. You now need to structure the second view accordingly.