Deployment Guide
528 | Reference Dell Networking W-ClearPass Guest 6.3 | User Guide
Function Description
The specific locale settings used are from localeconv(), and are listed below.
For
general numeric formatting
:
l frac_digits – number of decimal places to display
l decimal_point – character to use for decimal point
l thousands_sep – character to use for thousands separator
For
signs for positive/negative values:
l positive_sign – sign for positive values
l p_sign_posn – position of sign for positive values (0..4)
l negative_sign – sign for negative values
l n_sign_posn – position of sign for negative values (0..4)
For
formatting for monetary amounts
:
l mon_decimal_point – decimal point character for monetary values
l mon_thousands_sep – thousands separator for monetary values
l p_sep_by_space – true if a space separates currency symbol from a positive value
l p_cs_precedes – true if currency symbol precedes positive value
l n_sep_by_space – true if a space separates currency symbol from a negative value
l n_cs_precedes – true if currency symbol precedes negative value
Additionally, the special value monetary, if true, indicates that a currency value should
be formatted, rather than a regular numeric value.
View Display Expression Technical Reference
A page that contains a view is displayed in an operator’s Web browser. The view contains data that is loaded from the
server dynamically. Because of this, both data formatting and display operations for the view are implemented with
JavaScript in the Web browser.
For each item displayed in the view, a JavaScript object is constructed. Each field of the item is defined as a property
of this object. When evaluating the JavaScript Display Expression, the data variable is used to refer to this object.
Thus, the expression data.my_field would return the value of the field named “my_field”.
In the above view (the guest_users view), the four columns displayed correspond to the username, role_name,
enabled, and expire_time fields.
Value Description
Display Expressions
data.username.bold() Displays the username string as bold text.
data.role_name Displays the name of the role.
Nwa_BooleanText(data.enabled, "Enabled",
"Disabled")
Displays either “Enabled” or “Disabled” depending on the
value of the enabled field.
(parseInt(data.do_expire) != 0) ? Nwa_
Displays “N/A” if the account has no expiration time, or a
Table 110:
Display Expressions for Data Formatting