ip2.declare("Portfolio.widget.Manufactor", {
	xtype: 'container',

	requires: [
		"Ext.ux.widget.folderorganizer.Manufacturer"
	],

	closable: true,

	layout: "fit",

	onInitialize: function(i_widget, i_owner) {

		var i_container = i_widget || i_owner;

		i_widget.add({
			xtype: "widgetmanufacturer",

			proxy: ip2.getWepshopProxyUrl(i_container),
			dmd: "webshop.dmd",
			entity: "WSHNAMET00",
			xpd: "names.xpd",

			folderKey: "NAMNAMTKN",
			folderToken: 1,
			folderOrderBy: "jsonGetStr(NAMPROP, \'name\')",
			folderChildCid: 1,
			folderMultiAddChoice: false,

			propertyKey: "NAMPROP",

			contentKey: "NAMPNTTKN",

			expandToLevel: 1,
			levelSelectFirst: 1,

			folderTitle: false
		});
	}
});
