4.1Navigation items setting
BLU AGETM - BLU AGE 2009 EDITION
4.1Navigation items setting
Navigation items usually are links and commands. The setting of these items consists in defining the link’s or command’s ID and telling whether this item causes the validation of a screen or not.
4.1.1The Button tag
Description
Form sending command.
Example
| Rendering |
|
XHTML settings | <bluage:Button id="btn_create" tovalidate="true" > <input type="submit" name="btnCreateContact" value="Save" title="Save new contact"/> </bluage:Button> |
| Screen activity diagram |
|
| Entities Diagram | N/A |
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Button |
| Description | Form sending command |
| Diagram |
|
Tag attributes: description
| Attribute | Required | Description |
| Id | Y | Item ID. |
| tovalidate | Y | Defines whether the action will launch the validation or not: “true” or “false” |
4.1.2The Link tag
Description
The « Link » tag allows inclusion of a hyperlink on a page.
Example:
| Rendering |
|
XHTML settings | <bluage:Link id="lnk_findFriends" tovalidate="false" > <a href="friendsResult.html" shape="rect" title="View my friends">LIST FRIENDS</a> </bluage:Link> |
| Screen activity diagram |
|
| Entities Diagram | N/A |
| Service activity diagram | N/A |
Tag attributes: reference
| Tag | Link |
| Description | Defines a hyperlink. |
Tag attributes: description
| Attribute | Required | Description |
| Id | Y | Item ID. |
| type | N | « static » (default value) or « dynamic ». |
| scope | N | Defines the scope: « page » (default value), « package » or « global ». |
| tovalidate | N | Defines whether the action will launch the validation or not: « true » (default value) or « false ». |
| ajaxcall | N | Allows definition of an Ajax call : « true » or « false » (default value). |
| showpopup | N | ID of the pop-up to display. |
| initpopup | N | Allows an action to be executed (on the server side) before displaying the pop-up : « true » or « false » (default value). |
| behaviour | N | Allows definition of window behavior : continue : Used for pop-up’s links/tablelinks in order to launch the action that triggered the pop-up display (for example for a confirmation pop-up, the « YES » link « behaviour » will have « continue » as a value : user approval). cancel : Closing of the pop-up without launching any action. reload : Reloads the pop-up after the action has been launched. popupWindow: Opens the target screen in a new modal window newWindow: Opens the target screen in a new window |
| ajaxOncomplete | N | (As of ver 3.5.0) Defines whether the “onComplete” attribute is generated or not: « true » or « false » (default value). |
| To set up a link in a table, the TableLink tag must be used rather than the Link. |




