we have an existing, big project with IW and TMS components.
Now we use cgdev components for new pages.
We had constant errors with JQLockIndicator.
After changing between pages we often got "Session invalid".
After deleting JQLockIndicator the project is working correct again.
So we need a way to use the standard IWLocker of Intraweb on cgdev pages.
Following way works only with Intraweb components:
(It works not with Asynch OnClick event)
- Code: Select all
procedure TIWForm2.IWButton2Click(Sender: TObject);
begin
WebApplication.CallBackResponse.AddJavaScriptToExecute( 'ActiveLock();' );
Sleep(5000);
WebApplication.CallBackResponse.AddJavaScriptToExecute( 'ReleaseLock();' );
WebApplication.ShowNotification( 'waiting for 5 seconds' );
end;
Is there a way to use the normal locker?
Kind regards