Monday, February 22, 2016

MVP, UIBuilder and View update from the code


         I have View created by UIBuilder withing MVP framework. After it is displayed I would like to swap some elements from the java code upon event. I was able to get widget  and remove it by executing:
        Widget w = rootPane.getWidget(1);

          If I try to add element using code like:

        rootPane.addSouth (new HTML("south"), 5);

          entire view becomes blank. I have tried different ways of adding elements, but it seems I can't add them directly. Entire view is corrupted. What am doing wrong?


You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment