Description: A progress bar element
JavaDoc: Click here
Body content: Empty. All enclosed content will be ignored.
Attributes:
Name | Description | Data type | Required | Default value |
id | The component ID | String | Yes | - |
title | The title for bar | String | No | - |
total | The total value for the bar | Double | Yes | - |
current | The current value | Double | Yes | - |
description | A description text to show inside the bar. Allows substitution variables $current and $total | String | No | - |
width | The width of the bar | String | Yes | - |
Variables: This tag defines in it's context the following variables:
Name | Description |
percent | The current percentage |
current | The current value |
total | The total value |
All these variables can only be used as substitution variables in the description attribute.
Examples:
<dif:document> <dif:progressBar width="400px" title="Free Memory" total="1024" current="570" description="$current Mb of $total Mb"/> </dif:document>