Community
Participate
Working Groups
Build Identifier: When opening a Dialog from a BrowserFunction, the Javascript side does not wait for the dialog to close, but instead goes on immediatly. This means, it is not possible for a BrowserFunction to request user input using a dialog and return the result. As a workaround we currently use the HtmlResponseWriter to "inject" the result into the browser, which of couse leads to serious timing problems. Reproducible: Always
I can confirm that it works in SWT, but not in RAP.
This issue is complicated, because on the client (javascript) we have single-thread model - both browser function and UI work in the same thread. If we block the BrowserFunction on the client to wait for the result, the dialog (GUI) become unresponsive and the application is locked. The "injection" of the result is the only feasible solution.
It's not a critical issue, there seems to be no feasable fix, and there has been no activity for years. Closing this as wontfix.