createBill.xhtml 1.03 KB
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:tools="http://java.sun.com/jsf/composite/tools"
	xmlns:products="http://java.sun.com/jsf/composite/cditools/products" xmlns:f="http://java.sun.com/jsf/core"
>

<h:body>
	
	<ui:composition template="/layout/#{sessionHandler.layout}/template.xhtml">
		<f:metadata>
			<f:viewParam name="userid" value="#{userView.userid}" />
			<f:event type="preRenderView" listener="#{productShopView.initView}" />
		</f:metadata>
		<ui:define name="title">
			<h1>#{i18n['page.product.createBill.header']}</h1>
		</ui:define>
		<ui:define name="content">
			<h:form id="billshopform">
				<products:shop commitaction="#{productShopView.commitBillCart()}" items="#{productShopView.shoppingcart}"
					commitValue="#{i18n['productshop.commit']}"
				/>
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>