Author: lfryc(a)redhat.com
Date: 2010-02-16 09:42:30 -0500 (Tue, 16 Feb 2010)
New Revision: 16458
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356-menu-items.xhtml
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356.xhtml
Modified:
branches/community/3.3.X/test-applications/regression-test/pom.xml
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml
Log:
- regression-test - added regression test for RF-8356
Modified: branches/community/3.3.X/test-applications/regression-test/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/regression-test/pom.xml 2010-02-16 14:33:09
UTC (rev 16457)
+++ branches/community/3.3.X/test-applications/regression-test/pom.xml 2010-02-16 14:42:30
UTC (rev 16458)
@@ -16,6 +16,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <version.richfaces>${project.version}</version.richfaces>
</properties>
<build>
@@ -48,7 +49,7 @@
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
- <version>3.3.3-SNAPSHOT</version>
+ <version>${version.richfaces}</version>
<exclusions>
<exclusion>
<artifactId>richfaces-impl</artifactId>
@@ -59,7 +60,7 @@
<dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
- <version>3.3.3-SNAPSHOT</version>
+ <version>${version.richfaces}</version>
</dependency>
<dependency>
<groupId>com.sun.facelets</groupId>
@@ -70,8 +71,11 @@
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>1.2_12</version>
- <type>jar</type>
- <scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.2_12</version>
+ </dependency>
</dependencies>
</project>
Modified:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml 2010-02-16
14:33:09 UTC (rev 16457)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/index.xhtml 2010-02-16
14:42:30 UTC (rev 16458)
@@ -21,9 +21,13 @@
<td><a id="rf7975-jira"
href="https://jira.jboss.org/jira/browse/RF-7975">https://ji...
</tr>
<tr>
- <td style="width: 150px;"><a id="rf7994-tc"
href="/regression-test/pages/rf7994.jsf">Menu Item</a></td>
+ <td><a id="rf7994-tc"
href="/regression-test/pages/rf7994.jsf">Menu Item</a></td>
<td><a id="rf7994-jira"
href="https://jira.jboss.org/jira/browse/RF-7994">https://ji...
</tr>
+ <tr>
+ <td><a id="rf8356-tc"
href="/regression-test/pages/rf8356.jsf">Items inside
menu</a></td>
+ <td><a id="rf8356-jira"
href="https://jira.jboss.org/jira/browse/RF-8356">https://ji...
+ </tr>
</table>
</h:form>
</ui:define>
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356-menu-items.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356-menu-items.xhtml
(rev 0)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356-menu-items.xhtml 2010-02-16
14:42:30 UTC (rev 16458)
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:c="http://java.sun.com/jsp/jstl/core"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+ <rich:menuItem submitMode="ajax">
+ <h:outputLabel value="h:inputText" />
+ <h:inputText value="#{sessionScope['inputText']}"/>
+ </rich:menuItem>
+
+ <rich:menuItem submitMode="ajax">
+ <h:outputText value="h:selectBooleanCheckbox" />
+ <h:selectBooleanCheckbox
value="#{sessionScope['selectBooleanCheckbox']}" />
+ </rich:menuItem>
+
+ <rich:menuItem submitMode="ajax">
+ <h:outputText value="rich:inplaceSelect" />
+ <rich:inplaceInput value="#{sessionScope['inplaceSelect']}"
/>
+ </rich:menuItem>
+
+</ui:composition>
+
Added:
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356.xhtml
(rev 0)
+++
branches/community/3.3.X/test-applications/regression-test/src/main/webapp/pages/rf8356.xhtml 2010-02-16
14:42:30 UTC (rev 16458)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:c="http://java.sun.com/jsp/jstl/core"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+ <body>
+ <h:form>
+
+ <rich:toolBar>
+ <rich:dropDownMenu>
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:outputText value="Menu"/>
+ </h:panelGroup>
+ </f:facet>
+
+ <ui:include src="rf8356-menu-items.xhtml" />
+
+ <rich:menuGroup value="Group">
+ <ui:include src="rf8356-menu-items.xhtml" />
+ </rich:menuGroup>
+
+ </rich:dropDownMenu>
+ </rich:toolBar>
+
+ <ui:include src="rf8356-menu-items.xhtml" />
+
+ </h:form>
+ </body>
+</html>
+