How to access the Application from the writeAjaxPageHtmlHeader method?

Hi everyone :

First… Vaadin rocks!

Here is my question…
How do we access the Application from the writeAjaxPageHtmlHeader method in ApplicationServlet?

Here is my situation…
I am extending the ApplicationServlet and I override the writeAjaxPageHtmlHeader method in order to write specific meta tags for SEO purposes. The content of these tags needs to be read from the database through a call to a method in the Application (or perhaps getting them through session attributes).

Any help or hint would much appreciated.

Gilles

Hi,

It looks like you’ll have to override
writeAjaxPage()
, which is of course not ideal…

Feel free to add a ticket about making those methods more suitable for customizations - though I doubt changes will make it in to the release very quickly, since this will break the API.

Best Regards,
Marc