AttributeFormFieldRegistry.registerCustomFormItem("myTextArea", new DataSourceFieldFactory() {
public DataSourceField create() {
return new DataSourceTextField();
}
}, new FormItemFactory() {
public FormItem create() {
TextAreaItem textAreaItem = new TextAreaItem();
textAreaItem.setColSpan(4);
textAreaItem.setHeight(150);