Good afternoon.
I write for possible errors on the Bootstrap library.
I have attached an example project.
1)
I have an iwbsinputform with iwbsfile and an iwbsbutton inside it. I put the ButtonType property btsubmit. The onsubmit event with this code is associated with the iwbsinputform:

After executing this code I get the error 404 - Not found. I think it's two to the rewriting of the iwbsrestserver.pas unit and the change in the management of callbacks in Intraweb 15.1.4.
2) In the iwbsradiobutton component the OnAsyncClick event does not fire and the Checked property when it changed is always False if I try to read it from code.

3) HiddenInput

I have a callback registered in the form
WebApplication.RegisterCallBack ('CalcolateValue', CalcolateValue);

In a button in the scriptevents property I have
ajaxCall ("CalcolateValue", "& CallBack = 1", false);

and in the AsyncCLick event I have:
Value: = EventParams.Values ['Test_Input'];
WebApplication.ShowMessage (Value);

When I run ajaxcall the callback is executed but then in the button in the AsyncClick event the Value returned is always empty and not 5 as it should be. (In the same button is it possible to return the value of the variable through the callbak?)
(I use intraweb 15.1.4 and iwbootstrap 3.4.1)
Thanks for your help

a) Your parameter is named "Callback". You can chose any name of parameter you want except "Callback". "Callback" is exactly the name of the parameter which is supposed to carry the name of the callback call. So you need to chose something else.

(09-17-2019, 10:39 AM)Alexandre Machado Wrote: Thank you for the response.
I understood the problem about callback name.
For b the goal is to obtain with standard async click event the value of a client variable( ex. bootstrap table json) that a callback has calculate before with the call in scriptevents .
I know that for retrieve the value with hidden input i need two callback.

(09-17-2019, 10:39 AM)Alexandre Machado Wrote: Thank you for the response.
I understood the problem about callback name.
For b the goal is to obtain with standard async click event the value of a client variable( ex. bootstrap table json) that a callback has calculate before with the call in scriptevents .
I know that for retrieve the value with hidden input i need two callback.

You are clearly relying on an implementation detail in order to make this "work" (even in IW 14.1.14). There is no obligation for the ajax subsystem to wait for the first request/response cycle to be fully processed in order to send the next request...

I'll have a second look at your application and find the best way to solve it. Please hold on.