Issue 31084  —   DSP HTML controls: Binding fails for fields after numeric DropDownList/ListBox

Status:   Planned for resolution in 10.4.01

Solution available in patch(es):      10.3.01.004    9.7.05.004

Description:

 Summary:
 Uniface:
 For a DSP the fields following the numeric DropDownList/ListBox and their
 labels are not bound.
 Also the label for this numeric DropDownList/ListBox is not bound.

 Environment:
 Uniface:
 +Uniface Version     : 9 / 10
 +Operating System : OS independent
 +Database               : DBMS independent
 +Browsers               : Browser independent

 Symptoms
 HTML controls:
 A numeric DropDownList/ListBox is used on a DSP.
 For a DSP the fields following the numeric DropDownList/ListBox and their
 labels are not bound.
 Also the label for this numeric DropDownList/ListBox is not bound.

 This problem happens when using  HTML controls.
 This problem does not happen using Dojo JavaScript widgets.
 When the DropDownList or ListBox  is defined as string the problem does not
 occur.

Workaround:

 Solution:
 Modify the used ini file which will be usys.ini in uniface\adm
 or the ini used by the ust defined in urouter.asn.
 
 Add a datatype=string widget property to the dropdown and list box logical
 widgets
 (or any other logical widget that maps to htmlselect).
 
 The used Data Type from the field on the DSP can stay numeric:
 The datatype property from the widget in the ini file only affects
 communication with the browser,
 and this change in the ini will fix the issue.
 
 So
 [webwidgets]
 DropDownList=htmlselect(html:size=1;datatype=string)
 ListBox=htmlselect(html:size=3;datatype=string)

Notes: