Data source control
Use a data source control to override the default data source, or the current data source, for an application. This control is used primarily in dialog windows to reference a business object that controls in the window can use as a data source. A data source control is transparent and does not render any visible element.
- Client area
- Dialog
- Page
- Section
- Tab
- Table
Properties
Attribute name | Description |
---|---|
Control ID |
Each control in a presentation is assigned a unique Control ID that is read-only. |
Bean Class |
You can specify the name of a data bean class to use when creating the data source for the control. If not defined and the control is creating a data source, the default psdi.webclient.system.DataBean class is used. Typically, you use this property to create custom event methods or to override the manner in which the data source obtains its MboSet. |
Business Object |
Specify the name of a MBO in this field to determine which MBO the control uses to show and process information. If a MBO is not specified, the control uses the data source of its parent control. When you set a MBO for this control a data source is created that can be referenced from other controls. |
Parent Data Source ID |
You can specify the ID of a data source to use as the parent object for a relationship, or to specify a parent object for a bean class if necessary. Then specify the relationship that uses this parent in the Relationship field. If the field is left blank, the control uses the data source ID of its parent control as the Parent Data Source ID. |
Relationships |
If you specified a value in the Parent Data Source ID field, specify a value in this field that identifies the relationship between this control and the new data source. A relationship uses a WHERE clause to determine what to show and process from the data source. The control creates a datasource that is by default used by the child controls. You can search for relationship values in the tab. |
Order By |
You can specify the order in which a SQL query fetches data for the data source for this control. |
Where Clause |
You can specify a WHERE clause that the data source for this control uses to retrieve data. This WHERE clause is used in addition to any default WHERE clause used by the business object of the data source. |
Listeners |
Enter the ID or IDs of one or more data sources that you want to refresh whenever there are changes to this control. Listener controls can be located anywhere within the application. Separate multiple values with a comma. |