JBoss Rich Faces SVN: r17358 - in root/examples: iteration-demo and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:52:58 -0400 (Fri, 28 May 2010)
New Revision: 17358
Added:
root/examples/iteration-demo/
root/examples/iteration-demo/branches/
root/examples/iteration-demo/tags/
root/examples/iteration-demo/trunk/
root/examples/iteration-demo/trunk/pom.xml
root/examples/iteration-demo/trunk/src/
Modified:
root/examples/pom.xml
Log:
https://jira.jboss.org/browse/RF-8668
Added: root/examples/iteration-demo/trunk/pom.xml
===================================================================
--- root/examples/iteration-demo/trunk/pom.xml (rev 0)
+++ root/examples/iteration-demo/trunk/pom.xml 2010-05-28 12:52:58 UTC (rev 17358)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.examples</groupId>
+ <artifactId>examples-aggregator</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.richfaces.examples</groupId>
+ <artifactId>iteration-demo</artifactId>
+ <packaging>war</packaging>
+ <name>RichFaces Examples: Iteration</name>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-bom</artifactId>
+ <version>${project.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-ui</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-impl</artifactId>
+ </dependency>
+
+ <!-- API implementation for runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+
+ <!-- JSF -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ <configuration>
+ <fail>false</fail>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Copied: root/examples/iteration-demo/trunk/src (from rev 17357, root/examples-sandbox/trunk/components/tables/src)
Modified: root/examples/pom.xml
===================================================================
--- root/examples/pom.xml 2010-05-28 12:49:50 UTC (rev 17357)
+++ root/examples/pom.xml 2010-05-28 12:52:58 UTC (rev 17358)
@@ -39,6 +39,7 @@
<module>core-demo/trunk</module>
<module>misc-demo/trunk</module>
<module>repeater-demo/trunk</module>
+ <module>iteration-demo/trunk</module>
<!--<module>richfaces-showcase/trunk</module>-->
<!--<module>dist/trunk</module>-->
</modules>
14 years
JBoss Rich Faces SVN: r17357 - root/ui/core/trunk/api/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:49:50 -0400 (Fri, 28 May 2010)
New Revision: 17357
Modified:
root/ui/core/trunk/api/src/main/java/org/richfaces/component/AbstractPoll.java
Log:
AbstractPoll should inherit from AbstractActionComponent
Modified: root/ui/core/trunk/api/src/main/java/org/richfaces/component/AbstractPoll.java
===================================================================
--- root/ui/core/trunk/api/src/main/java/org/richfaces/component/AbstractPoll.java 2010-05-28 12:45:57 UTC (rev 17356)
+++ root/ui/core/trunk/api/src/main/java/org/richfaces/component/AbstractPoll.java 2010-05-28 12:49:50 UTC (rev 17357)
@@ -29,8 +29,6 @@
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
-import javax.faces.component.UICommand;
-
/**
* Component for periodically call AJAX events on server ( poll actions )
* @author shura
@@ -39,7 +37,7 @@
@JsfComponent(
tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.AjaxPollHandler", type = TagType.Facelets)
)
-public abstract class AbstractPoll extends UICommand {
+public abstract class AbstractPoll extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.Poll";
public static final String COMPONENT_FAMILY = "org.richfaces.Poll";
14 years
JBoss Rich Faces SVN: r17356 - root/examples-sandbox/trunk/components/tables.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-05-28 08:45:57 -0400 (Fri, 28 May 2010)
New Revision: 17356
Modified:
root/examples-sandbox/trunk/components/tables/pom.xml
Log:
add iteration impl
Modified: root/examples-sandbox/trunk/components/tables/pom.xml
===================================================================
--- root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
+++ root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:45:57 UTC (rev 17356)
@@ -42,14 +42,6 @@
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui-iteration-impl</artifactId>
</dependency>
- <dependency>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui-iteration-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui-iteration-ui</artifactId>
- </dependency>
<!-- API implementation for runtime -->
<dependency>
14 years
JBoss Rich Faces SVN: r17355 - in root: examples/richfaces-showcase/trunk and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-05-28 08:45:21 -0400 (Fri, 28 May 2010)
New Revision: 17355
Added:
root/ui/iteration/trunk/dist/richfaces-ui-iteration-impl/
root/ui/iteration/trunk/dist/richfaces-ui-iteration-impl/pom.xml
Modified:
root/examples-sandbox/trunk/components/tables/pom.xml
root/examples/pom.xml
root/examples/richfaces-showcase/trunk/pom.xml
root/ui/dist/trunk/pom.xml
root/ui/dist/trunk/richfaces-components-impl/pom.xml
root/ui/iteration/trunk/bom/pom.xml
root/ui/iteration/trunk/dist/pom.xml
Log:
add iteration impl
Modified: root/examples/pom.xml
===================================================================
--- root/examples/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/examples/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -48,7 +48,7 @@
<jetty.port>8080</jetty.port>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <richfaces.checkstyle.version>4.0.0-SNAPSHOT</richfaces.checkstyle.version>
+ <richfaces.checkstyle.version>1</richfaces.checkstyle.version>
</properties>
<dependencyManagement>
Modified: root/examples/richfaces-showcase/trunk/pom.xml
===================================================================
--- root/examples/richfaces-showcase/trunk/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/examples/richfaces-showcase/trunk/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -49,14 +49,14 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
- <artifactId>tables-ui</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-ui</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui-misc-ui</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-misc-ui</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
Modified: root/examples-sandbox/trunk/components/tables/pom.xml
===================================================================
--- root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -13,27 +13,16 @@
</parent>
<groupId>org.richfaces.examples.components</groupId>
- <artifactId>${example.componentName}-demo</artifactId>
+ <artifactId>table-demo</artifactId>
<packaging>war</packaging>
- <name>Richfaces Sandbox Examples: Tables Demo</name>
+ <name>Richfaces Sandbox Examples: Iteration Components Demo</name>
- <properties>
- <example.componentName>tables</example.componentName>
- </properties>
-
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
- <artifactId>${example.componentName}-bom</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
- <dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui-iteration-bom</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
@@ -42,24 +31,24 @@
<dependencies>
<dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-api</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-api</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>datascroller-ui</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-ui</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>tables-ui</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-impl</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>tables-api</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-api</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui.iteration</groupId>
- <artifactId>tables-impl</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-ui</artifactId>
</dependency>
<!-- API implementation for runtime -->
Modified: root/ui/dist/trunk/pom.xml
===================================================================
--- root/ui/dist/trunk/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/ui/dist/trunk/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -38,7 +38,7 @@
<modules>
<!-- aggregate modules -->
<module>richfaces-components-api</module>
- <!--<module>richfaces-components-impl</module>-->
+ <module>richfaces-components-impl</module>
<module>richfaces-components-ui</module>
</modules>
Modified: root/ui/dist/trunk/richfaces-components-impl/pom.xml
===================================================================
--- root/ui/dist/trunk/richfaces-components-impl/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/ui/dist/trunk/richfaces-components-impl/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -43,25 +43,18 @@
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
- <artifactId>richfaces-ui-core-bom</artifactId>
+ <artifactId>richfaces-ui-iteration-bom</artifactId>
<version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
- <dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
- <artifactId>tables-bom</artifactId>
- <version>${project.version}</version>
- <scope>import</scope>
- <type>pom</type>
- </dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
- <artifactId>tables-impl</artifactId>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-impl</artifactId>
</dependency>
<!-- for javadoc generation -->
@@ -161,7 +154,6 @@
<artifactSet>
<includes>
<include>org.richfaces.ui:*</include>
- <include>org.richfaces.ui-sandbox:*</include>
</includes>
</artifactSet>
<createSourcesJar>true</createSourcesJar>
@@ -184,7 +176,26 @@
<id>release</id>
<build>
<plugins>
+ <plugin>
+ <!-- unpack necessary dependencies for collecting javadocs -->
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deps</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <classifier>sources</classifier>
+ <includeGroupIds>${assembly.projects.group}</includeGroupIds>
+ <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
+ <excludeTransitive>true</excludeTransitive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
@@ -196,14 +207,7 @@
<goal>jar</goal>
</goals>
<configuration>
- <!-- switch on dependency-driven aggregation -->
- <includeDependencySources>true</includeDependencySources>
-
- <dependencySourceIncludes>
- <!-- exclude ONLY commons-cli artifacts -->
- <dependencySourceInclude>org.richfaces.ui:*</dependencySourceInclude>
- <dependencySourceInclude>org.richfaces.ui-sandbox:*</dependencySourceInclude>
- </dependencySourceIncludes>
+ <sourcepath>${basedir}/target/dependency</sourcepath>
</configuration>
</execution>
</executions>
Modified: root/ui/iteration/trunk/bom/pom.xml
===================================================================
--- root/ui/iteration/trunk/bom/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/ui/iteration/trunk/bom/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -57,6 +57,11 @@
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui-iteration-api</artifactId>
<version>${project.version}</version>
</dependency>
Modified: root/ui/iteration/trunk/dist/pom.xml
===================================================================
--- root/ui/iteration/trunk/dist/pom.xml 2010-05-28 12:32:32 UTC (rev 17354)
+++ root/ui/iteration/trunk/dist/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -38,6 +38,7 @@
<modules>
<!-- aggregate modules -->
<module>richfaces-ui-iteration-api</module>
+ <module>richfaces-ui-iteration-impl</module>
<module>richfaces-ui-iteration-ui</module>
</modules>
</project>
\ No newline at end of file
Copied: root/ui/iteration/trunk/dist/richfaces-ui-iteration-impl/pom.xml (from rev 17352, root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml)
===================================================================
--- root/ui/iteration/trunk/dist/richfaces-ui-iteration-impl/pom.xml (rev 0)
+++ root/ui/iteration/trunk/dist/richfaces-ui-iteration-impl/pom.xml 2010-05-28 12:45:21 UTC (rev 17355)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces</groupId>
+ <artifactId>richfaces-parent</artifactId>
+ <version>6</version>
+ </parent>
+
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-impl</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Richfaces UI Iteration API</name>
+
+ <properties>
+ <assembly.projects.group>org.richfaces.ui.iteration</assembly.projects.group>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-bom</artifactId>
+ <version>${project.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <!-- artifacts for aggregation -->
+ <dependency>
+ <groupId>${assembly.projects.group}</groupId>
+ <artifactId>tables-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- artifacts for javadoc generation -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.3.3</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+ <include>${assembly.projects.group}:*</include>
+ </includes>
+ </artifactSet>
+ <createSourcesJar>true</createSourcesJar>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-shade-transformers</artifactId>
+ <version>${faces-shade-transformers.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <profiles>
+ <profile>
+ <id>release</id>
+
+ <build>
+ <plugins>
+ <plugin>
+ <!-- unpack necessary dependencies for collecting javadocs -->
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deps</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <classifier>sources</classifier>
+
+ <includeGroupIds>${assembly.projects.group}</includeGroupIds>
+ <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
+ <excludeTransitive>true</excludeTransitive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>javadoc-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <sourcepath>${basedir}/target/dependency</sourcepath>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
\ No newline at end of file
14 years
JBoss Rich Faces SVN: r17354 - in root: ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:32:32 -0400 (Fri, 28 May 2010)
New Revision: 17354
Added:
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/LazyActionListener.java
Removed:
root/ui/core/trunk/api/src/main/resources/META-INF/a4j_ext.taglib.xml
Modified:
root/examples/core-demo/trunk/src/main/webapp/actionListener.xhtml
root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/ActionListenerHandler.java
Log:
https://jira.jboss.org/browse/RF-8444
Modified: root/examples/core-demo/trunk/src/main/webapp/actionListener.xhtml
===================================================================
--- root/examples/core-demo/trunk/src/main/webapp/actionListener.xhtml 2010-05-28 12:14:43 UTC (rev 17353)
+++ root/examples/core-demo/trunk/src/main/webapp/actionListener.xhtml 2010-05-28 12:32:32 UTC (rev 17354)
@@ -5,7 +5,6 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:a4j_ext="http://richfaces.org/a4j_ext"
xmlns:demo="http://java.sun.com/jsf/composite/demo">
<f:view>
<h:head>
@@ -16,22 +15,22 @@
<h:panelGrid columns="1">
<h:commandButton value="Invoke listener by type">
- <a4j_ext:actionListener type="org.richfaces.demo.ActionListenerBean$ActionListenerImpl" />
+ <a4j:actionListener type="org.richfaces.demo.ActionListenerBean$ActionListenerImpl" />
<f:ajax render="messages" />
</h:commandButton>
<h:commandButton value="Invoke listener by binding">
- <a4j_ext:actionListener binding="#{actionListenerBean.actionListener}" />
+ <a4j:actionListener binding="#{actionListenerBean.actionListener}" />
<f:ajax render="messages" />
</h:commandButton>
<h:commandButton value="Invoke listener method">
- <a4j_ext:actionListener listener="#{actionListenerBean.handleActionMethod}" />
+ <a4j:actionListener listener="#{actionListenerBean.handleActionMethod}" />
<f:ajax render="messages" />
</h:commandButton>
<demo:actionComposite render=":form:messages" value="Invoke listener method in composite component">
- <a4j_ext:actionListener for="button" listener="#{actionListenerBean.handleActionMethodComposite}" />
+ <a4j:actionListener for="button" listener="#{actionListenerBean.handleActionMethodComposite}" />
</demo:actionComposite>
</h:panelGrid>
</h:form>
Modified: root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/ActionListenerHandler.java
===================================================================
--- root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/ActionListenerHandler.java 2010-05-28 12:14:43 UTC (rev 17353)
+++ root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/ActionListenerHandler.java 2010-05-28 12:32:32 UTC (rev 17354)
@@ -22,14 +22,12 @@
package org.richfaces.view.facelets.html;
import java.io.IOException;
-import java.io.Serializable;
import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.component.ActionSource;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
-import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
import javax.faces.event.ActionListener;
import javax.faces.event.MethodExpressionActionListener;
@@ -53,53 +51,7 @@
private String listenerType;
private TagAttribute listenerMethod;
-
- private static final class LazyActionListener implements ActionListener, Serializable {
- /**
- *
- */
- private static final long serialVersionUID = 6303879250524609909L;
-
- private final String type;
-
- private final ValueExpression binding;
-
- public LazyActionListener(String type, ValueExpression binding) {
- this.type = type;
- this.binding = binding;
- }
-
- public void processAction(ActionEvent event) throws AbortProcessingException {
- ActionListener instance = null;
- FacesContext faces = FacesContext.getCurrentInstance();
- if (faces == null) {
- return;
- }
-
- if (this.binding != null) {
- instance = (ActionListener) binding.getValue(faces.getELContext());
- }
-
- if (instance == null && this.type != null) {
- try {
- instance = TagHandlerUtils.loadClass(this.type, ActionListener.class).newInstance();
- } catch (Exception e) {
- throw new AbortProcessingException(
- "Couldn't lazily instantiate ActionListener", e);
- }
-
- if (this.binding != null) {
- binding.setValue(faces.getELContext(), instance);
- }
- }
-
- if (instance != null) {
- instance.processAction(event);
- }
- }
- }
-
public ActionListenerHandler(TagConfig config) {
super(config);
@@ -114,21 +66,19 @@
try {
TagHandlerUtils.loadClass(type.getValue(), ActionListener.class);
} catch (ClassNotFoundException e) {
- throw new TagAttributeException(type,
- "Couldn't qualify ActionListener", e);
+ throw new TagAttributeException(type, "Couldn't qualify ActionListener", e);
} catch (ClassCastException e) {
- throw new TagAttributeException(type,
- "Qualified class is not ActionListener", e);
+ throw new TagAttributeException(type, "Qualified class is not ActionListener", e);
}
}
-
+
this.listenerType = type.getValue();
} else {
this.listenerType = null;
}
-
+
this.listenerMethod = this.getAttribute("listener");
-
+
if (this.listenerMethod != null && this.binding != null) {
throw new TagException(this.tag, "Attributes 'listener' and 'binding' cannot be used simultaneously");
}
@@ -142,15 +92,15 @@
if (!(parent instanceof ActionSource)) {
throw new TagException(this.tag, "Parent is not of type ActionSource, type is: " + parent);
}
-
+
ActionSource as = (ActionSource) parent;
-
+
FaceletContext ctx = (FaceletContext) context.getAttributes().get(FaceletContext.FACELET_CONTEXT_KEY);
if (this.listenerMethod != null) {
- MethodExpression listenerMethodExpression = this.listenerMethod.
- getMethodExpression(ctx, Void.TYPE, new Class<?>[] { ActionEvent.class });
-
+ MethodExpression listenerMethodExpression = this.listenerMethod.getMethodExpression(ctx, Void.TYPE,
+ new Class<?>[] { ActionEvent.class });
+
as.addActionListener(new MethodExpressionActionListener(listenerMethodExpression));
} else {
ValueExpression b = null;
@@ -177,7 +127,7 @@
if (null == parent || !(ComponentHandler.isNew(parent))) {
return;
}
-
+
if (UIComponent.isCompositeComponent(parent)) {
if (null == getFor()) {
throw new TagException(this.tag,
Added: root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/LazyActionListener.java
===================================================================
--- root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/LazyActionListener.java (rev 0)
+++ root/ui/core/trunk/api/src/main/java/org/richfaces/view/facelets/html/LazyActionListener.java 2010-05-28 12:32:32 UTC (rev 17354)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.richfaces.view.facelets.html;
+
+import java.io.Serializable;
+
+import javax.el.ValueExpression;
+import javax.faces.context.FacesContext;
+import javax.faces.event.AbortProcessingException;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ActionListener;
+
+import org.richfaces.cdk.annotations.Event;
+import org.richfaces.cdk.annotations.Tag;
+import org.richfaces.cdk.annotations.TagType;
+
+/**
+ * @author Nick Belaevski
+ *
+ */
+@Event(listener = ActionListener.class, source = "org.richfaces.event.DummyActionListenerSource",
+ tag = {
+ @Tag(name = "actionListener", handler = "org.richfaces.view.facelets.html.ActionListenerHandler",
+ generate = false, type = TagType.Facelets)
+ }
+)
+class LazyActionListener implements ActionListener, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 6303879250524609909L;
+
+ private final String type;
+
+ private final ValueExpression binding;
+
+ public LazyActionListener(String type, ValueExpression binding) {
+ this.type = type;
+ this.binding = binding;
+ }
+
+ public void processAction(ActionEvent event) throws AbortProcessingException {
+ ActionListener instance = null;
+ FacesContext faces = FacesContext.getCurrentInstance();
+ if (faces == null) {
+ return;
+ }
+
+ if (this.binding != null) {
+ instance = (ActionListener) binding.getValue(faces.getELContext());
+ }
+
+ if (instance == null && this.type != null) {
+ try {
+ instance = TagHandlerUtils.loadClass(this.type, ActionListener.class).newInstance();
+ } catch (Exception e) {
+ throw new AbortProcessingException("Couldn't lazily instantiate ActionListener", e);
+ }
+
+ if (this.binding != null) {
+ binding.setValue(faces.getELContext(), instance);
+ }
+ }
+
+ if (instance != null) {
+ instance.processAction(event);
+ }
+ }
+}
Deleted: root/ui/core/trunk/api/src/main/resources/META-INF/a4j_ext.taglib.xml
===================================================================
--- root/ui/core/trunk/api/src/main/resources/META-INF/a4j_ext.taglib.xml 2010-05-28 12:14:43 UTC (rev 17353)
+++ root/ui/core/trunk/api/src/main/resources/META-INF/a4j_ext.taglib.xml 2010-05-28 12:32:32 UTC (rev 17354)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
- version="2.0" id="a4j_ext">
- <namespace>http://richfaces.org/a4j_ext</namespace>
- <tag>
- <tag-name>actionListener</tag-name>
- <handler-class>org.richfaces.view.facelets.html.ActionListenerHandler</handler-class>
- <attribute>
- <description>
- Value binding expression that evaluates to an object that implements
- javax.faces.event.ActionListener.
- </description>
- <name>binding</name>
- <type>javax.faces.event.ActionListener</type>
- </attribute>
- <attribute>
- <description>
- If present, this attribute refers to the value of one of the exposed attached objects within
- the composite component inside of which this tag is nested.
- </description>
- <name>for</name>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <description>
- Method expression referencing a method that will be called when an ActionEvent has been broadcast
- for the listener. Shouldn't be used simultaneously with 'binding' or 'type' attributes.
- </description>
- <name>listener</name>
- <type>javax.el.MethodExpression</type>
- </attribute>
- <attribute>
- <description>
- Fully qualified Java class name of an ActionListener to be created and registered.
- </description>
- <name>type</name>
- <type>java.lang.String</type>
- </attribute>
- </tag>
-</facelet-taglib>
14 years
JBoss Rich Faces SVN: r17353 - root/examples-sandbox/trunk/components/tables.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:14:43 -0400 (Fri, 28 May 2010)
New Revision: 17353
Modified:
root/examples-sandbox/trunk/components/tables/pom.xml
Log:
https://jira.jboss.org/browse/RF-8668
Modified: root/examples-sandbox/trunk/components/tables/pom.xml
===================================================================
--- root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:12:34 UTC (rev 17352)
+++ root/examples-sandbox/trunk/components/tables/pom.xml 2010-05-28 12:14:43 UTC (rev 17353)
@@ -50,15 +50,15 @@
<artifactId>datascroller-ui</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
+ <groupId>org.richfaces.ui.iteration</groupId>
<artifactId>tables-ui</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
+ <groupId>org.richfaces.ui.iteration</groupId>
<artifactId>tables-api</artifactId>
</dependency>
<dependency>
- <groupId>org.richfaces.ui-sandbox</groupId>
+ <groupId>org.richfaces.ui.iteration</groupId>
<artifactId>tables-impl</artifactId>
</dependency>
14 years
JBoss Rich Faces SVN: r17352 - root/ui-sandbox.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:12:34 -0400 (Fri, 28 May 2010)
New Revision: 17352
Removed:
root/ui-sandbox/tables/
Modified:
root/ui-sandbox/pom.xml
Log:
https://jira.jboss.org/browse/RF-8668
Modified: root/ui-sandbox/pom.xml
===================================================================
--- root/ui-sandbox/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
+++ root/ui-sandbox/pom.xml 2010-05-28 12:12:34 UTC (rev 17352)
@@ -36,6 +36,5 @@
<name>Richfaces UI Components Sandbox Aggregator</name>
<modules>
- <module>tables/trunk</module>
</modules>
</project>
\ No newline at end of file
14 years
JBoss Rich Faces SVN: r17351 - in root/ui/iteration/trunk: bom and 6 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-05-28 08:11:36 -0400 (Fri, 28 May 2010)
New Revision: 17351
Added:
root/ui/iteration/trunk/tables/
root/ui/iteration/trunk/tables/api/
root/ui/iteration/trunk/tables/api/pom.xml
root/ui/iteration/trunk/tables/api/src/
root/ui/iteration/trunk/tables/impl/
root/ui/iteration/trunk/tables/impl/pom.xml
root/ui/iteration/trunk/tables/impl/src/
root/ui/iteration/trunk/tables/pom.xml
root/ui/iteration/trunk/tables/ui/
root/ui/iteration/trunk/tables/ui/pom.xml
root/ui/iteration/trunk/tables/ui/src/
Modified:
root/ui/iteration/trunk/bom/pom.xml
root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml
root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml
root/ui/iteration/trunk/pom.xml
Log:
https://jira.jboss.org/browse/RF-8668
Modified: root/ui/iteration/trunk/bom/pom.xml
===================================================================
--- root/ui/iteration/trunk/bom/pom.xml 2010-05-28 12:01:32 UTC (rev 17350)
+++ root/ui/iteration/trunk/bom/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -72,6 +72,23 @@
<artifactId>datascroller-ui</artifactId>
<version>${project.version}</version>
</dependency>
- </dependencies>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-ui</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ </dependencies>
</dependencyManagement>
</project>
Modified: root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml
===================================================================
--- root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml 2010-05-28 12:01:32 UTC (rev 17350)
+++ root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -59,6 +59,11 @@
<artifactId>datascroller-api</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>${assembly.projects.group}</groupId>
+ <artifactId>tables-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<!-- artifacts for javadoc generation -->
<dependency>
Modified: root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml
===================================================================
--- root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml 2010-05-28 12:01:32 UTC (rev 17350)
+++ root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -59,6 +59,11 @@
<artifactId>datascroller-ui</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>${assembly.projects.group}</groupId>
+ <artifactId>tables-ui</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<!-- artifacts for javadoc generation -->
<dependency>
Modified: root/ui/iteration/trunk/pom.xml
===================================================================
--- root/ui/iteration/trunk/pom.xml 2010-05-28 12:01:32 UTC (rev 17350)
+++ root/ui/iteration/trunk/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -39,6 +39,7 @@
<modules>
<module>bom</module>
<module>parent</module>
+ <module>tables</module>
<module>datascroller</module>
<module>dist</module>
Added: root/ui/iteration/trunk/tables/api/pom.xml
===================================================================
--- root/ui/iteration/trunk/tables/api/pom.xml (rev 0)
+++ root/ui/iteration/trunk/tables/api/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <parent>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-api</artifactId>
+ <name>Richfaces UI Components: Tables API</name>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Copied: root/ui/iteration/trunk/tables/api/src (from rev 17350, root/ui-sandbox/tables/trunk/api/src)
Added: root/ui/iteration/trunk/tables/impl/pom.xml
===================================================================
--- root/ui/iteration/trunk/tables/impl/pom.xml (rev 0)
+++ root/ui/iteration/trunk/tables/impl/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-impl</artifactId>
+ <name>Richfaces UI Components: Tables Impl</name>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-api</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Copied: root/ui/iteration/trunk/tables/impl/src (from rev 17350, root/ui-sandbox/tables/trunk/impl/src)
Added: root/ui/iteration/trunk/tables/pom.xml
===================================================================
--- root/ui/iteration/trunk/tables/pom.xml (rev 0)
+++ root/ui/iteration/trunk/tables/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces</groupId>
+ <artifactId>richfaces-parent</artifactId>
+ <version>6</version>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-aggregator</artifactId>
+ <packaging>pom</packaging>
+ <name>Richfaces UI Components: Tables Aggregator</name>
+
+ <modules>
+ <module>api</module>
+ <module>impl</module>
+ <module>ui</module>
+ </modules>
+</project>
\ No newline at end of file
Added: root/ui/iteration/trunk/tables/ui/pom.xml
===================================================================
--- root/ui/iteration/trunk/tables/ui/pom.xml (rev 0)
+++ root/ui/iteration/trunk/tables/ui/pom.xml 2010-05-28 12:11:36 UTC (rev 17351)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ JBoss, Home of Professional Open Source Copyright 2010, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the
+ copyright.txt in the distribution for a full listing of
+ individual contributors. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU
+ Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your
+ option) any later version. This software is distributed in the
+ hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ for more details. You should have received a copy of the GNU
+ Lesser General Public License along with this software; if not,
+ write to the Free Software Foundation, Inc., 51 Franklin St,
+ Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ http://www.fsf.org.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-ui-iteration-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-ui</artifactId>
+ <name>Richfaces UI Components: Tables UI</name>
+ <packaging>jar</packaging>
+
+ <dependencies>
+ <!-- runtime -->
+ <dependency>
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-api</artifactId>
+ </dependency>
+ <dependency>
+ <!-- todo remove this dependency or move to test scope -->
+ <groupId>org.richfaces.core</groupId>
+ <artifactId>richfaces-core-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.richfaces.ui.iteration</groupId>
+ <artifactId>tables-impl</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- JSF with dependencies -->
+ <dependency>
+ <groupId>${jsf2.api.groupid}</groupId>
+ <artifactId>${jsf2.api.artifactid}</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- tests -->
+ <dependency>
+ <groupId>${jsf2.impl.groupid}</groupId>
+ <artifactId>${jsf2.impl.artifactid}</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <!-- todo api? -->
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-test-stage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>htmlunit-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.test-jsf</groupId>
+ <artifactId>jsf-mock</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Copied: root/ui/iteration/trunk/tables/ui/src (from rev 17350, root/ui-sandbox/tables/trunk/ui/src)
14 years
JBoss Rich Faces SVN: r17350 - root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-05-28 08:01:32 -0400 (Fri, 28 May 2010)
New Revision: 17350
Modified:
root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableToggleControlRendererBase.java
Log:
https://jira.jboss.org/browse/RF-8686
Modified: root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableToggleControlRendererBase.java
===================================================================
--- root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableToggleControlRendererBase.java 2010-05-28 11:10:03 UTC (rev 17349)
+++ root/ui-sandbox/tables/trunk/ui/src/main/java/org/richfaces/renderkit/SubTableToggleControlRendererBase.java 2010-05-28 12:01:32 UTC (rev 17350)
@@ -26,6 +26,7 @@
import java.util.HashMap;
import java.util.Map;
+import javax.faces.application.Resource;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.UIComponent;
@@ -53,6 +54,10 @@
private static final String COLLAPSE_STATE = "collapse";
+ private static final String UP_ICON_URL = "up_icon.gif";
+
+ private static final String DOWN_ICON_URL = "down_icon.gif";
+
@Override
protected void doDecode(FacesContext context, UIComponent component) {
context.getPartialViewContext().getRenderIds().add(component.getClientId(context));
@@ -104,6 +109,7 @@
writer.writeAttribute(HTML.CLASS_ATTRIBUTE, styleClass, null);
writer.writeAttribute(HTML.STYLE_ATTRIBUTE, style, null);
+ boolean encodeDefault = true;
UIComponent controlFacet = control.getFacet(state);
if(controlFacet != null && controlFacet.isRendered()) {
@@ -112,29 +118,53 @@
facetStyle = facetStyle != null ? facetStyle + "; display: none" : "; display: none";
controlFacet.getAttributes().put("style", facetStyle);
}
-
controlFacet.encodeAll(context);
+ encodeDefault = false;
+ }
+
+ String expandIcon = control.getExpandIcon();
+ String collapseIcon = control.getCollapseIcon();
+
+ if((expandIcon != null && collapseIcon != null)
+ && (expandIcon.trim().length() > 0 && collapseIcon.trim().length() > 0)) {
- } else {
+ String image = expanded ? expandIcon : collapseIcon;
+ if (image != null && image.trim().length() > 0) {
+ writer.startElement(HTML.IMG_ELEMENT, control);
+ writer.writeAttribute(HTML.SRC_ATTRIBUTE, image, null);
+ writer.writeAttribute(HTML.ALT_ATTRIBUTE, "", null);
+ writer.endElement(HTML.IMG_ELEMENT);
+ }
+ encodeDefault = false;
+ }
+
+ String label = expanded ? control.getExpandLabel() : control.getCollapseLabel();
+ if(label != null && label.trim().length() > 0) {
+ writer.startElement(HTML.A_ELEMENT, control);
+ writer.writeAttribute(HTML.HREF_ATTR, "javascript:void(0);", null);
+ writer.writeText(label, null);
+ writer.endElement(HTML.A_ELEMENT);
+ encodeDefault = false;
+ }
+
+ if(encodeDefault) {
+ expandIcon = context.getApplication().getResourceHandler().createResource(UP_ICON_URL).getRequestPath();
+ collapseIcon = context.getApplication().getResourceHandler().createResource(DOWN_ICON_URL).getRequestPath();
- String image = expanded ? control.getExpandIcon() : control.getCollapseIcon();
+ String image = expanded ? expandIcon : collapseIcon;
if (image != null && image.trim().length() > 0) {
writer.startElement(HTML.IMG_ELEMENT, control);
writer.writeAttribute(HTML.SRC_ATTRIBUTE, image, null);
writer.writeAttribute(HTML.ALT_ATTRIBUTE, "", null);
writer.endElement(HTML.IMG_ELEMENT);
- }
+ }
- String label = expanded ? control.getExpandLabel() : control.getCollapseLabel();
- if(label != null && label.trim().length() > 0) {
- writer.startElement(HTML.A_ELEMENT, control);
- writer.writeAttribute(HTML.HREF_ATTR, "javascript:void(0);", null);
- writer.writeText(label, null);
- writer.endElement(HTML.A_ELEMENT);
- }
}
+
writer.endElement(HTML.SPAN_ELEM);
}
+
+
public HashMap<String, Object> encodeOptions(FacesContext context, UISubTableToggleControl toggleControl, UISubTable subTable) {
String forId = subTable.getClientId(context);
14 years
JBoss Rich Faces SVN: r17349 - in root/ui: dist/trunk/richfaces-components-ui and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-05-28 07:10:03 -0400 (Fri, 28 May 2010)
New Revision: 17349
Modified:
root/ui/dist/trunk/richfaces-components-api/pom.xml
root/ui/dist/trunk/richfaces-components-ui/pom.xml
root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml
root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml
root/ui/misc/trunk/dist/richfaces-ui-misc-ui/pom.xml
Log:
clone shade plugin configurations
Modified: root/ui/dist/trunk/richfaces-components-api/pom.xml
===================================================================
--- root/ui/dist/trunk/richfaces-components-api/pom.xml 2010-05-28 10:50:37 UTC (rev 17348)
+++ root/ui/dist/trunk/richfaces-components-api/pom.xml 2010-05-28 11:10:03 UTC (rev 17349)
@@ -37,7 +37,7 @@
<properties>
<assembly.projects.group>org.richfaces.ui</assembly.projects.group>
- <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
</properties>
<dependencyManagement>
@@ -143,7 +143,7 @@
</plugin>
</plugins>
</build>
-
+
<profiles>
<profile>
<id>release</id>
Modified: root/ui/dist/trunk/richfaces-components-ui/pom.xml
===================================================================
--- root/ui/dist/trunk/richfaces-components-ui/pom.xml 2010-05-28 10:50:37 UTC (rev 17348)
+++ root/ui/dist/trunk/richfaces-components-ui/pom.xml 2010-05-28 11:10:03 UTC (rev 17349)
@@ -35,10 +35,10 @@
<packaging>jar</packaging>
<name>Richfaces UI Components UI</name>
- <properties>
- <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
+ <properties>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
<assembly.projects.group>org.richfaces.ui</assembly.projects.group>
- </properties>
+ </properties>
<dependencyManagement>
<dependencies>
@@ -154,34 +154,34 @@
</includes>
</artifactSet>
<createSourcesJar>true</createSourcesJar>
-<!-- <transformers>
- <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
- <taglibs>
- <taglib>
- <targetNamespace>http://richfaces.org/a4j</targetNamespace>
- </taglib>
- <taglib>
- <targetNamespace>http://richfaces.org/rich</targetNamespace>
- <sourceNamespacesPattern>.*</sourceNamespacesPattern>
- </taglib>
- </taglibs>
- </transformer>
- <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer" />
- </transformers>-->
+ <transformers>
+ <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
+ <taglibs>
+ <taglib>
+ <targetNamespace>http://richfaces.org/a4j</targetNamespace>
+ </taglib>
+ <taglib>
+ <targetNamespace>http://richfaces.org/rich</targetNamespace>
+ <sourceNamespacesPattern>.*</sourceNamespacesPattern>
+ </taglib>
+ </taglibs>
+ </transformer>
+ <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer"/>
+ </transformers>
</configuration>
</execution>
</executions>
- <dependencies>
- <dependency>
- <groupId>org.richfaces.build.resources</groupId>
- <artifactId>faces-shade-transformers</artifactId>
- <version>${faces-shade-transformers.version}</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-shade-transformers</artifactId>
+ <version>${faces-shade-transformers.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
-
+
<profiles>
<profile>
<id>release</id>
Modified: root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml
===================================================================
--- root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml 2010-05-28 10:50:37 UTC (rev 17348)
+++ root/ui/iteration/trunk/dist/richfaces-ui-iteration-api/pom.xml 2010-05-28 11:10:03 UTC (rev 17349)
@@ -37,6 +37,7 @@
<properties>
<assembly.projects.group>org.richfaces.ui.iteration</assembly.projects.group>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
</properties>
<dependencyManagement>
@@ -92,6 +93,13 @@
</configuration>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-shade-transformers</artifactId>
+ <version>${faces-shade-transformers.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
Modified: root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml
===================================================================
--- root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml 2010-05-28 10:50:37 UTC (rev 17348)
+++ root/ui/iteration/trunk/dist/richfaces-ui-iteration-ui/pom.xml 2010-05-28 11:10:03 UTC (rev 17349)
@@ -37,6 +37,7 @@
<properties>
<assembly.projects.group>org.richfaces.ui.iteration</assembly.projects.group>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
</properties>
<dependencyManagement>
@@ -89,9 +90,30 @@
</includes>
</artifactSet>
<createSourcesJar>true</createSourcesJar>
+ <transformers>
+ <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
+ <taglibs>
+ <taglib>
+ <targetNamespace>http://richfaces.org/a4j</targetNamespace>
+ </taglib>
+ <taglib>
+ <targetNamespace>http://richfaces.org/rich</targetNamespace>
+ <sourceNamespacesPattern>.*</sourceNamespacesPattern>
+ </taglib>
+ </taglibs>
+ </transformer>
+ <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer"/>
+ </transformers>
</configuration>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-shade-transformers</artifactId>
+ <version>${faces-shade-transformers.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
Modified: root/ui/misc/trunk/dist/richfaces-ui-misc-ui/pom.xml
===================================================================
--- root/ui/misc/trunk/dist/richfaces-ui-misc-ui/pom.xml 2010-05-28 10:50:37 UTC (rev 17348)
+++ root/ui/misc/trunk/dist/richfaces-ui-misc-ui/pom.xml 2010-05-28 11:10:03 UTC (rev 17349)
@@ -37,6 +37,7 @@
<properties>
<assembly.projects.group>org.richfaces.ui.misc</assembly.projects.group>
+ <faces-shade-transformers.version>4.0.0-SNAPSHOT</faces-shade-transformers.version>
</properties>
<dependencyManagement>
@@ -95,9 +96,30 @@
</includes>
</artifactSet>
<createSourcesJar>true</createSourcesJar>
+ <transformers>
+ <transformer implementation="org.richfaces.build.shade.resource.TaglibXmlResourceTransformer">
+ <taglibs>
+ <taglib>
+ <targetNamespace>http://richfaces.org/a4j</targetNamespace>
+ </taglib>
+ <taglib>
+ <targetNamespace>http://richfaces.org/rich</targetNamespace>
+ <sourceNamespacesPattern>.*</sourceNamespacesPattern>
+ </taglib>
+ </taglibs>
+ </transformer>
+ <transformer implementation="org.richfaces.build.shade.resource.FacesConfigXmlResourceTransformer"/>
+ </transformers>
</configuration>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-shade-transformers</artifactId>
+ <version>${faces-shade-transformers.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>
14 years