Development tools : Multi-project development : Managing different components and resources : Adding components from a Global or Common Java Project : Adding a data element associated to a widget
  
Adding a data element associated to a widget
In the XUI editor, as part of the view definition, you may want to map the view widgets to the context data elements.
1 Select a widget, go to Properties view, and click the Browse button for the dataName property.
In the data selection dialog, the tooling lists the imported data and types. In general, the data name is selected from current flow context and its hierarchy in the local project (when imported from a global project, the context appears in a Global directory); alternatively the data name may be selected from a self-defined operation in a common project.
2 In the example, a reusable operation has been defined in a common project and the view widget (selected Label in the Figure below) is going to be bound to the balance data element that is part of the operation context; the view is going to show the data resulting from the operation execution.
This graphic is described in the surrounding text.This graphic is described in the surrounding text.
See also
Adding components from a Global or Common Java Project