Column Values Editable in Text BoxYou can let users edit column values by typing new or changed information in a text box. If the attribute specified for the field is configured with a dimension, a drop-down list shows next to the text box allowing the user to select any defined unit of measure. The current value of the field shows using the As Entered units of measure. Regardless of the units that the user selects, the value will be stored in the database using the default (normalized) units. For example, to get data for a Description column, you can use a select expression applied to the current business object and let users edit the name using a simple text box. This graphic shows examples of a Description column for a table displayed in Edit mode. To configure a column so the data is obtained from a select expression and displayed in an editable text box, use these parameters and settings
These graphics show how you can configure the Name column in Business Modeler. Column Values Editable from Combo Box, Values from JPOWhen the set of possible values for the column is fairly small, you can represent them as combo box where users select the values. The following examples shows three columns displayed as combo boxes. You can populate combo boxes through a JPO method that obtains the values based on business logic. To get column range values using a method in a JPO, use these parameters and settings
The following show a column configured to display editable choices in a combo box based on data retrieved via a JPO. The currently-selected value for the field displayed in the view-only version of the table was retrieved via an expression. Column Values as Editable DatesYou can configure column values to display dates. You can let users change the date using a calender chooser. The value must be a valid date string. The date displays based on the system and browser locale setting using the lzDate taglib. For example: Ensure that the format of the value displayed in the column matches the format listed in parenthesis following the date control.
The following illustrates a column set up to display the originated date. It is set to validate the data. Using JPO to Update Table ValuesUse JPOs to store the values of the related objects. See JPO Guidelines for Updating Column Values. Set these column settings:
|