Author: ayanul
Date: 2007-09-12 14:06:29 -0400 (Wed, 12 Sep 2007)
New Revision: 2912
Added:
trunk/test-applications/jsp/src/main/java/rich/
trunk/test-applications/jsp/src/main/java/rich/Rich.java
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-RichTest.xml
trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp
trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp
trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp
Removed:
trunk/test-applications/jsp/src/main/webapp/Div/
Modified:
trunk/test-applications/jsp/src/main/java/div/DivBean.java
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/
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:
update
Modified: trunk/test-applications/jsp/src/main/java/div/DivBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/div/DivBean.java 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/java/div/DivBean.java 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -1,72 +1,18 @@
package div;
public class DivBean {
- private String [] src = {
- "/Calendar/Calendar.jsp",
- "/DataFilterSlider/DataFilterSlider.jsp",
- "/DataScroller/DS.jsp",
- "/DradAndDrop/DragAndDrop.jsp",
- "/DropDownMenu/DDMenu.jsp",
- "/Effect/Effect.jsp",
- "/Gmap/Gmap.jsp",
- "/inputNumberSlider/inputNumberSlider.jsp",
- "/inputNumberSpinner/inputNumberSpinner.jsp",
- "/Insert/Insert.jsp",
- "/Message/Message.jsp",
- "/ModalPanel/ModalPanel.jsp",
- "/Paint2D/Paint2D.jsp",
- "/Panel/Panel.jsp",
- "/Panel/panel2.jsp",
- "/PanelBar/PanelBar.jsp",
- "/PanelMenu/PanelMenu.jsp",
- "/Separator/Separator.jsp",
- "/SimpleTogglePanel/SimpleTogglePanel.jsp",
- "/Spacer/Spacer.jsp",
- "/SuggestionBox/SuggestionBox.jsp",
- "/TabPanel/TabPanel.jsp",
- "/TogglePanel/TogglePanel.jsp",
- "/ToolBar/ToolBar.jsp",
- "/Tooltip/Tooltip.jsp",
- "/Tree/Tree.jsp",
- "/VirtualEarth/VirtualEarth.jsp"
- };
- private String [] left = {"500px", "-480px"};
- private String [] top = {"300px", "-280px"};
- private int current = 0;
- public int getCurrent() {
- return current;
- }
+ private String src;
- public void setCurrent(int current) {
- this.current = current;
- }
-
public DivBean() {
-
+ src = "/Calendar/Calendar.jsp";
}
-
- public String[] getSrc() {
+
+ public String getSrc() {
return src;
}
- public void setSrc(String[] 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;
- }
}
Added: trunk/test-applications/jsp/src/main/java/rich/Rich.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/Rich.java (rev
0)
+++ trunk/test-applications/jsp/src/main/java/rich/Rich.java 2007-09-12 18:06:29 UTC (rev
2912)
@@ -0,0 +1,7 @@
+package rich;
+
+import java.util.ArrayList;
+
+public class Rich {
+
+}
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -1,16 +1,10 @@
-<%@ page pageEncoding="UTF-8" %>
-
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich" %>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<f:view>
-<html>
- <head>
- <title></title>
- <style type="text/css">
+ <f:subview id="calendarID">
+ <style type="text/css">
.smallText {
font-size: xx-small;
}
@@ -22,14 +16,10 @@
background-color: #0087FF;
}
</style>
- </head>
- <f:subview id="calendarID">
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<h:form>
- <br />
- <br />
<rich:calendar
id="calendar"
dataModel="#{calendarDataModel}"
@@ -134,5 +124,3 @@
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/DataFilterSlider/DFS.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style type="text/css">
body{
@@ -52,8 +48,6 @@
</style>
-
-</head>
<f:subview id="dfsID">
<a4j:form id="form1" reRender="list-body"
ajaxSubmit="true"
@@ -135,6 +129,4 @@
</a4j:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/DataScroller/DS.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="dataScrollerID">
<h:form dir="DSform">
@@ -70,6 +65,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
- </html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -1,130 +1,124 @@
-<%@ 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/rich" prefix="rich"%>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<f:view>
- <html>
- <head>
- <title></title>
- </head>
- <f:subview id="DataTableID">
- <h:form>
-
- <rich:dataTable id="dataTableID" var="dataTableID"
- value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="table"
- captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
- headerClass="header" footerClass="footer"
- onRowClick="alert('row #{key}')"
rendered="#{dataTable.rendered}" align="#{dataTable.align}"
bgcolor="#{dataTable.bgcolor}"
- border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}"
title="DataTableTite">
- <f:facet name="caption">
- <h:outputText value="caption" />
- </f:facet>
- <f:facet name="header">
- <rich:columnGroup columnClasses="cola, colb ,rowc rowcc">
- <rich:column rowspan="2"
rendered="#{dataTable.r2rendered}">
- <h:outputText value="2-row head" />
- </rich:column>
- <h:column rendered="#{dataTable.r2rendered}">
- <h:outputText value="head in UIColumn" />
- </h:column>
- <rich:column breakBefore="true">
- <h:outputText value="2-d row head" />
- </rich:column>
- </rich:columnGroup>
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="table foot" />
- </f:facet>
- <rich:columnGroup>
- <rich:column id="mounth" styleClass="column"
rowspan="2"
- headerClass="cheader" footerClass="cfooter">
- <f:facet name="header">
- <h:outputText value="mounth" />
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="-//-" />
- </f:facet>
- <h:outputText value="#{dataTableID.mounth}" />
- </rich:column>
- <rich:column styleClass="column" headerClass="cheader"
- footerClass="cfooter" rendered="#{dataTable.r2rendered}">
- <f:facet name="header">
- <h:outputText value="mounth" />
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="-//-" />
- </f:facet>
- <h:outputText value="#{dataTableID.town}" />
- </rich:column>
- </rich:columnGroup>
- <rich:column styleClass="column" headerClass="cheader"
- footerClass="cfooter" rendered="#{dataTable.r2rendered}">
- <h:outputText value="#{dataTableID.day}" />
- </rich:column>
- <rich:subTable id="detail" var="detail"
value="#{dataTableID.detail}">
- <rich:column id="name">
- <h:outputText value="#{detail.name}" />
- </rich:column>
- <rich:column id="qty"
rendered="#{dataTable.r2rendered}">
- <h:outputText value="#{detail.qty}" />
- </rich:column>
- </rich:subTable>
- <rich:column id="total" styleClass="total"
colspan="2">
- <h:outputText value="#{dataTableID.total}" />
- </rich:column>
- </rich:dataTable>
-
- <h:panelGrid columns="2">
- <h:outputText value="Align:"></h:outputText>
- <h:selectOneMenu value="#{dataTable.align}">
- <f:selectItem itemLabel="center" itemValue="*center" />
- <f:selectItem itemLabel="left" itemValue="*left" />
- <f:selectItem itemLabel="right " itemValue="*right" />
- <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="Border: "></h:outputText>
- <h:inputText value="#{dataTable.border}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Columns Width: "></h:outputText>
- <h:inputText value="#{dataTable.columnsWidth}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Width: "></h:outputText>
- <h:inputText value="#{dataTable.width}">
- <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
- </h:inputText>
-
- <h:outputText value="Background Colour"></h:outputText>
- <h:selectOneMenu value="#{dataTable.bgcolor}">
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
- </h:selectOneMenu>
-
- <h:outputText value="rendered:" />
- <h:selectBooleanCheckbox value="#{dataTable.rendered}"
- onclick="submit();" />
-
- <h:outputText value=" row 2 rendered" />
- <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
- onclick="submit();" />
- </h:panelGrid>
-
- </h:form>
- </f:subview>
- </html>
-</f:view>
+<%@ 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/rich" prefix="rich"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+ <f:subview id="DataTableID">
+ <h:form>
+
+ <rich:dataTable id="dataTableID" var="dataTableID"
+ value="#{dataTable.mounths}" rowKeyVar="key"
styleClass="table"
+ captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
+ headerClass="header" footerClass="footer"
+ onRowClick="alert('row #{key}')"
rendered="#{dataTable.rendered}" align="#{dataTable.align}"
bgcolor="#{dataTable.bgcolor}"
+ border="#{dataTable.border}"
columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}"
title="DataTableTite">
+ <f:facet name="caption">
+ <h:outputText value="caption" />
+ </f:facet>
+ <f:facet name="header">
+ <rich:columnGroup columnClasses="cola, colb ,rowc rowcc">
+ <rich:column rowspan="2"
rendered="#{dataTable.r2rendered}">
+ <h:outputText value="2-row head" />
+ </rich:column>
+ <h:column rendered="#{dataTable.r2rendered}">
+ <h:outputText value="head in UIColumn" />
+ </h:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="2-d row head" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="table foot" />
+ </f:facet>
+ <rich:columnGroup>
+ <rich:column id="mounth" styleClass="column"
rowspan="2"
+ headerClass="cheader" footerClass="cfooter">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.mounth}" />
+ </rich:column>
+ <rich:column styleClass="column" headerClass="cheader"
+ footerClass="cfooter" rendered="#{dataTable.r2rendered}">
+ <f:facet name="header">
+ <h:outputText value="mounth" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="-//-" />
+ </f:facet>
+ <h:outputText value="#{dataTableID.town}" />
+ </rich:column>
+ </rich:columnGroup>
+ <rich:column styleClass="column" headerClass="cheader"
+ footerClass="cfooter" rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{dataTableID.day}" />
+ </rich:column>
+ <rich:subTable id="detail" var="detail"
value="#{dataTableID.detail}">
+ <rich:column id="name">
+ <h:outputText value="#{detail.name}" />
+ </rich:column>
+ <rich:column id="qty"
rendered="#{dataTable.r2rendered}">
+ <h:outputText value="#{detail.qty}" />
+ </rich:column>
+ </rich:subTable>
+ <rich:column id="total" styleClass="total"
colspan="2">
+ <h:outputText value="#{dataTableID.total}" />
+ </rich:column>
+ </rich:dataTable>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Align:"></h:outputText>
+ <h:selectOneMenu value="#{dataTable.align}">
+ <f:selectItem itemLabel="center" itemValue="*center" />
+ <f:selectItem itemLabel="left" itemValue="*left" />
+ <f:selectItem itemLabel="right " itemValue="*right" />
+ <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="Border: "></h:outputText>
+ <h:inputText value="#{dataTable.border}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Columns Width: "></h:outputText>
+ <h:inputText value="#{dataTable.columnsWidth}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Width: "></h:outputText>
+ <h:inputText value="#{dataTable.width}">
+ <a4j:support event="onchange"
reRender="dataTableID"></a4j:support>
+ </h:inputText>
+
+ <h:outputText value="Background Colour"></h:outputText>
+ <h:selectOneMenu value="#{dataTable.bgcolor}">
+ <f:selectItem itemLabel="aqua" itemValue="aqua" />
+ <f:selectItem itemLabel="blue" itemValue="blue" />
+ <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
+ <f:selectItem itemLabel="gray" itemValue="gray" />
+ <f:selectItem itemLabel="lime" itemValue="lime" />
+ <f:selectItem itemLabel="maroon" itemValue="maroon" />
+ <f:selectItem itemLabel="purple" itemValue="purple" />
+ <f:selectItem itemLabel="red" itemValue="red" />
+ <f:selectItem itemLabel="silver" itemValue="silver" />
+ <f:selectItem itemLabel="teal" itemValue="teal" />
+ <f:selectItem itemLabel="yellow" itemValue="yellow" />
+ <f:selectItem itemLabel="white" itemValue="white" />
+ <a4j:support event="onclick"
reRender="dataTableID"></a4j:support>
+ </h:selectOneMenu>
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{dataTable.rendered}"
+ onclick="submit();" />
+
+ <h:outputText value=" row 2 rendered" />
+ <h:selectBooleanCheckbox value="#{dataTable.r2rendered}"
+ onclick="submit();" />
+ </h:panelGrid>
+
+ </h:form>
+ </f:subview>
+
Modified: trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/DragAndDrop/DragAndDrop.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style type="text/css">
.dropzoneDecoration {
width: 70px; height: 70px; border: 2px dotted navy;
@@ -21,7 +17,7 @@
padding: 10px;
}
</style>
-</head>
+
<f:subview id="dndID">
<h:form id="form">
<h:panelGroup id="dragValueText">
@@ -186,6 +182,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/DropDownMenu/DDMenu.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="ddMenuID">
<h:form>
<h:panelGrid columns="3">
@@ -148,5 +143,4 @@
</h:panelGrid>
</h:form>
</f:subview>
-</html>
-</f:view>
+
Modified: trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Effect/Effect.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -3,13 +3,6 @@
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
-<f:view>
- <html>
- <head>
- <title></title>
- </head>
-
- <body onload="hideFrm1(),hideFrm2(),hideFrm3(),hideFrm4(),hideFrm5()">
<f:subview id="effectID">
<h:messages />
<h:form id="indexID">
@@ -295,6 +288,5 @@
<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-09-12 17:58:02 UTC (rev
2911)
+++ trunk/test-applications/jsp/src/main/webapp/Gmap/Gmap.jsp 2007-09-12 18:06:29 UTC (rev
2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="gmapID">
<h:form>
<rich:gmap id="gm" lat="37.97" zoom="#{gmap.zoom}"
gmapVar="map"
@@ -105,5 +100,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</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-09-12
17:58:02 UTC (rev 2911)
+++
trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-<link rel="stylesheet"
- href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="inputNumgerSliderID">
<h:messages></h:messages>
<h:form>
@@ -115,6 +109,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified:
trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++
trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinner.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
- <link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
- </head>
<f:subview id="inputNumgerSpinnerID">
<h:form>
<h:messages></h:messages>
@@ -80,6 +74,4 @@
</h:panelGrid> <h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Insert/Insert.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-
<f:subview id="insertID">
<h:form>
<h:messages />
@@ -52,5 +46,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</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-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Message/Message.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
- <link rel="stylesheet" type="text/css"
href="/styles/app.css" />
- <title></title>
- </head>
<f:subview id="messageID">
<h:form>
<rich:panel>
@@ -170,6 +164,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</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-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -3,12 +3,6 @@
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<f:view>
-<html>
-<head>
-<title></title>
-<link rel="stylesheet"
- href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="modalPanel">
<h:form id="MPform">
@@ -76,6 +70,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Paint2D/Paint2D.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="paint2D">
<h:form>
@@ -96,5 +90,4 @@
</h:form>
</f:subview>
-</html>
-</f:view>
+
Modified: trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="panelID">
<h:form>
<h:messages></h:messages>
@@ -64,6 +59,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Panel/Panel2.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style>
.panel {
vertical-align:top;
@@ -50,7 +46,6 @@
}
</style>
-</head>
<f:subview id="Panel2ID">
<h:panelGrid columnClasses="panel" border="0"
columns="3">
@@ -150,6 +145,4 @@
<h:commandLink value="Back to Panel"
action="BackP"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/PanelBar/PanelBar.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="panelBarID">
<h:messages></h:messages>
<h:form>
@@ -67,6 +61,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/PanelMenu/PanelMenu.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style>
.sPanel
{
@@ -18,7 +14,6 @@
background: gray;
}
</style>
-</head>
<f:subview id="panelMenuID">
<h:form>
@@ -468,5 +463,4 @@
</h:form>
</f:subview>
-</html>
-</f:view>
\ No newline at end of file
+
Modified: trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Separator/Separator.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="separatorID">
<h:form>
<h:messages></h:messages>
@@ -69,6 +63,4 @@
</h:form>
</f:subview>
-</html>
-</f:view>
Modified:
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++
trunk/test-applications/jsp/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style type="text/css">
.head
{
@@ -18,7 +14,6 @@
</style>
<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="simpleTogglePanelID">
<h:messages></h:messages>
<h:form>
@@ -101,6 +96,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Spacer/Spacer.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -2,10 +2,6 @@
<%@ 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>
<style type="text/css">
.text
{
@@ -16,7 +12,6 @@
background-color: aqua;
}
</style>
-</head>
<f:subview id="spacerID">
<h:messages></h:messages>
@@ -59,6 +54,5 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
+
Modified: trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/SuggestionBox/SuggestionBox.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,8 +2,6 @@
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<f:view>
-<html>
<f:subview id="suggestionBoxID">
<h:form id="suggestionbox_form">
@@ -126,6 +124,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/TabPanel/TabPanel.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,16 +2,6 @@
<%@ 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>
-<style type="text/css">
-
-</style>
-<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="tabPanelID">
<h:form>
<rich:tabPanel id="tabPanelId"
headerAlignment="#{tabPanel.headerAlignment}"
width="#{tabPanel.width}" height="#{tabPanel.height}"
@@ -111,6 +101,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/TogglePanel/TogglePanel.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,11 +2,6 @@
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<f:view>
-<html>
-<head>
-<title></title>
-</head>
<f:subview id="togglePanel">
<h:messages></h:messages>
@@ -180,6 +175,4 @@
<ui:debug hotkey="L"></ui:debug>
</h:form>
</f:subview>
-</html>
-</f:view>
Modified: trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/ToolBar/ToolBar.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,12 +2,6 @@
<%@ 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>
-<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
-</head>
<f:subview id="toolBarID">
<h:form>
@@ -64,5 +58,4 @@
</h:form>
</f:subview>
-</html>
-</f:view>
+
Modified: trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2007-09-12 17:58:02
UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/Tooltip/Tooltip.jsp 2007-09-12 18:06:29
UTC (rev 2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="tooltipID">
<h:form>
<h:messages />
@@ -145,5 +140,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</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-09-12 17:58:02 UTC (rev
2911)
+++ trunk/test-applications/jsp/src/main/webapp/Tree/Tree.jsp 2007-09-12 18:06:29 UTC (rev
2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="treeID">
<h:form>
@@ -121,5 +116,4 @@
</h:form>
</f:subview>
-</html>
-</f:view>
+
Modified: trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp 2007-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/VirtualEarth/VirtualEarth.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -2,11 +2,6 @@
<%@ 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>
<f:subview id="virtualEarth">
<h:form>
<h:panelGrid columns="2">
@@ -81,5 +76,4 @@
<h:commandLink value="Back"
action="main"></h:commandLink>
</h:form>
</f:subview>
- </html>
-</f:view>
+
Property changes on: trunk/test-applications/jsp/src/main/webapp/WEB-INF
___________________________________________________________________
Name: svn:ignore
+ *.jsfdia
lib
Added: trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-RichTest.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-RichTest.xml
(rev 0)
+++
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config-RichTest.xml 2007-09-12
18:06:29 UTC (rev 2912)
@@ -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>rich</managed-bean-name>
+ <managed-bean-class>rich.Rich</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-09-12
17:58:02 UTC (rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2007-09-12
18:06:29 UTC (rev 2912)
@@ -114,8 +114,12 @@
</navigation-case>
<navigation-case>
<from-outcome>TestDiv</from-outcome>
- <to-view-id>/Div/Div.jsp</to-view-id>
+ <to-view-id>/pages/Div.jsp</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>RichTest</from-outcome>
+ <to-view-id>/pages/RichTest.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-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -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,/WEB-INF/faces-config-Div.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,/WEB-INF/faces-config-RichTest.xml</param-value>
</context-param>
<filter>
<display-name>Ajax4jsf Filter</display-name>
Added: trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp (rev
0)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp 2007-09-12 18:06:29 UTC (rev
2912)
@@ -0,0 +1,57 @@
+<%@ 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>
+<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
+</head>
+<body>
+ <h:form>
+ <h:panelGrid columns="2">
+ <jsp:include page="SelectOneMenuPage.jsp" />
+ <h:panelGroup>
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
+ <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
+ <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.jsp"
itemLabel="Data Filter Slider" />
+ <f:selectItem itemValue="/DataScroller/DS.jsp" itemLabel="Date
Scroller" />
+ <f:selectItem itemValue="/DataTable/DT.jsp" itemLabel="Date
Table" />
+ <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:panelGroup>
+ </h:panelGrid>
+ </h:form>
+ <div id="div_1_ID" style="position: relative; left:400px; top:400px;
border-color: red, 2px;">
+ <div id="div_2_ID" style="position: absolute; left:-380px;
top:-380px; color: blue, 2px;">
+ <jsp:include page="${divBean.src}" />
+ </div>
+ </div>
+</body>
+</html>
+</f:view>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -0,0 +1,53 @@
+<%@ 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>
+<link rel="stylesheet"
href="<%=request.getContextPath()%>/styles/styles.css"
type="text/css" />
+</head>
+<body>
+ <h:form>
+ <h:panelGrid columns="2">
+ <jsp:include page="SelectOneMenuPage.jsp" />
+ <h:panelGroup>
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
+ <f:selectItem itemValue="/Calendar/Calendar.xhtml"
itemLabel="Calendar" />
+ <f:selectItem itemValue="/DataFilterSlider/DataFilterSlider.jsp"
itemLabel="Data Filter Slider" />
+ <f:selectItem itemValue="/DataScroller/DS.jsp" itemLabel="Date
Scroller" />
+ <f:selectItem itemValue="/DataTable/DT.jsp" itemLabel="Date
Table" />
+ <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:panelGroup>
+ </h:panelGrid>
+ </h:form>
+ <jsp:include page="${divBean.src}" />
+</body>
+</html>
+</f:view>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp 2007-09-12
18:06:29 UTC (rev 2912)
@@ -0,0 +1,28 @@
+<%@ 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/rich" prefix="rich"%>
+<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
+<f:subview id="selectOneMenuPage">
+ <h:selectOneMenu value="menu" style="width:900px;" >
+ <f:selectItem itemLabel="1" itemValue="test"/>
+ <f:selectItem itemLabel="2" itemValue="test"/>
+ <f:selectItem itemLabel="3" itemValue="test"/>
+ <f:selectItem itemLabel="4" itemValue="test"/>
+ <f:selectItem itemLabel="5" itemValue="test"/>
+ <f:selectItem itemLabel="6" itemValue="test"/>
+ <f:selectItem itemLabel="7" itemValue="test"/>
+ <f:selectItem itemLabel="8" itemValue="test"/>
+ <f:selectItem itemLabel="9" itemValue="test"/>
+ <f:selectItem itemLabel="10" itemValue="test"/>
+ <f:selectItem itemLabel="11" itemValue="test"/>
+ <f:selectItem itemLabel="12" itemValue="test"/>
+ <f:selectItem itemLabel="13" itemValue="test"/>
+ <f:selectItem itemLabel="14" itemValue="test"/>
+ <f:selectItem itemLabel="15" itemValue="test"/>
+ <f:selectItem itemLabel="16" itemValue="test"/>
+ <f:selectItem itemLabel="17" itemValue="test"/>
+ <f:selectItem itemLabel="18" itemValue="test"/>
+ <f:selectItem itemLabel="19" itemValue="test"/>
+ <f:selectItem itemLabel="20" itemValue="test"/>
+ </h:selectOneMenu>
+</f:subview>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-12 17:58:02 UTC
(rev 2911)
+++ trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-12 18:06:29 UTC
(rev 2912)
@@ -19,34 +19,8 @@
value="VCP 3.1.0 Test Application (JSF 1.1 RI)"
styleClass="maintext"></h:outputText></div>
<rich:panel>
<h:panelGrid columns="2" cellpadding="5px">
- <h:commandLink value="InputNumberSpinner"
action="Spinner"></h:commandLink>
- <h:commandLink value="InputNumberSlider"
action="Slider"></h:commandLink>
- <h:commandLink value="Panel"
action="Panel"></h:commandLink>
- <h:commandLink value="PanelBar"
action="PanelBar"></h:commandLink>
- <h:commandLink value="Gmap"
action="Gmap"></h:commandLink>
- <h:commandLink value="Virtual Earth"
action="VirtualEarth"></h:commandLink>
- <h:commandLink value="Separator"
action="Separator"></h:commandLink>
- <h:commandLink value="Spacer"
action="Spacer"></h:commandLink>
- <h:commandLink value="SimpleTogglePanel"
action="sTP"></h:commandLink>
- <h:commandLink value="TabPanel"
action="TabPanel"></h:commandLink>
- <h:commandLink value="Pain2D"
action="Paint2D"></h:commandLink>
- <h:commandLink value="Tree"
action="Tree"></h:commandLink>
- <h:commandLink value="TogglePanel"
action="TogglePanel"></h:commandLink>
- <h:commandLink value="ToolBar"
action="ToolBar"></h:commandLink>
- <h:commandLink value="ModalPanel"
action="MP"></h:commandLink>
- <h:commandLink value="Drop Down Menu"
action="DDM"></h:commandLink>
- <h:commandLink value="SuggestionBox"
action="Suggest"></h:commandLink>
- <h:commandLink value="Drag And Drop"
action="DnD"></h:commandLink>
- <h:commandLink value="Data Scroller"
action="DS"></h:commandLink>
- <h:commandLink value="Data Table"
action="DT"></h:commandLink>
- <h:commandLink value="Data Filter Slider"
action="DFS"></h:commandLink>
- <h:commandLink value="Panel Menu"
action="PanelMenu"></h:commandLink>
- <h:commandLink value="Tooltip"
action="Tooltip"></h:commandLink>
- <h:commandLink value="Calendar"
action="Calendar"></h:commandLink>
- <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:commandLink value="Rich Test"
action="RichTest"></h:commandLink>
</h:panelGrid>
</rich:panel>
</h:form>