<tabbox
	apply="org.zkoss.bind.BindComposer"
	viewModel="@id('vm') @init('info.bukova.isspst.ui.main.TabPanelsVM')"
	vflex="1">
	<tabs>
		<tab label="${labels.RequirementsGridMy}" />
		<tab
			label="${labels.RequirementsGridMyCentres}"
			disabled="@load(not vm.showCentre)"
			selected="@load(vm.selectCentre)" />
		<tab
			label="${labels.RequirementsGridMyWorkgroups}"
			disabled="@load(not vm.showWorkgroup)"
			selected="@load(vm.selectWorkgroup)" />
		<tab
			label="${labels.RequirementsGridAll}"
			disabled="@load(not vm.showAll)"
			selected="@load(vm.selectAll)" />
	</tabs>
	<tabpanels>
		<tabpanel>
			<include src="${gridMy}" />
		</tabpanel>
		<tabpanel>
			<include src="${gridMyCenters}" />
		</tabpanel>
		<tabpanel>
			<include src="${gridMyWorkgroups}" />
		</tabpanel>
		<tabpanel>
			<include src="${gridAll}" />
		</tabpanel>
	</tabpanels>
</tabbox>
