Hi, I tried to implement a popuppanel which allows some selection that should be used after that popup is closed. Therefore I implemented some view using uibinder, which represents the popuppanels content:
SelectionView.ui.xml: <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" xmlns:g="urn:import:com.google.gwt.user.client.ui"> <ui:style src="resource/style.css" type="somepackage.Resource.SelectionViewCss" /> <g:VerticalPanel styleName="{style.overlay}"> <g:FlexTable ui:field="selectable" styleName="{style.selectionTable}"/> <g:Button ui:field="close" styleName="{style.closeButton}"/> </g:VerticalPanel> </ui:UiBinder> the view class SelectionView.java according to this is: public class SelectionView extends Composite implements Display { interface SelectionViewUiBinder extends UiBinder<VerticalPanel, SelectionView> { } private static SelectionViewUiBinder uiBinder = GWT.create(SelectionViewUiBinder.class); @UiField Button close; @UiField FlexTable selectable; public SelectionView() { initWidget(uiBinder.createAndBindUi(this)); close.setText("close"); selectable.clear(); selectable.setWidget(0, 0, new Label("use")); } .... this class is supported by the presenter SelectionPresenter.java that contains a Display interface like common in MVP-pattern Finally the popup is created in an ClickEventHandler PopupPanel p = new PopupPanel(); final SelectionView selectionView = new SelectionView(); SelectionPresenter presenter = new SelectionPresenter(service, eventBus, selectionView, item); presenter.present(p); p.setWidget(selectionView); p.show(); Up to this point nothing seems extraordinary to me, but when the popup is shown, there is not only my SelectionView but also an strange panel with 3 Buttons and a scrollBar ( see http://yfrog.com/9hppbugp for screenshot ). I can only reproduce this behaviour in IE8 and only the first time I open the Popup after refreshing the page. can anyone tell me, what I'm doing wrong? Thanks Tsukasa -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
