Directory

ScreenDump - Vaadin Add-on Directory

Takes a screen dump of the HTML in browser ScreenDump - Vaadin Add-on Directory
The ScreenDumper is an invisible component that, when requested with takeDump(), takes the entire HTML tree in the browser and sends it back to the server. You can use a ScreenDumpListener to receive the dump. This could be used for various purposes, such as generating PDF from HTML on the server-side, replacement for taking screenshots, for debugging, support purposes, etc. You can view a dump almost directly in a static HTML page by putting it inside a element. You have to 1) remove the Vaadin loader scripts from the beginning of the element, and 2) put all the application and Vaadin themes to the proper location in the server. Experimental, tested so far only on Firefox 4, but should work in others as well. Works only in Vaadin 6. Taking screen dumps is so much easier in Vaadin 7 that the add-on is probably not even needed. See the code example below.