4.3Display components setting
4.3Display components setting
4.3.1The Image tag
Description
The « Image tag » allows adding an image whose url can be set with the property of an object instance.
Example
| Rendering |
|
XHTML settings |
<bluage:Image id="img_spacer" type="static"> <img src=".../_style/mm_spacer.gif" width="16" height="15" alt="Spacer" border="0"/> </bluage:Image>
<bluage:Image id="img_Status" type="dynamic" tablefield="Contact.salutation.urlImg" instancename="contactToUpdate"> </bluage:Image> |
| Screen activity diagram |
|
| Entities Diagram |
|
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Image |
| Documentation | Displays an image |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description |
| id | Y | Image ID. |
| tablefield | N | Defines the class and the field bound to the component. |
| instancename | N | Object instance name. |
| scope | N | Instance scope : request (default value) or session |
| type | Y | Static or dynamic image
|
4.3.2The Panel tag
Description
The « Panel » tag defines a conditional display of a part of the page. It may for example be used to handle different user rights.
Example
| Rendering |
|
XHTML settings | <bluage:Panel id="pnl_create" instancename="userConnected" operande="true" operation="==" tablefield="User.isAdministrator"> <bluage:Link id="lnk_goToCreate" type="dynamic" tovalidate="false"> <a href="create.html" shape="rect">NEW CONTACT </a> </bluage:Link> </bluage:Panel> |
| Screen activity diagram |
|
| Entities Diagram |
|
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Panel |
| Documentation | Conditional display in the page |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description | |
| Id | Y | Panel ID. | |
| Tablefield | Y | Defines the class and the field compared in the expression. | |
| instancename | N | Object instance name. | |
| Operation | N | The operation: « == » (default value), « | », « < », « > », « <= », « >= ». |
|---|---|---|---|
| Operande | N | The operand, with « null » as a default value. |






