Hi,
I currently evaluate Vaadin, if I can use it in my next project. My next application is a web-based JEE5 application. I’m using JBoss AS and the corresponding JBoss plugin for Eclipse. The plugin can start JBoss and the including JEE application in a debug mode, which almost allows an interactive development of the application (hot code replacement) similar to a REPL. Of course, it is also possible to develop interactivly web applications with this plugin. If I change interactivly my test Vaadin application adding a new widget and trigger a reload of the web page, the new widget won’t be displayed. Only after I’ve closed and restarted the web browser, the new widget is visible.
How can I realize a more interactive development? I have to use the JBoss plugin.
I have unsuccessfully tested the following code:
[font=Courier New]
Button b = new Button (“Reload”);
b.addListener (new click listener () {
@ Override
public void click button (click event) {
init ();
main.requestRepaintAll ();
}
});
main.addComponent (b);
[/font]
Cheers,
Dieter.