myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r512000 - /myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp
Date Mon, 26 Feb 2007 20:47:47 GMT
Author: imario
Date: Mon Feb 26 12:47:47 2007
New Revision: 512000

URL: http://svn.apache.org/viewvc?view=rev&rev=512000
Log:
missing files

Added:
    myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp

Added: myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp
URL: http://svn.apache.org/viewvc/myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp?view=auto&rev=512000
==============================================================================
--- myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp (added)
+++ myfaces/fusion/trunk/examples/src/main/webapp/configurator/Checkout.jsp Mon Feb 26 12:47:47
2007
@@ -0,0 +1,104 @@
+<%--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  --%>
+
+<%@ page pageEncoding="UTF-8" %>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s" %>
+
+<f:view>
+	<%@ include file="../header.jspf" %>
+
+	<h:form>
+
+		<t:htmlTag value="h3">
+			<h:outputText value="Buy your PC"/>
+		</t:htmlTag>
+
+		<t:dataTable
+			var="order"
+			value="#{configuratorData.orderItems}"
+			rowClasses="TR1, TR2">
+
+			<f:facet name="footer">
+				<h:panelGroup>
+					<h:commandButton value="Cancel" action="#{configuratorData.cancelAction}"/>
+					<h:commandButton value="Buy" action="#{configuratorData.buyAction}"/>
+				</h:panelGroup>
+			</f:facet>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="position"/>
+				</f:facet>
+				<h:outputText value="#{order.posnr}"/>
+			</h:column>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="count"/>
+				</f:facet>
+				<h:inputText value="#{order.amount}">
+					<s:convertNumber
+						groupingUsed="true"
+						minFractionDigits="0"
+						maxFractionDigits="0"/>
+				</h:inputText>
+			</h:column>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="number"/>
+				</f:facet>
+				<h:outputText value="#{order.piece.number}"/>
+			</h:column>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="description"/>
+				</f:facet>
+				<h:outputText value="#{order.piece.description}"/>
+			</h:column>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="price"/>
+				</f:facet>
+				<h:outputText value="#{order.piece.price}">
+					<f:convertNumber
+						groupingUsed="true"
+						minFractionDigits="2"
+						maxFractionDigits="2"/>
+				</h:outputText>
+			</h:column>
+
+			<h:column>
+				<f:facet name="header">
+					<h:outputText value="value"/>
+				</f:facet>
+				<h:outputText value="???"/>
+			</h:column>
+
+		</t:dataTable>
+
+	</h:form>
+
+	<%@ include file="../footer.jspf" %>
+</f:view>
\ No newline at end of file



Mime
View raw message