package test.client;

import com.smartgwt.client.util.SC;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.events.ItemChangedEvent;
import com.smartgwt.client.widgets.form.events.ItemChangedHandler;
import com.smartgwt.client.widgets.form.fields.RichTextItem;
import com.smartgwt.client.widgets.form.fields.TextAreaItem;
import com.smartgwt.client.widgets.form.fields.TextItem;

abstract public class AbstractForm extends DynamicForm {

	public AbstractForm() {

		super();
		
			addItemChangedHandler(new ItemChangedHandler() {
				@Override
				public void onItemChanged(ItemChangedEvent event) {
					SC.say("Item Changed: " + event.getItem().getName());
				}
			});

	}
	
}
