I'm having trouble getting the dropdown list working in the Chrome browser. My test app works fine in IE 6 and FireFox. In Chrome, however, the list does not drop after clicking on the dropdown button.
I'm using:
GWT 2
SmartGWT 2.0
Chrome 4.0.249.78
What is interesting is that the dropdown button works correctly on Chrome with the online showcase at http://www.smartclient.com/smartgwt/showcase/#main, but when I build and run the sample in hosted mode on my local system the drop down list also fails in the showcase.
Here's my simple test case:
	
							
						
					I'm using:
GWT 2
SmartGWT 2.0
Chrome 4.0.249.78
What is interesting is that the dropdown button works correctly on Chrome with the online showcase at http://www.smartclient.com/smartgwt/showcase/#main, but when I build and run the sample in hosted mode on my local system the drop down list also fails in the showcase.
Here's my simple test case:
Code:
	
	package newHello.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.SelectItem;
import java.util.LinkedHashMap;
public class NewHello implements EntryPoint 
{
	public void onModuleLoad()
	{
        LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
        valueMap.put("EnterpriseBlue", "Enterprise Blue");
        valueMap.put("Enterprise", "Enterprise Gray");
        
        SelectItem selectItem = new SelectItem();
        selectItem.setHeight(21);
        selectItem.setWidth(130);
        selectItem.setValueMap(valueMap);
        selectItem.setDefaultValue("EnterpriseBlue");
        selectItem.setShowTitle(false);
        
        DynamicForm form = new DynamicForm();
        form.setPadding(0);
        form.setMargin(0);
        form.setCellPadding(1);
        form.setNumCols(1);
        form.setFields(selectItem);
	RootPanel.get().add(form);
	}
}

Comment