4.4.5 DisplayItem and EditItem tags
Description
In order to set up editable datagrids, each column should contain the items to display in edit mode, and the ones to display in display mode. (a button can be set to switch between modes)
Items in display mode should be surrounded by the DisplayItem tag.
Items in edit mode should be surrounded by the EditItem tag.
Example
| Rendering |
|
XHTML settings | <bluage:DisplayItem> <bluage:DynamicText id="lbl_phoneNumber" tablefield="Contact.phoneNumber" /> </bluage:DisplayItem > <bluage:EditItem> <bluage:TextField id="txt_phoneNumber" tablefield="Contact.phoneNumber"> <input id="phone" type="text" class="subHeader" size="50" /> </bluage:TextField > </bluage:EditItem> |
| Screen activity diagram | N/A |
| Entities Diagram | N/A |
| Service activity diagram | N/A |
Note: To define which column is allowed to switch from the edit to the display mode, the « behaviour="edit" » attribute must be added to a column.
