[richfaces-svn-commits] JBoss Rich Faces SVN: r2413 - in trunk/test-applications/jsp/src/main: java/div and 31 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Aug 22 15:47:53 EDT 2007


Author: ayanul
Date: 2007-08-22 15:47:53 -0400 (Wed, 22 Aug 2007)
New Revision: 2413

Added:
   trunk/test-applications/jsp/src/main/java/div/
   trunk/test-applications/jsp/src/main/java/div/DivBean.java
   trunk/test-applications/jsp/src/main/webapp/Div/
   trunk/test-applications/jsp/src/main/webapp/Div/Div.jsp
   trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Div.xml
Modified:
   trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
   trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp
   trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp
   trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
   trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp
   trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp
   trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
   trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp
   trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
   trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
   trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
   trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp
   trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
   trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
   trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
   trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp
   trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp
   trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
   trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp
   trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
   trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp
   trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
   trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp
   trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
   trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
   trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
   trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
   trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp
   trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
   trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
   trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
Log:
add <div/> test

Added: trunk/test-applications/jsp/src/main/java/div/DivBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/div/DivBean.java	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/java/div/DivBean.java	2007-08-22 19:47:53 UTC (rev 2413)
@@ -0,0 +1,35 @@
+package div;
+
+public class DivBean {
+	private String src;
+	private String [] left = {"500px", "-480px"};
+	private String [] top = {"300px", "-280px"};
+
+	public DivBean() {
+		src = "/Calendar/Calendar.xhtml";
+	}
+	
+	public String getSrc() {
+		return src;
+	}
+
+	public void setSrc(String src) {
+		this.src = src;
+	}
+
+	public String[] getLeft() {
+		return left;
+	}
+
+	public void setLeft(String[] left) {
+		this.left = left;
+	}
+
+	public String[] getTop() {
+		return top;
+	}
+
+	public void setTop(String[] top) {
+		this.top = top;
+	}
+}

Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -21,8 +21,7 @@
 			}
 		</style>
 </head>
-<body>
-<f:view>
+<f:subview id="Calendar">
 	<a4j:outputPanel ajaxRendered="true">
 		<h:messages />
 	</a4j:outputPanel>
@@ -117,6 +116,5 @@
 	<h:form>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-</f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -53,7 +53,7 @@
         </style>
 
 </head>
-<body>
+<f:subview id="dfsID">
 <f:view>
 
 	<a4j:form id="form1" reRender="list-body" ajaxSubmit="true"
@@ -141,6 +141,6 @@
 	</a4j:form>
 
 </f:view>
-</body>
+</f:subview>
 
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 <head>
 <title></title>
 </head>
-<body>
+<f:subview id="dataScrollerID">
 <f:view>
 	<h:form dir="DSform">
 
@@ -28,5 +28,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 <head>
 <title></title>
 </head>
-<body>
+<f:subview id="dtID">
 <f:view>
 	<h:form>
 		<rich:dataTable value="#{dataScroller.dataTable}" var="dG" id="dGid">
