1

I'm new at vaadin and I want to display some infologs in a textarea. Currently I have set the pushmode in my CustomComponent to PushMode.AUTOMATIC ( @Push(PushMode.AUTOMATIC) ). But this works only the first time. To refresh the text I have to resize the window manual or click a button. I found something called ICEPush but I do not understand this stuff :( and do not found good tutorials...

Has anybody a hint for me?

Thanks for help!

Sheldon
  • 276
  • 3
  • 17

1 Answers1

2

have you made sure you changed the TextArea value using the ui.access method, and called the ui.push() method?

Kind of like this:

ui.access(new Runnable() {
    @Override
    public void run() {
        textArea.setValue(newValue);
        ui.push();
    }
});
Chris M
  • 1,058
  • 1
  • 15
  • 26