ParameterHandler not called when vaadin app is embedded

The parameter handler is only called for normal HTTP-requests, not UIDL requests. If you have a custom page that embeds the application the HTTP-request from the browser will go to your index.html and the parameters will be passed along to index.html, not the servlet and thus it will never receive the parameters. The application will then start and do UIDL-requests to the servlet, without the parameters.