During development of an GWT application, we have discovered starnge
behaviour of our application using IE7 or IE8.
The same application ist running wothout any problems under Firefox 3.

One View is causing application reload, every time we click on the
ComboBoxItem.


Here ist the example Code we are using :

import java.util.Collection;
import java.util.Iterator;

import net.customware.gwt.presenter.client.widget.WidgetDisplay;
import ch.rehabnet.ips.client.presenter.ScopeChoicePresenter;
import ch.rehabnet.ips.client.util.Constants;
import ch.rehabnet.ips.common.dto.ScopeDTO;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import com.smartgwt.client.widgets.Button;
import com.smartgwt.client.widgets.events.HasClickHandlers;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.ComboBoxItem;
import com.smartgwt.client.widgets.form.fields.events.ChangeEvent;
import com.smartgwt.client.widgets.form.fields.events.ChangeHandler;
import com.smartgwt.client.widgets.layout.HStack;

public class ScopeChoiceView extends Composite implements
                ScopeChoicePresenter.Display {

        private final Button sendButton;
        private final DynamicForm form;

        public ScopeChoiceView() {
                HStack layout = new HStack();
                initWidget(layout);
                layout.setTitle("Scope");
                layout.setWidth("200px");
                layout.setHeight("200px");
                layout.setLeft("200px");
                layout.setCanDragReposition(true);
                layout.setCanDragResize(true);

                form = new DynamicForm();
                form.setWidth(250);

                ComboBoxItem cbItem = new ComboBoxItem();
                cbItem.setTitle("Select");
                cbItem.setHint("<nobr>A simple ComboBoxItem</nobr>");
                cbItem.setType("comboBox");
                cbItem
                                .setValueMap("Cat", "Dog", "Giraffe", "Goat", 
"Marmoset",
                                                "Mouse");
                form.setFields(cbItem);
                layout.addChild(form);


More strange : using the
<set-property name="user.agent" value="ie8"/>
TAG withing the application.gwt.xml file to compile only for the
specified IE8 browser makes the application running without problems-
of course only for IE8.

Are there any possibilities?

Thanks

-- 
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.

Reply via email to