Problem with nested INPUT inside DISPLAY ARRAY

wh <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello,

(repost to aubit4gl-discuss, because I'm not sure if anyone is reading 
the aubit4gl-xmlgui ml)

I have a lot of code which does an INPUT inside an DISPLAY ARRAY. This 
works well with A4GL_UI=TUI, but with XML/VDC Client I got the following 
error message:

contexts[context].ui.input.num_field_data=1 last_attr->sync.nvalues=2
too many values sent back

consider the following example:

f1.per
<<<
database formonly
screen
{
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
[a  |b                  ]
}

attributes
a = a;
b = b;

instructions
screen record s[10] (a,b);
>>> 

t1.4gl
<<<
main

define r record a char(30), b char(20) end record
define a array[20] of record a char(30), b char(20) end record
define lv_i integer
define lv_scr, lv_arr integer

for lv_i = 1 to 10
         let a[lv_i].a = lv_i using "##&"
         let a[lv_i].b = lv_i using "&&&&&&&&"
end for

open window w with form "f1"
call set_count(10)
display array a to s.*
         on key(return)
         let lv_arr = arr_curr()
         let lv_scr = scr_line()
         let r = a[lv_arr]
         input r.b without defaults from s[lv_scr].b
         let a[lv_arr] = r
end display

close window w

end main
>>> 

see also attached file with debug.out and proxy.log

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
files.tar.gz (application/x-gzip, 17.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.