[Gambas-user] Help for gb.web.gui

T Lee Davidson t.lee.davidson at gmail.com
Sun Aug 7 22:43:36 CEST 2022


On 8/7/22 16:29, gian via User wrote:
> Hi,
> 
> There is a friend from the Italian forum, who starting from the sources of the farm WebDemo program, try with this simple 
> attached test generate with the server a CSV file, this works, then he would like from browser see download and save the file in 
> the download folder, this does not happen.
> 
> Can you help him? Thank you
> 
> With best regards
> 
> Gianluigi

I think there is a bug in the lib.js file that gb.web.gui uses. I am using stable Gambas 3.17.3, and I see that lib.js is 
different in the developer branch at the very spot where my browser developer console reports a Syntax Error in that file:
Uncaught SyntaxError: unexpected token: ':' lib:0.0.1.js:1:19
     answer http://localhost:8080/lib:0.0.1.js:275
     onreadystatechange http://localhost:8080/lib:0.0.1.js:324
     sendNewCommand http://localhost:8080/lib:0.0.1.js:324
     answer http://localhost:8080/lib:0.0.1.js:295
     onreadystatechange http://localhost:8080/lib:0.0.1.js:324
     sendNewCommand http://localhost:8080/lib:0.0.1.js:324
     send http://localhost:8080/lib:0.0.1.js:345
     update http://localhost:8080/lib:0.0.1.js:355
     onFocus http://localhost:8080/lib:0.0.1.js:431
     answer http://localhost:8080/lib:0.0.1.js:275
     onreadystatechange http://localhost:8080/lib:0.0.1.js:324
     (Async: EventHandlerNonNull)
     sendNewCommand http://localhost:8080/lib:0.0.1.js:324
     answer http://localhost:8080/lib:0.0.1.js:295
     onreadystatechange http://localhost:8080/lib:0.0.1.js:324
     (Async: EventHandlerNonNull)
     sendNewCommand http://localhost:8080/lib:0.0.1.js:324
     send http://localhost:8080/lib:0.0.1.js:345
     update http://localhost:8080/lib:0.0.1.js:355
     onFocus http://localhost:8080/lib:0.0.1.js:431


Benoît, have you fixed this already?


-- 
Lee


More information about the User mailing list