Author: lfryc(a)redhat.com
Date: 2010-07-10 15:12:51 -0400 (Sat, 10 Jul 2010)
New Revision: 17837
Modified:
root/tests/metamer/trunk/pom.xml
root/tests/metamer/trunk/src/main/webapp/components/richDataScroller/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-466
* refactoring because componentControl moved to another taglib
Modified: root/tests/metamer/trunk/pom.xml
===================================================================
--- root/tests/metamer/trunk/pom.xml 2010-07-10 19:12:18 UTC (rev 17836)
+++ root/tests/metamer/trunk/pom.xml 2010-07-10 19:12:51 UTC (rev 17837)
@@ -98,11 +98,7 @@
<groupId>org.richfaces.ui.iteration</groupId>
<artifactId>richfaces-ui-iteration-ui</artifactId>
</dependency>
- <dependency>
- <groupId>org.richfaces.ui.misc</groupId>
- <artifactId>componentcontrol-ui</artifactId>
- </dependency>
-
+
<!-- Java Server Faces 2 -->
<dependency>
<groupId>${jsf2.api.groupid}</groupId>
@@ -142,7 +138,6 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>1.5.8</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
@@ -157,13 +152,6 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>1.6</version>
- <type>jar</type>
- </dependency>
-
<!--<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
@@ -400,3 +388,4 @@
</project>
+
Modified:
root/tests/metamer/trunk/src/main/webapp/components/richDataScroller/simple.xhtml
===================================================================
---
root/tests/metamer/trunk/src/main/webapp/components/richDataScroller/simple.xhtml 2010-07-10
19:12:18 UTC (rev 17836)
+++
root/tests/metamer/trunk/src/main/webapp/components/richDataScroller/simple.xhtml 2010-07-10
19:12:51 UTC (rev 17837)
@@ -24,7 +24,7 @@
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:ta="http://java.sun.com/jsf/composite/testapp"
xmlns:it="http://richfaces.org/iteration"
-
xmlns:cc="http://richfaces.org/componentControl"
xmlns:rich="http://richfaces.org/rich">
+
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/templates/template.xhtml">
@@ -39,6 +39,7 @@
<ui:define name="outOfTemplateBefore">
<br/>
+
<h:outputText value="Show data in table: " />
<h:selectBooleanCheckbox
value="#{richDataScrollerBean.state}">
<a4j:ajax render="richDataTable scroller1"/>
@@ -131,45 +132,45 @@
<ui:define name="outOfTemplateAfter">
<fieldset><legend>JavaScript API - scroller1</legend>
<h:commandButton value="«« first">
- <cc:componentControl event="click"
target="scroller1" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller1" operation="switchToPage">
<f:param value="first" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="« previous">
- <cc:componentControl event="click"
target="scroller1" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller1" operation="switchToPage">
<f:param value="fastrewind" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="next »">
- <cc:componentControl event="click"
target="scroller1" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller1" operation="switchToPage">
<f:param value="fastforward" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="last »»">
- <cc:componentControl event="click"
target="scroller1" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller1" operation="switchToPage">
<f:param value="last" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<br/>
<h:commandButton value="«« first">
- <cc:componentControl event="click"
target="scroller1" operation="first" />
+ <rich:componentControl event="click"
target="scroller1" operation="first" />
</h:commandButton>
<h:commandButton value="« previous">
- <cc:componentControl event="click"
target="scroller1" operation="previous" />
+ <rich:componentControl event="click"
target="scroller1" operation="previous" />
</h:commandButton>
<h:commandButton value="next »">
- <cc:componentControl event="click"
target="scroller1" operation="next" />
+ <rich:componentControl event="click"
target="scroller1" operation="next" />
</h:commandButton>
<h:commandButton value="last »»">
- <cc:componentControl event="click"
target="scroller1" operation="last" />
+ <rich:componentControl event="click"
target="scroller1" operation="last" />
</h:commandButton>
</fieldset>
@@ -177,45 +178,45 @@
<fieldset><legend>JavaScript API - scroller2</legend>
<h:commandButton value="«« first">
- <cc:componentControl event="click"
target="scroller2" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller2" operation="switchToPage">
<f:param value="first" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="« previous">
- <cc:componentControl event="click"
target="scroller2" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller2" operation="switchToPage">
<f:param value="fastrewind" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="next »">
- <cc:componentControl event="click"
target="scroller2" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller2" operation="switchToPage">
<f:param value="fastforward" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<h:commandButton value="last »»">
- <cc:componentControl event="click"
target="scroller2" operation="switchToPage">
+ <rich:componentControl event="click"
target="scroller2" operation="switchToPage">
<f:param value="last" />
- </cc:componentControl>
+ </rich:componentControl>
</h:commandButton>
<br/>
<h:commandButton value="«« first">
- <cc:componentControl event="click"
target="scroller2" operation="first" />
+ <rich:componentControl event="click"
target="scroller2" operation="first" />
</h:commandButton>
<h:commandButton value="« previous">
- <cc:componentControl event="click"
target="scroller2" operation="previous" />
+ <rich:componentControl event="click"
target="scroller2" operation="previous" />
</h:commandButton>
<h:commandButton value="next »">
- <cc:componentControl event="click"
target="scroller2" operation="next" />
+ <rich:componentControl event="click"
target="scroller2" operation="next" />
</h:commandButton>
<h:commandButton value="last »»">
- <cc:componentControl event="click"
target="scroller2" operation="last" />
+ <rich:componentControl event="click"
target="scroller2" operation="last" />
</h:commandButton>
</fieldset>