Author: nbelaevski
Date: 2009-12-29 14:22:17 -0500 (Tue, 29 Dec 2009)
New Revision: 16226
Added:
root/framework/trunk/commons/
root/framework/trunk/commons/src/
root/framework/trunk/commons/src/main/
root/framework/trunk/commons/src/main/java/
root/framework/trunk/commons/src/main/java/org/
root/framework/trunk/commons/src/main/java/org/richfaces/
root/framework/trunk/commons/src/main/java/org/richfaces/renderkit/
root/framework/trunk/commons/src/main/java/org/richfaces/renderkit/ComponentAttribute.java
Modified:
root/framework/trunk/api/pom.xml
root/framework/trunk/pom.xml
root/ui/trunk/components/core/pom.xml
root/ui/trunk/version-matrix/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-8233
Added CDK/annotations project as UI modules dependency
Modified: root/framework/trunk/api/pom.xml
===================================================================
--- root/framework/trunk/api/pom.xml 2009-12-29 19:16:11 UTC (rev 16225)
+++ root/framework/trunk/api/pom.xml 2009-12-29 19:22:17 UTC (rev 16226)
@@ -17,6 +17,10 @@
<dependencies>
<dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>richfaces-commons</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
Property changes on: root/framework/trunk/commons
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
Added:
root/framework/trunk/commons/src/main/java/org/richfaces/renderkit/ComponentAttribute.java
===================================================================
---
root/framework/trunk/commons/src/main/java/org/richfaces/renderkit/ComponentAttribute.java
(rev 0)
+++
root/framework/trunk/commons/src/main/java/org/richfaces/renderkit/ComponentAttribute.java 2009-12-29
19:22:17 UTC (rev 16226)
@@ -0,0 +1,56 @@
+package org.richfaces.renderkit;
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, 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.
+ */
+
+/**
+ * @author Nick Belaevski
+ */
+public class ComponentAttribute {
+
+ private final String name;
+
+ private final String[] eventNames;
+
+ public ComponentAttribute(String name) {
+ this(name, null);
+ }
+
+ public ComponentAttribute(String name, String[] eventNames) {
+ super();
+ this.name = name;
+ this.eventNames = eventNames;
+ }
+
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * @return the eventNames
+ */
+ public String[] getEventNames() {
+ return eventNames;
+ }
+}
Modified: root/framework/trunk/pom.xml
===================================================================
--- root/framework/trunk/pom.xml 2009-12-29 19:16:11 UTC (rev 16225)
+++ root/framework/trunk/pom.xml 2009-12-29 19:22:17 UTC (rev 16226)
@@ -20,6 +20,7 @@
<modules>
<module>version-matrix</module>
+ <module>commons</module>
<module>api</module>
<module>impl</module>
<module>test-base</module>
@@ -29,6 +30,11 @@
<dependencies>
<dependency>
<groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-commons</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
<version>${project.version}</version>
</dependency>
Modified: root/ui/trunk/components/core/pom.xml
===================================================================
--- root/ui/trunk/components/core/pom.xml 2009-12-29 19:16:11 UTC (rev 16225)
+++ root/ui/trunk/components/core/pom.xml 2009-12-29 19:22:17 UTC (rev 16226)
@@ -45,6 +45,11 @@
<dependencies>
<dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-impl</artifactId>
</dependency>
Modified: root/ui/trunk/version-matrix/pom.xml
===================================================================
--- root/ui/trunk/version-matrix/pom.xml 2009-12-29 19:16:11 UTC (rev 16225)
+++ root/ui/trunk/version-matrix/pom.xml 2009-12-29 19:22:17 UTC (rev 16226)
@@ -85,7 +85,17 @@
<dependencyManagement>
<dependencies>
<dependency>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>annotations</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-commons</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
<artifactId>richfaces-api</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>