Author: ayanul
Date: 2007-09-18 11:08:21 -0400 (Tue, 18 Sep 2007)
New Revision: 2983
Added:
trunk/test-applications/jsp/src/main/webapp/pages/Map.jsp
Modified:
trunk/test-applications/jsp/src/main/java/panelMenu/PanelMenu.java
trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.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
trunk/test-applications/jsp/src/main/webapp/pages/main.jsp
Log:
update
Modified: trunk/test-applications/jsp/src/main/java/panelMenu/PanelMenu.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/panelMenu/PanelMenu.java 2007-09-18 15:08:07
UTC (rev 2982)
+++ trunk/test-applications/jsp/src/main/java/panelMenu/PanelMenu.java 2007-09-18 15:08:21
UTC (rev 2983)
@@ -63,6 +63,7 @@
return rendered;
}
public void setRendered(String rendered) {
+ System.out.println(rendered);
this.rendered = rendered;
}
public Icon getIcon() {
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-18
15:08:07 UTC (rev 2982)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/faces-config.xml 2007-09-18
15:08:21 UTC (rev 2983)
@@ -120,6 +120,10 @@
<from-outcome>RichTest</from-outcome>
<to-view-id>/pages/RichTest.jsp</to-view-id>
</navigation-case>
+ <navigation-case>
+ <from-outcome>Map</from-outcome>
+ <to-view-id>/pages/Map.jsp</to-view-id>
+ </navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>*</from-view-id>
Modified: trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp 2007-09-18 15:08:07 UTC (rev
2982)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Div.jsp 2007-09-18 15:08:21 UTC (rev
2983)
@@ -11,7 +11,9 @@
<body>
<h:form>
<h:panelGrid columns="2">
- <h:panelGroup>
+ <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
+ <h:commandLink action="#{skinBean.change}" value="set skin"
/>
+
<h:outputText value="Select component:" />
<h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
<f:selectItem itemValue="/Calendar/Calendar.jsp"
itemLabel="Calendar" />
@@ -43,7 +45,6 @@
<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;">
Added: trunk/test-applications/jsp/src/main/webapp/pages/Map.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Map.jsp (rev
0)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Map.jsp 2007-09-18 15:08:21 UTC (rev
2983)
@@ -0,0 +1,55 @@
+<%@ 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">
+ <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
+ <h:commandLink action="#{skinBean.change}" value="set skin"
/>
+ <h:outputText value="Select component:" />
+ <h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
+ <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="/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:panelGrid>
+ </h:form>
+ <div id="divID" style="position: absolute; top:15px; left: 10px;
z-index: 1">
+ <jsp:include page="SelectOneMenuPage.jsp" />
+ </div>
+ <jsp:include page="${divBean.src}" />
+</body>
+</html>
+</f:view>
\ No newline at end of file
Modified: trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp 2007-09-18 15:08:07 UTC
(rev 2982)
+++ trunk/test-applications/jsp/src/main/webapp/pages/RichTest.jsp 2007-09-18 15:08:21 UTC
(rev 2983)
@@ -11,7 +11,9 @@
<body>
<h:form>
<h:panelGrid columns="2">
- <h:panelGroup>
+ <h:selectOneMenu
binding="#{skinBean.component}"></h:selectOneMenu>
+ <h:commandLink action="#{skinBean.change}" value="set skin"
/>
+
<h:outputText value="Select component:" />
<h:selectOneMenu value="#{divBean.src}"
onchange="submit();">
<f:selectItem itemValue="/Calendar/Calendar.jsp"
itemLabel="Calendar" />
@@ -43,7 +45,6 @@
<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}" />
Modified: trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp 2007-09-18
15:08:07 UTC (rev 2982)
+++ trunk/test-applications/jsp/src/main/webapp/pages/SelectOneMenuPage.jsp 2007-09-18
15:08:21 UTC (rev 2983)
@@ -2,8 +2,8 @@
<%@ 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">
- <div id="divID" style="position: absolute; top:15px; left: 10px;
z-index: 1">
<h:panelGrid columns="7" cellpadding="20px"
cellspacing="30px">
<h:selectOneMenu value="selectItem" >
<f:selectItem itemLabel="selectItem" itemValue="test" />
@@ -173,5 +173,4 @@
<f:selectItem itemLabel="selectItem" itemValue="test" />
</h:selectOneMenu>
</h:panelGrid>
- </div>
</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-18 15:08:07 UTC
(rev 2982)
+++ trunk/test-applications/jsp/src/main/webapp/pages/main.jsp 2007-09-18 15:08:21 UTC
(rev 2983)
@@ -10,17 +10,13 @@
<body>
<f:view>
<h:form>
- <rich:panel>
- <h:selectOneRadio binding="#{skinBean.component}" />
- <h:commandLink action="#{skinBean.change}" value="set skin"
/>
- </rich:panel>
-
<div align="center"><h:outputText
- value="VCP 3.1.0 Test Application (JSF 1.1 RI)"
styleClass="maintext"></h:outputText></div>
+ value="VCP 3.2.0 Test Application (JSF 1.1RI(1.2RI))"
styleClass="maintext"></h:outputText></div>
<rich:panel>
<h:panelGrid columns="2" cellpadding="5px">
- <h:commandLink value="Test Div"
action="TestDiv"></h:commandLink>
- <h:commandLink value="Rich Test"
action="RichTest"></h:commandLink>
+ <h:commandLink value="RichFaces"
action="RichTest"></h:commandLink>
+ <h:commandLink value="Div"
action="TestDiv"></h:commandLink>
+ <h:commandLink value="Select"
action="Map"></h:commandLink>
</h:panelGrid>
</rich:panel>
</h:form>