Centrallix - It's Different than what you Think
Home   |   Technology   |   Screen Shots   |   Download   |   Documentation   |   History   |   For Developers

Search...


Search For:

Index...


Centrallix Documentation
1. Getting Started
2. Applications Overview
3. Application Components
4. Reports Overview
5. Report Components
6. SQL Language
7. Process Modeling
8. Application Modeling
9. Role-Based Security
10. Business Logic Modeling
11. Other Objects
12. External API's
13. Internal API's

widget/variable


variable :: A scalar variable object

Metadata:
type:widget/variable
visual: no
container: no
form element: no


Overview:

The 'variable' nonvisual widget is used to create a global javascript scalar variable in the application.The variable can be an integer or string.


Usage:

This nonvisual widget is used at the top-level (within a "widget/page"). Currently it has no events, and so shouldn't contain any visual or nonvisual widgets.


Properties:

PropertyTypeDescription
fieldname string The field with which to link / connect to the variable.
form string The form (e.g. it's osrc) with which to associate the variable and fieldname (if different than the form in which variable is currently nested).
type string (e.g. integer).
value string Can be accessed as :var_name:value.


Actions:

ActionDescription
SetValue Called by a widget/connector: Sets the value of the variable to whatever is specified by the "Value" parameter.


Sample Code:

$Version=2$
// This creates a global variable.
counter "widget/variable"
	{
	value = 0;
	}




Comments...


(none yet)

Add a Comment...


Your Name:
Comment:


(c) 2001-2020 LightSys Technology Services, Inc. All trademarks are property of their respective owners.

Project Hosting Provided By:
Hosted by Sourceforge