Troubleshooting
Problem
When the label is an empty string, the slider function displays the minimum value as the initial value.
Symptom
IBM Engineering Requirements Management DOORS (DOORS) DXL's slider function takes on 5 parameters: dialog box (DB), label (string), initial value, minimum value, and maximum value.
1. When the label string is NOT empty
DB mydb = create "mydb"
string label = "mylabel"
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)
string label = "mylabel"
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)

The value indicator is at the correct position.
2. When the label string is empty
DB mydb = create "mydb"
string label = ""
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)
string label = ""
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)

The value indicator is at the WRONG position.
It should be at 5 (initial value), but it is at 0 (minimum value).
3. When the label string is set to a space
DB mydb = create "mydb"
string label = " "
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)
string label = " "
DBE rating = slider (mydb, label, 5, 0, 10)
show (mydb)

The value indicator is at the correct position.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"ARM Category":[{"code":"a8m50000000CimmAAC","label":"DOORS-\u003EDXL"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
14 February 2022
UID
ibm16554134