package com.a2i.test.client;

import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.types.PanelPlacement;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.SelectItem;

public class SmartGwtTest implements EntryPoint {

	@Override
	public void onModuleLoad() {
		SelectItem selectItem = new SelectItem("SELECTITEM", "Select");
		selectItem.setPickListPlacement(PanelPlacement.FILLSCREEN);
		selectItem.setMultiple(true);
		selectItem.setValueMap("Item 1", "Item 2", "Item 3");

		DynamicForm form = new DynamicForm();
		form.setItems(selectItem);
		form.draw();
	}
}
