View Full Version : Repaint/Rerender/dolayout Textfield after setValue with Event

29 Jul 2010, 11:29 PM
Hi all,
i have a problem. I add a widget (LayoutContainer implements EventHandler) with a FormPanel with serveral TextFields with empty values.
I have a working Event that should fill some values into some of that Textfields.
I tried the following:


public void onClientSelected(ClientSelectedEvent event) {
Map<String, Object> datamap = event.getDatamap();

But the textfield doesnt show any value :-( What do i have to do? Is there a repaint or reload function missing in my coding? Thanks for any tip Lars.

30 Jul 2010, 3:26 AM
There should no further action be needed than a simple setValue. Have you tried to reproduce this in a small testcase that implements EntryPoint?

2 Aug 2010, 10:40 PM
Hi Sven,

thanks for your reply - but i made a mistake by myself in creating an object twice (:|

Yes you are right - it works without any refresh function - Great!