You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ws...@apache.org on 2006/09/22 03:28:47 UTC

svn commit: r448761 [4/4] - in /myfaces/tomahawk/trunk: examples/simple/src/main/webapp/ examples/simple/src/main/webapp/inc/ sandbox/examples/src/main/webapp/ sandbox/examples/src/main/webapp/dojo/ sandbox/examples/src/main/webapp/inc/ sandbox/example...

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp Thu Sep 21 18:28:44 2006
@@ -1,67 +1,67 @@
-<%@ 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"%>
-
-<html>
-
-<%@include file="../inc/head.inc" %>
-
-<body>
-<f:view>
-	<h:panelGroup>
-
-		<t:div id="Header">
-			<f:subview id="head">
-				<jsp:include page="../inc/head.jsp" />
-			</f:subview>
-		</t:div>
-		<t:div id="Menu">
-			<f:subview id="nav">
-				<jsp:include page="../inc/navigation.jsp" />
-			</f:subview>
-		</t:div>
-
-		<t:div id="Content">
-			<h:form id="theselectForm">
-			<t:saveState id="thescope"  value="#{ScopeBean}" />
-			<h:panelGrid columns="1">
-				<h:outputFormat value="Frobozz Industrial Magic Order Form" />
-				<h:outputFormat value="Product order form"/>
-			</h:panelGrid>
-
-			<h:panelGrid columns="2" >
-				<h:outputFormat value="product1"/>
-				<h:selectOneMenu value="#{ScopeBean.selectedproduct1}">
-					<f:selectItems value="#{catalog.items}"/>
-				</h:selectOneMenu>
-				<h:outputFormat value="product2"/>
-				<h:selectOneMenu value="#{ScopeBean.selectedproduct2}">
-					<f:selectItems value="#{catalog.items}"/>
-				</h:selectOneMenu>
-				<h:outputFormat value="product3"/>
-				<h:selectOneMenu value="#{ScopeBean.selectedproduct3}">
-					<f:selectItems value="#{catalog.items}"/>
-				</h:selectOneMenu>
-				<h:outputFormat value="product4"/>
-				<h:selectOneMenu value="#{ScopeBean.selectedproduct4}">
-					<f:selectItems value="#{catalog.items}"/>
-				</h:selectOneMenu>
-				<h:outputFormat value="product5"/>
-				<h:selectOneMenu value="#{ScopeBean.selectedproduct5}">
-					<f:selectItems value="#{catalog.items}"/>
-				</h:selectOneMenu>
-			</h:panelGrid>
-
-			<h:panelGrid columns="3">
-				<h:commandLink value="[Next >>>]" action="go_next"/>
-			</h:panelGrid>
-			</h:form>
-		</t:div>
-	</h:panelGroup>
-</f:view>
-</body>
-
-<%@include file="../inc/page_footer.jsp" %>
-
-</html>
+<%@ 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"%>
+
+<html>
+
+<%@include file="../inc/head.inc" %>
+
+<body>
+<f:view>
+	<h:panelGroup>
+
+		<t:div id="Header">
+			<f:subview id="head">
+				<jsp:include page="../inc/head.jsp" />
+			</f:subview>
+		</t:div>
+		<t:div id="Menu">
+			<f:subview id="nav">
+				<jsp:include page="../inc/navigation.jsp" />
+			</f:subview>
+		</t:div>
+
+		<t:div id="Content">
+			<h:form id="theselectForm">
+			<t:saveState id="thescope"  value="#{ScopeBean}" />
+			<h:panelGrid columns="1">
+				<h:outputFormat value="Frobozz Industrial Magic Order Form" />
+				<h:outputFormat value="Product order form"/>
+			</h:panelGrid>
+
+			<h:panelGrid columns="2" >
+				<h:outputFormat value="product1"/>
+				<h:selectOneMenu value="#{ScopeBean.selectedproduct1}">
+					<f:selectItems value="#{catalog.items}"/>
+				</h:selectOneMenu>
+				<h:outputFormat value="product2"/>
+				<h:selectOneMenu value="#{ScopeBean.selectedproduct2}">
+					<f:selectItems value="#{catalog.items}"/>
+				</h:selectOneMenu>
+				<h:outputFormat value="product3"/>
+				<h:selectOneMenu value="#{ScopeBean.selectedproduct3}">
+					<f:selectItems value="#{catalog.items}"/>
+				</h:selectOneMenu>
+				<h:outputFormat value="product4"/>
+				<h:selectOneMenu value="#{ScopeBean.selectedproduct4}">
+					<f:selectItems value="#{catalog.items}"/>
+				</h:selectOneMenu>
+				<h:outputFormat value="product5"/>
+				<h:selectOneMenu value="#{ScopeBean.selectedproduct5}">
+					<f:selectItems value="#{catalog.items}"/>
+				</h:selectOneMenu>
+			</h:panelGrid>
+
+			<h:panelGrid columns="3">
+				<h:commandLink value="[Next >>>]" action="go_next"/>
+			</h:panelGrid>
+			</h:form>
+		</t:div>
+	</h:panelGroup>
+</f:view>
+</body>
+
+<%@include file="../inc/page_footer.jsp" %>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp Thu Sep 21 18:28:44 2006
@@ -1,59 +1,59 @@
-<%@ 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"%>
-
-<html>
-<%@include file="../inc/head.inc" %><body>
-<f:view>
-	<h:panelGroup>
-
-		<t:div id="Header">
-			<f:subview id="head">
-				<jsp:include page="../inc/head.jsp" />
-			</f:subview>
-		</t:div>
-		<t:div id="Menu">
-			<f:subview id="nav">
-				<jsp:include page="../inc/navigation.jsp" />
-			</f:subview>
-		</t:div>
-
-		<t:div id="Content">
-			<h:form id="scopeForm">
-				<t:saveState id="thescope" value="#{ScopeBean}" />
-				<h:panelGrid columns="1">
-					<h:outputFormat value="Frobozz Industrial Magic Order Form" />
-					<h:outputFormat value="Customer data" />
-				</h:panelGrid>
-
-				<h:panelGrid columns="2">
-					<h:outputFormat value="First Name" />
-					<h:inputText id="firstname" value="#{ScopeBean.firstname}" />
-					<h:outputFormat value="Last Name" />
-					<h:inputText id="lastname" value="#{ScopeBean.lastname}" />
-					<h:outputFormat value="Street" />
-					<h:inputText id="street" value="#{ScopeBean.street}" />
-					<h:outputFormat value="Number" />
-					<h:inputText id="strno" value="#{ScopeBean.number}" />
-					<h:outputFormat value="Zip/Area Code" />
-					<h:inputText id="zip" value="#{ScopeBean.zipcode}" />
-					<h:outputFormat value="City" />
-					<h:inputText id="city" value="#{ScopeBean.city}" />
-					<h:outputFormat value="Country" />
-					<h:inputText id="country" value="#{ScopeBean.country}" />
-
-				</h:panelGrid>
-
-				<h:panelGrid columns="4">
-					<h:commandLink value="[Reset Order]" action="go_reset" />
-					<h:commandLink value="[<<< Previous]" action="go_first" />
-					<h:commandLink value="[Next >>>]" action="go_next" />
-				</h:panelGrid>
-			</h:form>
-		</t:div>
-	</h:panelGroup>
-</f:view>
-</body>
-<%@include file="../inc/page_footer.jsp" %>
-</html>
+<%@ 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"%>
+
+<html>
+<%@include file="../inc/head.inc" %><body>
+<f:view>
+	<h:panelGroup>
+
+		<t:div id="Header">
+			<f:subview id="head">
+				<jsp:include page="../inc/head.jsp" />
+			</f:subview>
+		</t:div>
+		<t:div id="Menu">
+			<f:subview id="nav">
+				<jsp:include page="../inc/navigation.jsp" />
+			</f:subview>
+		</t:div>
+
+		<t:div id="Content">
+			<h:form id="scopeForm">
+				<t:saveState id="thescope" value="#{ScopeBean}" />
+				<h:panelGrid columns="1">
+					<h:outputFormat value="Frobozz Industrial Magic Order Form" />
+					<h:outputFormat value="Customer data" />
+				</h:panelGrid>
+
+				<h:panelGrid columns="2">
+					<h:outputFormat value="First Name" />
+					<h:inputText id="firstname" value="#{ScopeBean.firstname}" />
+					<h:outputFormat value="Last Name" />
+					<h:inputText id="lastname" value="#{ScopeBean.lastname}" />
+					<h:outputFormat value="Street" />
+					<h:inputText id="street" value="#{ScopeBean.street}" />
+					<h:outputFormat value="Number" />
+					<h:inputText id="strno" value="#{ScopeBean.number}" />
+					<h:outputFormat value="Zip/Area Code" />
+					<h:inputText id="zip" value="#{ScopeBean.zipcode}" />
+					<h:outputFormat value="City" />
+					<h:inputText id="city" value="#{ScopeBean.city}" />
+					<h:outputFormat value="Country" />
+					<h:inputText id="country" value="#{ScopeBean.country}" />
+
+				</h:panelGrid>
+
+				<h:panelGrid columns="4">
+					<h:commandLink value="[Reset Order]" action="go_reset" />
+					<h:commandLink value="[<<< Previous]" action="go_first" />
+					<h:commandLink value="[Next >>>]" action="go_next" />
+				</h:panelGrid>
+			</h:form>
+		</t:div>
+	</h:panelGroup>
+</f:view>
+</body>
+<%@include file="../inc/page_footer.jsp" %>
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp Thu Sep 21 18:28:44 2006
@@ -1,63 +1,63 @@
-<%@ 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"%>
-
-<html>
-
-<html>
-<%@include file="../inc/head.inc" %>
-<body>
-<f:view>
-	<h:panelGroup>
-		<t:div id="Header">
-			<f:subview id="head">
-				<jsp:include page="../inc/head.jsp" />
-			</f:subview>
-		</t:div>
-		<t:div id="Menu">
-			<f:subview id="nav">
-				<jsp:include page="../inc/navigation.jsp" />
-			</f:subview>
-		</t:div>
-
-		<t:div id="Content">
-			<h:form id="scopeForm">
-				<t:saveState id="thescope" value="#{ScopeBean}" />
-
-				<h:panelGrid columns="1">
-					<h:outputFormat value="Frobozz Industrial Magic Order Form" />
-					<h:outputFormat value="Thank you for shopping at Frobozz Industrial Magic" />
-				</h:panelGrid>
-
-				<h:panelGrid columns="2">
-
-					<h:outputFormat value="First Name" />
-					<h:outputFormat id="firstname" value="#{ScopeBean.firstname}" />
-					<h:outputFormat value="Last Name" />
-					<h:outputFormat id="lastname" value="#{ScopeBean.lastname}" />
-					<h:outputFormat value="Street" />
-					<h:outputFormat id="street" value="#{ScopeBean.street}" />
-					<h:outputFormat value="Number" />
-					<h:outputFormat id="strno" value="#{ScopeBean.number}" />
-					<h:outputFormat value="Zip/Area Code" />
-					<h:outputFormat id="zip" value="#{ScopeBean.zipcode}" />
-					<h:outputFormat value="City" />
-					<h:outputFormat id="city" value="#{ScopeBean.city}" />
-					<h:outputFormat value="Country" />
-					<h:outputFormat id="country" value="#{ScopeBean.country}" />
-					<h:outputFormat value="Itemslist" />
-					<h:outputFormat id="itemsno" value="#{ScopeBean.itemsList}" />
-
-				</h:panelGrid>
-
-				<h:panelGrid columns="3">
-					<h:commandLink value="[<<< Previous]" action="go_previous" />
-				</h:panelGrid>
-			</h:form>
-		</t:div>
-	</h:panelGroup>
-</f:view>
-</body>
-<%@include file="../inc/page_footer.jsp" %>
-</html>
+<%@ 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"%>
+
+<html>
+
+<html>
+<%@include file="../inc/head.inc" %>
+<body>
+<f:view>
+	<h:panelGroup>
+		<t:div id="Header">
+			<f:subview id="head">
+				<jsp:include page="../inc/head.jsp" />
+			</f:subview>
+		</t:div>
+		<t:div id="Menu">
+			<f:subview id="nav">
+				<jsp:include page="../inc/navigation.jsp" />
+			</f:subview>
+		</t:div>
+
+		<t:div id="Content">
+			<h:form id="scopeForm">
+				<t:saveState id="thescope" value="#{ScopeBean}" />
+
+				<h:panelGrid columns="1">
+					<h:outputFormat value="Frobozz Industrial Magic Order Form" />
+					<h:outputFormat value="Thank you for shopping at Frobozz Industrial Magic" />
+				</h:panelGrid>
+
+				<h:panelGrid columns="2">
+
+					<h:outputFormat value="First Name" />
+					<h:outputFormat id="firstname" value="#{ScopeBean.firstname}" />
+					<h:outputFormat value="Last Name" />
+					<h:outputFormat id="lastname" value="#{ScopeBean.lastname}" />
+					<h:outputFormat value="Street" />
+					<h:outputFormat id="street" value="#{ScopeBean.street}" />
+					<h:outputFormat value="Number" />
+					<h:outputFormat id="strno" value="#{ScopeBean.number}" />
+					<h:outputFormat value="Zip/Area Code" />
+					<h:outputFormat id="zip" value="#{ScopeBean.zipcode}" />
+					<h:outputFormat value="City" />
+					<h:outputFormat id="city" value="#{ScopeBean.city}" />
+					<h:outputFormat value="Country" />
+					<h:outputFormat id="country" value="#{ScopeBean.country}" />
+					<h:outputFormat value="Itemslist" />
+					<h:outputFormat id="itemsno" value="#{ScopeBean.itemsList}" />
+
+				</h:panelGrid>
+
+				<h:panelGrid columns="3">
+					<h:commandLink value="[<<< Previous]" action="go_previous" />
+				</h:panelGrid>
+			</h:form>
+		</t:div>
+	</h:panelGroup>
+</f:view>
+</body>
+<%@include file="../inc/page_footer.jsp" %>
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp Thu Sep 21 18:28:44 2006
@@ -1,32 +1,32 @@
-<%@ 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"%>
-
-<html>
-<%@include file="../inc/head.inc" %>
-<body>
-<f:view>
-	<h:panelGroup>
-		<t:div id="Header">
-			<f:subview id="head">
-				<jsp:include page="../inc/head.jsp" />
-			</f:subview>
-		</t:div>
-		<t:div id="Menu">
-			<f:subview id="nav">
-				<jsp:include page="../inc/navigation.jsp" />
-			</f:subview>
-		</t:div>
-
-		<t:div id="Content">
-			<h:panelGrid columns="1">
-				<h:outputFormat value="Order reset, press ok to begin anew" />
-				<h:commandLink value="[OK]" action="go_first"></h:commandLink>
-			</h:panelGrid>
-		</t:div>
-	</h:panelGroup>
-</f:view>
-</body>
-<%@include file="../inc/page_footer.jsp" %>
-</html>
+<%@ 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"%>
+
+<html>
+<%@include file="../inc/head.inc" %>
+<body>
+<f:view>
+	<h:panelGroup>
+		<t:div id="Header">
+			<f:subview id="head">
+				<jsp:include page="../inc/head.jsp" />
+			</f:subview>
+		</t:div>
+		<t:div id="Menu">
+			<f:subview id="nav">
+				<jsp:include page="../inc/navigation.jsp" />
+			</f:subview>
+		</t:div>
+
+		<t:div id="Content">
+			<h:panelGrid columns="1">
+				<h:outputFormat value="Order reset, press ok to begin anew" />
+				<h:commandLink value="[OK]" action="go_first"></h:commandLink>
+			</h:panelGrid>
+		</t:div>
+	</h:panelGroup>
+</f:view>
+</body>
+<%@include file="../inc/page_footer.jsp" %>
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectItems.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectItems.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectItems.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectItems.jsp Thu Sep 21 18:28:44 2006
@@ -1,51 +1,51 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-<html>
-
-<!--
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-    <h:form>
-		<h:selectOneMenu id="menu1" value="#{selectItemsBean.selectedCarColor}">
-   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
-		</h:selectOneMenu>
-		
-        <h:selectOneRadio id="radio1" value="#{selectItemsBean.selectedCarColor}">
-   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
-        </h:selectOneRadio>
-        
-        <h:selectOneListbox id="list1" value="#{selectItemsBean.selectedCarColor}">
-   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
-        </h:selectOneListbox>
-    </h:form>
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=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"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <h:form>
+		<h:selectOneMenu id="menu1" value="#{selectItemsBean.selectedCarColor}">
+   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
+		</h:selectOneMenu>
+		
+        <h:selectOneRadio id="radio1" value="#{selectItemsBean.selectedCarColor}">
+   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
+        </h:selectOneRadio>
+        
+        <h:selectOneListbox id="list1" value="#{selectItemsBean.selectedCarColor}">
+   			<s:selectItems value="#{selectItemsBean.carList}" var="Car" itemLabel="#{Car.type}" itemValue="#{Car.color}" />
+        </h:selectOneListbox>
+    </h:form>
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectItems.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectOneRow.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectOneRow.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectOneRow.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectOneRow.jsp Thu Sep 21 18:28:44 2006
@@ -1,141 +1,141 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-<html>
-
-<!--
-/*
- * Copyright 2004-2005 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-
-<%@include file="inc/head.inc" %>
-
-<body>
-
-<f:view>
-
-    <h:form>
-
-
-    <h:panelGroup id="body">
-
-        <t:dataTable id="data"
-                styleClass="scrollerTable"
-                headerClass="standardTable_Header"
-                footerClass="standardTable_Header"
-                rowClasses="standardTable_Row1,standardTable_Row2"
-                columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
-                var="car"
-                value="#{selectOneRowList.list}"
-                preserveDataModel="false"
-                rows="10"
-           >
-           <h:column>
-               <f:facet name="header">
-                   <h:outputText value="Select"/>
-               </f:facet>
-               <s:selectOneRow  groupName="selection" id="hugo" value="#{selectOneRowList.selectedRowIndex}"
-                       onchange="submit();" immediate="true"
-                       valueChangeListener="#{selectOneRowList.processRowSelection}"/>
-           </h:column>
-           <h:column>
-               <f:facet name="header">
-               </f:facet>
-               <h:outputText value="#{car.id}" />
-           </h:column>
-
-           <h:column>
-               <f:facet name="header">
-                  <h:outputText value="Cars" />
-               </f:facet>
-               <h:outputText value="#{car.type}" />
-           </h:column>
-
-           <h:column>
-               <f:facet name="header">
-                  <h:outputText value="Color" />
-               </f:facet>
-               <h:outputText value="#{car.color}" />
-           </h:column>
-
-        </t:dataTable>
-
-        <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
-            <t:dataScroller id="scroll_1"
-                    for="data"
-                    fastStep="10"
-                    pageCountVar="pageCount"
-                    pageIndexVar="pageIndex"
-                    styleClass="scroller"
-                    paginator="true"
-                    paginatorMaxPages="9"
-                    paginatorTableClass="paginator"
-                    paginatorActiveColumnStyle="font-weight:bold;"
-                    actionListener="#{selectOneRowList.scrollerAction}"
-                    >
-                <f:facet name="first" >
-                    <h:outputText value="First" />
-                </f:facet>
-                <f:facet name="last">
-                    <h:outputText value="Last" />
-                </f:facet>
-                <f:facet name="previous">
-                    <h:outputText value="Prev" />
-                </f:facet>
-                <f:facet name="next">
-                    <h:outputText value="Next" />
-                </f:facet>
-                <f:facet name="fastforward">
-                    <h:outputText value="FFW" />
-                </f:facet>
-                <f:facet name="fastrewind">
-                    <h:outputText value="FRW" />
-                </f:facet>
-            </t:dataScroller>
-            <t:dataScroller id="scroll_2"
-                    for="data"
-                    rowsCountVar="rowsCount"
-                    displayedRowsCountVar="displayedRowsCountVar"
-                    firstRowIndexVar="firstRowIndex"
-                    lastRowIndexVar="lastRowIndex"
-                    pageCountVar="pageCount"
-                    immediate="true"
-                    pageIndexVar="pageIndex"
-                    >
-                <h:outputFormat value="#{example_messages['dataScroller_pages']}" styleClass="standard" >
-                    <f:param value="#{rowsCount}" />
-                    <f:param value="#{displayedRowsCountVar}" />
-                    <f:param value="#{firstRowIndex}" />
-                    <f:param value="#{lastRowIndex}" />
-                    <f:param value="#{pageIndex}" />
-                    <f:param value="#{pageCount}" />
-                </h:outputFormat>
-            </t:dataScroller>
-            <h:outputText value="#{selectOneRowList.selectionMessage}" />
-            <h:commandButton value="Select" />
-        </h:panelGrid>
-
-    </h:panelGroup>
-    </h:form>
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=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"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004-2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <h:form>
+
+
+    <h:panelGroup id="body">
+
+        <t:dataTable id="data"
+                styleClass="scrollerTable"
+                headerClass="standardTable_Header"
+                footerClass="standardTable_Header"
+                rowClasses="standardTable_Row1,standardTable_Row2"
+                columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
+                var="car"
+                value="#{selectOneRowList.list}"
+                preserveDataModel="false"
+                rows="10"
+           >
+           <h:column>
+               <f:facet name="header">
+                   <h:outputText value="Select"/>
+               </f:facet>
+               <s:selectOneRow  groupName="selection" id="hugo" value="#{selectOneRowList.selectedRowIndex}"
+                       onchange="submit();" immediate="true"
+                       valueChangeListener="#{selectOneRowList.processRowSelection}"/>
+           </h:column>
+           <h:column>
+               <f:facet name="header">
+               </f:facet>
+               <h:outputText value="#{car.id}" />
+           </h:column>
+
+           <h:column>
+               <f:facet name="header">
+                  <h:outputText value="Cars" />
+               </f:facet>
+               <h:outputText value="#{car.type}" />
+           </h:column>
+
+           <h:column>
+               <f:facet name="header">
+                  <h:outputText value="Color" />
+               </f:facet>
+               <h:outputText value="#{car.color}" />
+           </h:column>
+
+        </t:dataTable>
+
+        <h:panelGrid columns="1" styleClass="scrollerTable2" columnClasses="standardTable_ColumnCentered" >
+            <t:dataScroller id="scroll_1"
+                    for="data"
+                    fastStep="10"
+                    pageCountVar="pageCount"
+                    pageIndexVar="pageIndex"
+                    styleClass="scroller"
+                    paginator="true"
+                    paginatorMaxPages="9"
+                    paginatorTableClass="paginator"
+                    paginatorActiveColumnStyle="font-weight:bold;"
+                    actionListener="#{selectOneRowList.scrollerAction}"
+                    >
+                <f:facet name="first" >
+                    <h:outputText value="First" />
+                </f:facet>
+                <f:facet name="last">
+                    <h:outputText value="Last" />
+                </f:facet>
+                <f:facet name="previous">
+                    <h:outputText value="Prev" />
+                </f:facet>
+                <f:facet name="next">
+                    <h:outputText value="Next" />
+                </f:facet>
+                <f:facet name="fastforward">
+                    <h:outputText value="FFW" />
+                </f:facet>
+                <f:facet name="fastrewind">
+                    <h:outputText value="FRW" />
+                </f:facet>
+            </t:dataScroller>
+            <t:dataScroller id="scroll_2"
+                    for="data"
+                    rowsCountVar="rowsCount"
+                    displayedRowsCountVar="displayedRowsCountVar"
+                    firstRowIndexVar="firstRowIndex"
+                    lastRowIndexVar="lastRowIndex"
+                    pageCountVar="pageCount"
+                    immediate="true"
+                    pageIndexVar="pageIndex"
+                    >
+                <h:outputFormat value="#{example_messages['dataScroller_pages']}" styleClass="standard" >
+                    <f:param value="#{rowsCount}" />
+                    <f:param value="#{displayedRowsCountVar}" />
+                    <f:param value="#{firstRowIndex}" />
+                    <f:param value="#{lastRowIndex}" />
+                    <f:param value="#{pageIndex}" />
+                    <f:param value="#{pageCount}" />
+                </h:outputFormat>
+            </t:dataScroller>
+            <h:outputText value="#{selectOneRowList.selectionMessage}" />
+            <h:commandButton value="Select" />
+        </h:panelGrid>
+
+    </h:panelGroup>
+    </h:form>
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/selectOneRow.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/subForm.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/subForm.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/subForm.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/subForm.jsp Thu Sep 21 18:28:44 2006
@@ -1,89 +1,89 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-
-<body>
-
-<f:view>
-    <h:form>
-        <h:panelGrid>
-            <t:messages showDetail="true" showSummary="false"/>
-            <h:outputText value="Example for partial validation"/>
-            <s:subForm id="personForm">
-                <h:outputText value="Person" style="font-weight:bold;"/>
-                <h:panelGrid columns="2">
-                    <h:outputLabel for="firstName" value="First name:"/>
-                    <h:inputText id="firstName" value="#{subFormBean.firstName}" required="true"/>
-                    <h:outputLabel for="lastName" value="Last name:"/>
-                    <h:inputText id="lastName" value="#{subFormBean.lastName}" required="true"/>
-                    <h:outputText value="Partial condition"/>
-                    <h:selectBooleanCheckbox value="false"                                              
-                                             onchange="personForm_submit();"/>                   
-                </h:panelGrid>
-                <h:commandButton value="Show current values of Person"/>
-            </s:subForm>
-            
-            <s:subForm id="vehicleForm">
-                <h:outputText value="Vehicle" style="font-weight:bold;"/>
-                <h:panelGrid columns="2">
-                    <h:outputLabel for="firstName" value="Type:"/>
-                    <h:inputText id="firstName" value="#{subFormBean.type}" required="true"/>
-                    <h:outputLabel for="lastName" value="Make:"/>
-                    <h:inputText id="lastName" value="#{subFormBean.make}" required="true"/>
-                    <h:outputText value="Partial condition"/>
-                    <h:selectBooleanCheckbox value="false"                                              
-                                             onchange="vehicleForm_submit();"/>  
-                </h:panelGrid>
-                <h:commandButton value="Show current values of Vehicle"/>
-            </s:subForm>
-                       
-            <t:commandButton value="Show current values of Person" actionFor="personForm"/>
-            <t:commandButton value="Show current values of Vehicle" actionFor="vehicleForm"/>
-            <t:commandButton value="Show current values of Person and Vehicle (actionFor for both forms set)" actionFor="personForm,vehicleForm"/>
-            <h:commandButton value="Show current values of Person and Vehicle (no actionFor set), standard button"/>
-            <t:commandButton value="Show current values of Person and Vehicle (no actionFor set), extended button"/>
-
-            <h:panelGrid columns="2">
-                <h:outputText value="First name of Person:"/>
-                <h:outputText value="#{subFormBean.firstName}"/>
-                <h:outputText value="Last name of Person:"/>
-                <h:outputText value="#{subFormBean.lastName}"/>
-                <h:outputText value="Type of vehicle:"/>
-                <h:outputText value="#{subFormBean.type}"/>
-                <h:outputText value="Make of vehicle:"/>
-                <h:outputText value="#{subFormBean.make}"/>
-            </h:panelGrid>
-        </h:panelGrid>
-
-    </h:form>
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=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"%>
+
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+
+<body>
+
+<f:view>
+    <h:form>
+        <h:panelGrid>
+            <t:messages showDetail="true" showSummary="false"/>
+            <h:outputText value="Example for partial validation"/>
+            <s:subForm id="personForm">
+                <h:outputText value="Person" style="font-weight:bold;"/>
+                <h:panelGrid columns="2">
+                    <h:outputLabel for="firstName" value="First name:"/>
+                    <h:inputText id="firstName" value="#{subFormBean.firstName}" required="true"/>
+                    <h:outputLabel for="lastName" value="Last name:"/>
+                    <h:inputText id="lastName" value="#{subFormBean.lastName}" required="true"/>
+                    <h:outputText value="Partial condition"/>
+                    <h:selectBooleanCheckbox value="false"                                              
+                                             onchange="personForm_submit();"/>                   
+                </h:panelGrid>
+                <h:commandButton value="Show current values of Person"/>
+            </s:subForm>
+            
+            <s:subForm id="vehicleForm">
+                <h:outputText value="Vehicle" style="font-weight:bold;"/>
+                <h:panelGrid columns="2">
+                    <h:outputLabel for="firstName" value="Type:"/>
+                    <h:inputText id="firstName" value="#{subFormBean.type}" required="true"/>
+                    <h:outputLabel for="lastName" value="Make:"/>
+                    <h:inputText id="lastName" value="#{subFormBean.make}" required="true"/>
+                    <h:outputText value="Partial condition"/>
+                    <h:selectBooleanCheckbox value="false"                                              
+                                             onchange="vehicleForm_submit();"/>  
+                </h:panelGrid>
+                <h:commandButton value="Show current values of Vehicle"/>
+            </s:subForm>
+                       
+            <t:commandButton value="Show current values of Person" actionFor="personForm"/>
+            <t:commandButton value="Show current values of Vehicle" actionFor="vehicleForm"/>
+            <t:commandButton value="Show current values of Person and Vehicle (actionFor for both forms set)" actionFor="personForm,vehicleForm"/>
+            <h:commandButton value="Show current values of Person and Vehicle (no actionFor set), standard button"/>
+            <t:commandButton value="Show current values of Person and Vehicle (no actionFor set), extended button"/>
+
+            <h:panelGrid columns="2">
+                <h:outputText value="First name of Person:"/>
+                <h:outputText value="#{subFormBean.firstName}"/>
+                <h:outputText value="Last name of Person:"/>
+                <h:outputText value="#{subFormBean.lastName}"/>
+                <h:outputText value="Type of vehicle:"/>
+                <h:outputText value="#{subFormBean.type}"/>
+                <h:outputText value="Make of vehicle:"/>
+                <h:outputText value="#{subFormBean.make}"/>
+            </h:panelGrid>
+        </h:panelGrid>
+
+    </h:form>
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/subForm.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/tableSuggestAjax.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/tableSuggestAjax.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/tableSuggestAjax.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/tableSuggestAjax.jsp Thu Sep 21 18:28:44 2006
@@ -1,89 +1,89 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-              
-<body>
-
-<f:view>
-    
-   <h:form id="ajaxform">
-
-     <f:verbatim><br/><br/><br/><br/></f:verbatim>
-
-     <h:panelGrid >
-        <h:panelGrid columns="4">
-         <f:verbatim> City Names starting with 'Sa' <br/> Suggest starts with 2. char </f:verbatim>
-         <s:tableSuggestAjax var="address" id="suggest" startRequest="2"
-                             nextPageFieldClass="ajaxNextTablePageField"
-                             value="#{inputSuggestAjax.suggestValue}" betweenKeyUp="300"
-                             columnOutClass="tableSuggestOut" columnHoverClass="tableSuggestHover"
-                             suggestedItemsMethod="#{inputSuggestAjax.getCityList}"
-                             tableStyleClass="ajaxTable" charset="utf-8">
-            <t:column>
-                 <f:facet name="header">
-                     <s:outputText value="City"/>
-                 </f:facet>
-                 <s:outputText for="suggest" label="#{address.city}"/>
-             </t:column>
-             <t:column>
-                 <f:facet name="header">
-                     <s:outputText value="Zip"/>
-                 </f:facet>
-                 <s:outputText for="zipField" label="#{address.zip}"/>
-             </t:column>
-             <t:column>
-                 <f:facet name="header">
-                     <s:outputText value="State"/>
-                 </f:facet>
-                 <s:outputText forValue="stateField" label="#{address.stateName}" value="#{address.stateCode}"/>
-             </t:column>
-         </s:tableSuggestAjax>
-             
-     </h:panelGrid>
-         <f:verbatim><br/><br/><br/><br/><br/></f:verbatim>
-         <h:panelGrid>
-             <h:commandButton/>
-             <h:outputText value="Zip Code"/>
-             <t:inputText id="zipField" />
-             <h:outputText value="State"/>
-             <t:selectOneMenu id="stateField">
-                  <f:selectItem value="" itemLabel="New York" itemValue="NY"/>
-                  <f:selectItem value="" itemLabel="California" itemValue="CA"/>
-                  <f:selectItem value="" itemLabel="Texas" itemValue="TX"/>
-             </t:selectOneMenu>
-         </h:panelGrid>
- </h:panelGrid>
-    </h:form>
-    
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
-
+<%@ page session="false" contentType="text/html;charset=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"%>
+
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+              
+<body>
+
+<f:view>
+    
+   <h:form id="ajaxform">
+
+     <f:verbatim><br/><br/><br/><br/></f:verbatim>
+
+     <h:panelGrid >
+        <h:panelGrid columns="4">
+         <f:verbatim> City Names starting with 'Sa' <br/> Suggest starts with 2. char </f:verbatim>
+         <s:tableSuggestAjax var="address" id="suggest" startRequest="2"
+                             nextPageFieldClass="ajaxNextTablePageField"
+                             value="#{inputSuggestAjax.suggestValue}" betweenKeyUp="300"
+                             columnOutClass="tableSuggestOut" columnHoverClass="tableSuggestHover"
+                             suggestedItemsMethod="#{inputSuggestAjax.getCityList}"
+                             tableStyleClass="ajaxTable" charset="utf-8">
+            <t:column>
+                 <f:facet name="header">
+                     <s:outputText value="City"/>
+                 </f:facet>
+                 <s:outputText for="suggest" label="#{address.city}"/>
+             </t:column>
+             <t:column>
+                 <f:facet name="header">
+                     <s:outputText value="Zip"/>
+                 </f:facet>
+                 <s:outputText for="zipField" label="#{address.zip}"/>
+             </t:column>
+             <t:column>
+                 <f:facet name="header">
+                     <s:outputText value="State"/>
+                 </f:facet>
+                 <s:outputText forValue="stateField" label="#{address.stateName}" value="#{address.stateCode}"/>
+             </t:column>
+         </s:tableSuggestAjax>
+             
+     </h:panelGrid>
+         <f:verbatim><br/><br/><br/><br/><br/></f:verbatim>
+         <h:panelGrid>
+             <h:commandButton/>
+             <h:outputText value="Zip Code"/>
+             <t:inputText id="zipField" />
+             <h:outputText value="State"/>
+             <t:selectOneMenu id="stateField">
+                  <f:selectItem value="" itemLabel="New York" itemValue="NY"/>
+                  <f:selectItem value="" itemLabel="California" itemValue="CA"/>
+                  <f:selectItem value="" itemLabel="Texas" itemValue="TX"/>
+             </t:selectOneMenu>
+         </h:panelGrid>
+ </h:panelGrid>
+    </h:form>
+    
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
+

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/tableSuggestAjax.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/template/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateCSV.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateCSV.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateCSV.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateCSV.jsp Thu Sep 21 18:28:44 2006
@@ -1,72 +1,72 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-
-<body>
-
-<!--
-managed beans used:
-    validateForm
--->
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <h:panelGroup id="body">
-
-	<h:form id="form1">
-		<h:panelGrid columns="3">
-		
-			<h:outputLabel for="email" value="#{example_messages['email_comma']}" />
-			<h:inputText id="email" value="#{validateForm.email}" required="true">
-				<s:validateCSV subvalidatorId="org.apache.myfaces.validator.Email" />
-			</h:inputText>
-			<t:message id="emailError" for="email" styleClass="error" />
-			
-			<h:outputLabel for="creditCardNumber" value="#{example_messages['credit_dot']}" />
-			<h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
-				<s:validateCSV subvalidatorId="org.apache.myfaces.validator.CreditCard" separator="\\." />
-			</h:inputText>
-			<t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error" />
-			
-			<h:panelGroup/>
-			<h:commandButton id="validateButton" value="#{example_messages['button_submit']}" action="#{validateForm.submit}"/>
-			<h:panelGroup/>
-		
-		</h:panelGrid>
-	</h:form>
-
-    </h:panelGroup>
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=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"%>
+
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+
+<body>
+
+<!--
+managed beans used:
+    validateForm
+-->
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <h:panelGroup id="body">
+
+	<h:form id="form1">
+		<h:panelGrid columns="3">
+		
+			<h:outputLabel for="email" value="#{example_messages['email_comma']}" />
+			<h:inputText id="email" value="#{validateForm.email}" required="true">
+				<s:validateCSV subvalidatorId="org.apache.myfaces.validator.Email" />
+			</h:inputText>
+			<t:message id="emailError" for="email" styleClass="error" />
+			
+			<h:outputLabel for="creditCardNumber" value="#{example_messages['credit_dot']}" />
+			<h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
+				<s:validateCSV subvalidatorId="org.apache.myfaces.validator.CreditCard" separator="\\." />
+			</h:inputText>
+			<t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error" />
+			
+			<h:panelGroup/>
+			<h:commandButton id="validateButton" value="#{example_messages['button_submit']}" action="#{validateForm.submit}"/>
+			<h:panelGroup/>
+		
+		</h:panelGrid>
+	</h:form>
+
+    </h:panelGroup>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateCSV.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateUrl.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateUrl.jsp?view=diff&rev=448761&r1=448760&r2=448761
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateUrl.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateUrl.jsp Thu Sep 21 18:28:44 2006
@@ -1,100 +1,100 @@
-<%@ page session="false" contentType="text/html;charset=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"%>
-
-<html>
-
-<%@include file="inc/head.inc" %>
-
-<!--
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed 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.
- */
-//-->
-
-<body>
-
-<!--
-managed beans used:
-    validateForm
--->
-
-<f:view>
-
-    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
-
-    <h:panelGroup id="body">
-
-	<h:form id="form1">
-		<h:panelGrid columns="3">
-		
-			<h:outputLabel for="email" value="#{example_messages['validate_email']}" />
-			<h:inputText id="email" value="#{validateForm.email}" required="true">
-				<f:validator validatorId="org.apache.myfaces.validator.Email"/>
-			</h:inputText>
-			<t:message id="emailError" for="email" styleClass="error" />
-			
-			<h:outputLabel for="email2" value="#{example_messages['validate_email']}2" />
-			<h:inputText id="email2" value="#{validateForm.email2}" required="true">
-				<t:validateEmail />
-			</h:inputText>
-			<t:message id="emailError2" for="email2" styleClass="error" />
-			
-			<h:outputLabel for="creditCardNumber" value="#{example_messages['validate_credit']}" />
-			<h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
-				<t:validateCreditCard />
-			</h:inputText>
-			<t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error" />
-			
-			<h:outputLabel for="url" value="#{example_messages['validate_url']}" />
-			<h:inputText id="url" value="#{validateForm.url}" required="true">
-				<s:validateUrl />
-			</h:inputText>
-			<t:message id="urlError" for="url" styleClass="error" />
-			
-			<h:outputLabel for="regExprValue" value="#{example_messages['validate_regexp']}" />
-			<h:inputText id="regExprValue" value="#{validateForm.regExpr}" required="true">
-				<t:validateRegExpr pattern='\d{5}' />
-			</h:inputText>
-			<t:message id="regExprValueError" for="regExprValue" styleClass="error" />
-			
-			<h:outputLabel for="equal" value="#{example_messages['validate_equal']}" />
-			<h:inputText id="equal" value="#{validateForm.equal}" required="true"/>
-			<t:message id="equalError" for="equal" styleClass="error" />
-			
-			<h:outputLabel for="equal2" value="#{example_messages['validate_equal']}2" />
-			<h:inputText id="equal2" value="#{validateForm.equal2}" required="true">
-				<t:validateEqual for="equal" />
-			</h:inputText>
-			<t:message id="equal2Error" for="equal2" styleClass="error" />
-			
-			<h:panelGroup/>
-			<h:commandButton id="validateButton" value="#{example_messages['button_submit']}" action="#{validateForm.submit}"/>
-			<h:panelGroup/>
-		
-		</h:panelGrid>
-	</h:form>
-
-    </h:panelGroup>
-
-</f:view>
-
-<%@include file="inc/page_footer.jsp" %>
-
-</body>
-
-</html>
+<%@ page session="false" contentType="text/html;charset=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"%>
+
+<html>
+
+<%@include file="inc/head.inc" %>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+//-->
+
+<body>
+
+<!--
+managed beans used:
+    validateForm
+-->
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <h:panelGroup id="body">
+
+	<h:form id="form1">
+		<h:panelGrid columns="3">
+		
+			<h:outputLabel for="email" value="#{example_messages['validate_email']}" />
+			<h:inputText id="email" value="#{validateForm.email}" required="true">
+				<f:validator validatorId="org.apache.myfaces.validator.Email"/>
+			</h:inputText>
+			<t:message id="emailError" for="email" styleClass="error" />
+			
+			<h:outputLabel for="email2" value="#{example_messages['validate_email']}2" />
+			<h:inputText id="email2" value="#{validateForm.email2}" required="true">
+				<t:validateEmail />
+			</h:inputText>
+			<t:message id="emailError2" for="email2" styleClass="error" />
+			
+			<h:outputLabel for="creditCardNumber" value="#{example_messages['validate_credit']}" />
+			<h:inputText id="creditCardNumber" value="#{validateForm.creditCardNumber}" required="true">
+				<t:validateCreditCard />
+			</h:inputText>
+			<t:message id="creditCardNumberError" for="creditCardNumber" styleClass="error" />
+			
+			<h:outputLabel for="url" value="#{example_messages['validate_url']}" />
+			<h:inputText id="url" value="#{validateForm.url}" required="true">
+				<s:validateUrl />
+			</h:inputText>
+			<t:message id="urlError" for="url" styleClass="error" />
+			
+			<h:outputLabel for="regExprValue" value="#{example_messages['validate_regexp']}" />
+			<h:inputText id="regExprValue" value="#{validateForm.regExpr}" required="true">
+				<t:validateRegExpr pattern='\d{5}' />
+			</h:inputText>
+			<t:message id="regExprValueError" for="regExprValue" styleClass="error" />
+			
+			<h:outputLabel for="equal" value="#{example_messages['validate_equal']}" />
+			<h:inputText id="equal" value="#{validateForm.equal}" required="true"/>
+			<t:message id="equalError" for="equal" styleClass="error" />
+			
+			<h:outputLabel for="equal2" value="#{example_messages['validate_equal']}2" />
+			<h:inputText id="equal2" value="#{validateForm.equal2}" required="true">
+				<t:validateEqual for="equal" />
+			</h:inputText>
+			<t:message id="equal2Error" for="equal2" styleClass="error" />
+			
+			<h:panelGroup/>
+			<h:commandButton id="validateButton" value="#{example_messages['button_submit']}" action="#{validateForm.submit}"/>
+			<h:panelGroup/>
+		
+		</h:panelGrid>
+	</h:form>
+
+    </h:panelGroup>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/validateUrl.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/valueChangeNotifier.jsp
------------------------------------------------------------------------------
    svn:eol-style = native