@@ -70,5 +70,5 @@
 `		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Added: trunk/test-applications/jsp/src/main/webapp/Div/Div.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Div/Div.jsp	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/Div/Div.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -0,0 +1,82 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
+<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
+<f:view>
+	<html>
+	<head>
+	<title></title>
+	</head>
+
+	<body>
+	<h:form id="divTestID">
+		<div id="div_1_ID" style="position: relative; left:#{divBean.left[0]}; top:#{divBean.top[0]}">
+			<div id="div_2_ID" style="position: absolute; left:#{divBean.left[1]}; top:#{divBean.top[1]}">
+				<jsp:include page="${divBean.src}" />
+			</div>
+		</div>
+	</h:form>
+	<h:form id="forvDivOpthID">
+		<div id="divOpthID" style="position:relative" align="right">
+			<h:panelGrid columns="2">
+				<h:outputText value="Select component:" />
+				<h:selectOneMenu value="#{divBean.src}">
+					<f:selectItem itemValue="/Calendar/Calendar.jsp" itemLabel="Calendar" />
+					<f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.jsp" itemLabel="Data Filter Slider" />
+					<f:selectItem itemValue="/DataScroller/DS.jsp" itemLabel="Date Scroller" />
+					<f:selectItem itemValue="/DradAndDrop/DragAndDrop.jsp" itemLabel="Drag And Drop" />
+					<f:selectItem itemValue="/DropDownMenu/DDMenu.jsp" itemLabel="Drop Down Menu" />
+					<f:selectItem itemValue="/Effect/Effect.jsp" itemLabel="Effect" />
+					<f:selectItem itemValue="/Gmap/Gmap.jsp" itemLabel="Gmap" />
+					<f:selectItem itemValue="/inputNumberSlider/inputNumberSlider.jsp" itemLabel="Input Number Slider" />
+					<f:selectItem itemValue="/inputNumberSpinner/inputNumberSpinner.jsp" itemLabel="Input Number Spinner" />
+					<f:selectItem itemValue="/Insert/Insert.jsp" itemLabel="Insert" />
+					<f:selectItem itemValue="/Message/Message.jsp" itemLabel="Message" />
+					<f:selectItem itemValue="/ModalPanel/ModalPanel.jsp" itemLabel="Modal Panel" />
+					<f:selectItem itemValue="/Paint2D/Paint2D.jsp" itemLabel="Paint2D" />
+					<f:selectItem itemValue="/Panel/Panel.jsp" itemLabel="Panel" />
+					<f:selectItem itemValue="/Panel/panel2.jsp" itemLabel="Panel2" />
+					<f:selectItem itemValue="/PanelBar/PanelBar.jsp" itemLabel="Panel Bar" />
+					<f:selectItem itemValue="/PanelMenu/PanelMenu.jsp" itemLabel="Panel Menu" />
+					<f:selectItem itemValue="/Separator/Separator.jsp" itemLabel="Separator" />
+					<f:selectItem itemValue="/SimpleTogglePanel/SimpleTogglePanel.jsp" itemLabel="Simple Toggle Panel" />
+					<f:selectItem itemValue="/Spacer/Spacer.jsp" itemLabel="Spacer" />
+					<f:selectItem itemValue="/SuggestionBox/SuggestionBox.jsp" itemLabel="Suggestion Box" />
+					<f:selectItem itemValue="/TabPanel/TabPanel.jsp" itemLabel="Tab Panel" />
+					<f:selectItem itemValue="/TogglePanel/TogglePanel.jsp" itemLabel="Toggle Panel" />
+					<f:selectItem itemValue="/ToolBar/ToolBar.jsp" itemLabel="Tool Bar" />
+					<f:selectItem itemValue="/Tooltip/Tooltip.jsp" itemLabel="Tooltip" />
+					<f:selectItem itemValue="/Tree/Tree.jsp" itemLabel="Tree" />
+					<f:selectItem itemValue="/VirtualEarth/VirtualEarth.jsp" itemLabel="Virtual Earth" />
+				</h:selectOneMenu>
+				
+				<h:commandLink value="Submit" action="submit();"></h:commandLink>
+				<f:verbatim></f:verbatim>
+				
+				<h:outputText value="div 1 left:" />
+				<h:inputText value="#{divBean.left[0]}" >
+					<a4j:support event="onchange" action="submit();"></a4j:support>
+				</h:inputText>
+	
+				<h:outputText value="div 1 top:" />
+				<h:inputText value="#{divBean.top[0]}" >
+					<a4j:support event="onchange" action="submit();"></a4j:support>
+				</h:inputText>
+	
+				<h:outputText value="div 2 left:" />
+				<h:inputText value="#{divBean.left[1]}" >
+					<a4j:support event="onchange" action="submit();"></a4j:support>
+				</h:inputText>
+				
+	
+				<h:outputText value="div 2 top:" />
+				<h:inputText value="#{divBean.top[1]}" >
+					<a4j:support event="onchange" action="submit();"></a4j:support>
+				</h:inputText>
+			</h:panelGrid>
+			<h:commandLink value="Back" action="main"></h:commandLink>
+		</div>
+	</h:form>
+	</body>
+	</html>
+</f:view>
\ No newline at end of file

Modified: trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -21,7 +21,7 @@
 			}
 		</style>
 </head>
-<body>
+<f:subview id="dndID">
 <f:view>
 	<h:form id="form">
 		<h:panelGroup id="dragValueText">
@@ -186,5 +186,5 @@
 	<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 <head>
 <title></title>
 </head>
-<body>
+<f:subview id="ddMenuID">
 <f:view>
 <h:form>
 	<h:panelGrid columns="3">
@@ -142,5 +142,5 @@
 	</h:panelGrid>
 </h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -8,7 +8,9 @@
 	<head>  
 		<title></title>
 	</head>
+	
 	<body onload="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()">
+	<f:subview id="effectID">
 	<h:messages />
 		<h:form id="indexID">
 			<h:outputText value="Menu:" />
@@ -287,6 +289,7 @@
 	<h:form id="backFrmID">
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
+	</f:subview>
 </body>
 </html>
 </f:view>

Modified: trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 	<head>
 	<title></title>
 	</head>
-	<body>
+	<f:subview id="gmapID">
 	<h:form>
 		<rich:gmap id="gm" lat="37.97" zoom="#{gmap.zoom}" gmapVar="map"
 			gmapKey="ABQIAAAAxU6W9QEhFLMNdc3ATIu-VxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRkrpOGzxH8_ud3inE9pG1845-FCA"
@@ -112,6 +112,6 @@
 	<h:form>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-	</body>
+	</f:subview>
 	</html>
 </f:view>
\ No newline at end of file

Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 <link rel="stylesheet"
 	href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="inputNumgerSliderID">
 <f:view>
 	<h:messages></h:messages>
 	<h:form> 
@@ -115,5 +115,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 		<title></title>
 	<link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 	</head>
-	<body>
+	<f:subview id="inputNumgerSpinnerID">
 		<f:view>
 			<h:form>
 	<h:messages></h:messages>
@@ -80,5 +80,5 @@
 	</h:panelGrid>	<h:commandLink value="Back" action="main"></h:commandLink>
 </h:form>
 		</f:view>
-	</body>	
+	</f:subview>
 </html>  

Modified: trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -8,7 +8,7 @@
 	<title></title>
 	</head>
 
-	<body>
+	<f:subview id="insertID">
 	<h:form>
 		<h:messages />
 		
@@ -51,6 +51,6 @@
 		</h:panelGrid>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-	</body>
+	</f:subview>
 	</html>
 </f:view>
\ No newline at end of file

Modified: trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -8,7 +8,7 @@
 		<link rel="stylesheet" type="text/css" href="/styles/app.css" />
 		<title></title>
 	</head>
-	<body>
+	<f:subview id="messageID">
 	<h:form>
 		<rich:panel>
 			<h:panelGrid columns="2">
@@ -169,7 +169,7 @@
 	<h:form>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-	</body>
+	</f:subview>
 	</html>
 </f:view>
 

Modified: trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -8,7 +8,7 @@
 <link rel="stylesheet"
 	href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="modalPanel">
 <f:view>
 	<h:form id="MPform">
 
@@ -76,5 +76,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 <title></title>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="paint2D">
 <f:view>
 	<h:form>
 		<rich:paint2D id="paint2d" paint="#{paint2D.paint}" data="#{paintData}" width="#{paint2D.width}" height="#{paint2D.height}" align="#{paint2D.align}"
@@ -89,5 +89,5 @@
 
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 	<head>
 		<title></title>
 	</head>
-	<body>
+	<f:subview id="panelID">
 		<f:view>
 			<h:form>
 		<h:messages></h:messages>
@@ -64,5 +64,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 		</f:view>
-	</body>	
+	</f:subview>
 </html>  

Modified: trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -50,7 +50,7 @@
  
 </style>
 </head>
-<body>
+<f:subview id="Panel2ID">
 <f:view>
 
 	<h:panelGrid columnClasses="panel" border="0" columns="3">
@@ -150,5 +150,5 @@
 		<h:commandLink value="Back to Panel" action="BackP"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 <title></title>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="panelBarID">
 <f:view>
 	<h:messages></h:messages>
 	<h:form>
@@ -67,5 +67,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -18,7 +18,7 @@
    	}
 	</style>
 </head>
-<body>
+<f:subview id="panelMenuID">
 <f:view>
 	<h:form>
 		<rich:panelMenu id="panelMenuID" disabled="#{panelMenu.disabled}" width="#{panelMenu.width}" selectedChild="thisChild"
@@ -463,5 +463,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 <title></title>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="separatorID">
 <f:view>
 	<h:form>
 		<h:messages></h:messages>
@@ -69,5 +69,5 @@
 		
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -18,7 +18,7 @@
    	</style>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="simpleTogglePanelID">
 <f:view>
 	<h:messages></h:messages>
 	<h:form>
@@ -101,5 +101,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -16,7 +16,7 @@
 }
 </style>
 </head>
-<body>
+<f:subview id="spacerID">
 <f:view>
 
 	<h:messages></h:messages>
@@ -59,5 +59,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -3,7 +3,7 @@
 <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
 <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
 <html>
-<body>
+<f:subview id="suggestionBoxID">
 <f:view>
 	<h:form id="suggestionbox_form">
 
@@ -127,5 +127,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -10,7 +10,7 @@
 </style>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="tabPanelID">
 <f:view>
 	<h:form>
 		<rich:tabPanel id="tabPanelId" headerAlignment="#{tabPanel.headerAlignment}" width="#{tabPanel.width}" height="#{tabPanel.height}"
@@ -110,5 +110,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 <head>
 <title></title>
 </head>
-<body>
+<f:subview id="togglePanel">
 <f:view>
 	<h:messages></h:messages>
 <h:form id="tooggleTest">
@@ -173,5 +173,5 @@
 	<ui:debug hotkey="L"></ui:debug>
 </h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 <title></title>
 <link rel="stylesheet" href="<%=request.getContextPath()%>/styles/styles.css" type="text/css" />
 </head>
-<body>
+<f:subview id="toolBarID">
 <f:view>
 	<h:form>
 	<rich:toolBar id="toolBarId" width="#{toolBar.width}"
@@ -62,5 +62,5 @@
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 	<head>
 	<title></title>
 	</head>
-	<body>
+	<f:subview id="tooltipID">
 	<h:form>
 	<h:messages />
 	
@@ -145,6 +145,6 @@
 	<h:form>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-	</body>
+	</f:subview>
 	</html>
 </f:view>

Modified: trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -6,7 +6,7 @@
 <head>
 <title></title>
 </head>
-<body>
+<f:subview id="treeID">
 <f:view>
 	<h:form>
 		<rich:tree id="tree" switchType="#{bean.switchType}"
@@ -119,5 +119,5 @@
 				<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
 </f:view>
-</body>
+</f:subview>
 </html>

Modified: trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -7,7 +7,7 @@
 	<head>
 	<title></title>
 	</head>
-	<body>
+	<f:subview id="virtualEarth">
 	<h:form>
 	<h:panelGrid columns="2">
 		<rich:virtualEarth style="width:800px;" id="gm" lat="37.97"
@@ -80,6 +80,6 @@
 	<h:form>
 		<h:commandLink value="Back" action="main"></h:commandLink>
 	</h:form>
-	</body>
+	</f:subview>
 	</html>
 </f:view>

Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Div.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Div.xml	                        (rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-Div.xml	2007-08-22 19:47:53 UTC (rev 2413)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+                              "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <managed-bean>
+  <managed-bean-name>divBean</managed-bean-name>
+  <managed-bean-class>div.DivBean</managed-bean-class>
+  <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+</faces-config>

Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml	2007-08-22 19:47:53 UTC (rev 2413)
@@ -112,6 +112,10 @@
    <from-outcome>Insert</from-outcome>
    <to-view-id>/Insert/Insert.jsp</to-view-id>
   </navigation-case>
+  <navigation-case>
+   <from-outcome>TestDiv</from-outcome>
+   <to-view-id>/Div/Div.jsp</to-view-id>
+  </navigation-case>
  </navigation-rule>
  <navigation-rule>
   <from-view-id>*</from-view-id>

Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml	2007-08-22 19:47:53 UTC (rev 2413)
@@ -12,7 +12,7 @@
  </context-param>
  <context-param>
   <param-name>javax.faces.CONFIG_FILES</param-name>
-  <param-value>/WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,/WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,/WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,/WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,/WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-Separator.xml,/WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-ModalPanel.xml,/WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-DragAndDrop.xml,/WEB-INF/faces-config-DataScroller.xml,/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Message!
 .xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml</param-value>
+  <param-value>/WEB-INF/faces-config-Panel.xml,/WEB-INF/faces-config-PanelBar.xml,/WEB-INF/faces-config-TabPanel.xml,/WEB-INF/faces-config-TogglePanel.xml,/WEB-INF/faces-config-Paint2D.xml,/WEB-INF/faces-config-InputNumberSlider.xml,/WEB-INF/faces-config-InputNumberSpinner.xml,/WEB-INF/faces-config-DDMenu.xml,/WEB-INF/faces-config-Tree.xml,/WEB-INF/faces-config-PanelMenu.xml,/WEB-INF/faces-config-Icon.xml,/WEB-INF/faces-config-tooltip.xml,/WEB-INF/faces-config-Skin.xml,/WEB-INF/faces-config-Calendar.xml,/WEB-INF/faces-config-Gmap.xml,/WEB-INF/faces-config-Separator.xml,/WEB-INF/faces-config-Spacer.xml,/WEB-INF/faces-config-SimpleTogglePanel.xml,/WEB-INF/faces-config-ToolBar.xml,/WEB-INF/faces-config-ModalPanel.xml,/WEB-INF/faces-config-SuggestionBox.xml,/WEB-INF/faces-config-DragAndDrop.xml,/WEB-INF/faces-config-DataScroller.xml,/WEB-INF/faces-config-DataTable.xml,/WEB-INF/faces-config-DataFilterSlider.xml,/WEB-INF/faces-config-VirtualEarth.xml,/WEB-INF/faces-config-Message!
 .xml,/WEB-INF/faces-config-Effect.xml,/WEB-INF/faces-config-Insert.xml,/WEB-INF/faces-config-Div.xml</param-value>
  </context-param>
  <filter>
   <display-name>Ajax4jsf Filter</display-name>

Modified: trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/main.jsp	2007-08-22 19:41:52 UTC (rev 2412)
+++ trunk/test-applications/jsp/src/main/webapp/pages/main.jsp	2007-08-22 19:47:53 UTC (rev 2413)
@@ -46,6 +46,7 @@
 			<h:commandLink value="Message" action="Message"></h:commandLink>
 			<h:commandLink value="Effect" action="Effect"></h:commandLink>
 			<h:commandLink value="Insert" action="Insert"></h:commandLink>
+			<h:commandLink value="Test Div" action="TestDiv"></h:commandLink>
 		</h:panelGrid>
 		</rich:panel>
 	</h:form>




More information about the richfaces-svn-commits mailing list