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

output_html_m342b7672.png


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    diagramN/A
Entities    DiagramN/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.


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission