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

output_html_m23454c5a.png


XHTML

settings


  • Static image

<bluage:Image id="img_spacer" type="static">

<img src=".../_style/mm_spacer.gif" width="16" height="15" alt="Spacer" border="0"/>

</bluage:Image>

  • Dynamic image

<bluage:Image id="img_Status" type="dynamic" tablefield="Contact.salutation.urlImg" instancename="contactToUpdate">

</bluage:Image>

Screen    activity    diagram

output_html_m2d5a445b.png

Entities    Diagram

output_html_544e70f5.png

Service    activity    diagramN/A

Tag attributes: reference

TagImage
DocumentationDisplays an image
Diagram

output_html_69d5ef76.png

Tag attributes: description

AttributeRequiredDescription
idYImage ID.
tablefieldNDefines the class and the field bound to the component.
instancenameNObject instance name.
scopeNInstance scope : request (default value) or session
typeY

Static or dynamic image

  • "static" : the image URL is taken from the mock-up
  • "dynamic":  the Image URL is taken from an attribute of the entity in use.

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

output_html_9f0028d.png


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

output_html_e5aa8f9.png

Entities    Diagram

output_html_m2ec93725.png

Service    activity    diagramN/A

Tag attributes: reference

TagPanel
DocumentationConditional display in the page
Diagram

output_html_m3588d071.png

Tag attributes: description

AttributeRequiredDescription
IdYPanel ID.
TablefieldYDefines the class and the field compared in the expression.
instancenameNObject instance name.
OperationNThe operation: « == » (default value), «  », « < », « > », « <= », « >= ».
OperandeNThe operand, with « null » as a default value.

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