sp.declare("Peter.foo", {
	requires: [
		"Ext.ux.buffer.view.Form"
	],
	onInitialize: function(i_self) {

		var i_window = Ext.widget("window", {
			layout: "fit",
			resizable: false,
			closable: false,
			items: [
				{
					xtype: "ux.buffer.Form",
					bodyPadding: 10,
					layout: "anchor",
					autoScroll: true,
					defaults: {
						anchor: "100%"
					},
					url: {
						load: "/ip2-services/loadStoreForm.aspx",
						save: "/ip2-services/loadStoreForm.aspx"
					},
					items: [
						{
							xtype: "textfield",
							name: "TEST1",
							fieldLable: "Test 1"
						},
						{
							xtype: "textfield",
							name: "TEST2",
							fieldLable: "Test 2"
						},
						{
							xtype: "textfield",
							name: "TEST3",
							fieldLable: "Test 3"
						}
					]
				}
			]
		});

		i_window.show();

		return null;
	}
});
