Passing external parameters via URL


is it possible now to pass external parameters to application via URL, so application, on first startup and initialization can read them , like http://localhost:8080/myapp?language=fr ?

Not meaning parameters exchange, but just for the initial application instance startup. I just need to be able to launch the same application from different links from a website, passing language code and theme name.

One way is to use custom url fragments, like http://localhost:8080/myapp/fr , which looks nice if you have a single parameter but not if you need to pass several parameters, for which first example seems to be better


Hi Dmitri,

I guess you are looking for Window.setParameterHandler(ParameterHandler) which is used for handling GET or POST parameters. The ParameterHandler should be registered to the main window in the application. See the
Parameter Handler
section of the manual

That’s exactly what I was looking for, thanks a lot !