JBoss Rich Faces SVN: r17942 - root/tests/metamer/tags/metamer-4.0.0.Alpha2.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-07-12 04:22:24 -0400 (Mon, 12 Jul 2010)
New Revision: 17942
Added:
root/tests/metamer/tags/metamer-4.0.0.Alpha2/trunk/
Log:
[maven-scm] copy for tag metamer-4.0.0.Alpha2
Copied: root/tests/metamer/tags/metamer-4.0.0.Alpha2/trunk (from rev 17941, root/tests/metamer/trunk)
14 years, 6 months
JBoss Rich Faces SVN: r17941 - in root/tests/metamer/trunk: application and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-07-12 04:21:51 -0400 (Mon, 12 Jul 2010)
New Revision: 17941
Modified:
root/tests/metamer/trunk/application/pom.xml
root/tests/metamer/trunk/ftest-source/pom.xml
root/tests/metamer/trunk/ftest/pom.xml
root/tests/metamer/trunk/pom.xml
Log:
[maven-release-plugin] prepare release metamer-4.0.0.Alpha2
Modified: root/tests/metamer/trunk/application/pom.xml
===================================================================
--- root/tests/metamer/trunk/application/pom.xml 2010-07-12 08:19:20 UTC (rev 17940)
+++ root/tests/metamer/trunk/application/pom.xml 2010-07-12 08:21:51 UTC (rev 17941)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.Alpha2</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: root/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- root/tests/metamer/trunk/ftest/pom.xml 2010-07-12 08:19:20 UTC (rev 17940)
+++ root/tests/metamer/trunk/ftest/pom.xml 2010-07-12 08:21:51 UTC (rev 17941)
@@ -30,14 +30,14 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-ftest</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.Alpha2</version>
<name>Metamer: RichFaces Testing Application - Functional Test</name>
<packaging>pom</packaging>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/tests/metamer/trunk...</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/tests/metamer/ftest</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/root/tests/metamer/trunk/ftest</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/tests/metamer/trunk...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/tests/metamer/tags/met...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/root/tests/metamer/trunk/tags/m...</url>
</scm>
<licenses>
@@ -79,8 +79,8 @@
<properties>
<context.path>/metamer/</context.path>
- <deployable.version>4.0.0-SNAPSHOT</deployable.version>
- <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
+ <deployable.version>4.0.0.Alpha2</deployable.version>
+ <ftest.source.version>4.0.0.Alpha2</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
</properties>
Modified: root/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- root/tests/metamer/trunk/ftest-source/pom.xml 2010-07-12 08:19:20 UTC (rev 17940)
+++ root/tests/metamer/trunk/ftest-source/pom.xml 2010-07-12 08:21:51 UTC (rev 17941)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.Alpha2</version>
</parent>
<groupId>org.richfaces.tests</groupId>
Modified: root/tests/metamer/trunk/pom.xml
===================================================================
--- root/tests/metamer/trunk/pom.xml 2010-07-12 08:19:20 UTC (rev 17940)
+++ root/tests/metamer/trunk/pom.xml 2010-07-12 08:21:51 UTC (rev 17941)
@@ -31,7 +31,7 @@
<groupId>org.richfaces.tests</groupId>
<artifactId>metamer-root</artifactId>
- <version>4.0.0-SNAPSHOT</version>
+ <version>4.0.0.Alpha2</version>
<packaging>pom</packaging>
<name>Metamer: RichFaces Testing Application - Project Root</name>
@@ -50,9 +50,9 @@
</licenses>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/tests/metamer/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/tests/metamer/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/RichFaces/root/tests/metamer/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/tests/metamer/tags/...</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/tests/metamer/tags/met...</developerConnection>
+ <url>http://fisheye.jboss.org/browse/RichFaces/root/tests/metamer/tags/metamer...</url>
</scm>
<distributionManagement>
@@ -95,7 +95,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>1</richfaces.checkstyle.version>
- <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
+ <version.richfaces>4.0.0.Alpha2</version.richfaces>
</properties>
<dependencyManagement>
14 years, 6 months
JBoss Rich Faces SVN: r17940 - in root/tests/metamer/trunk: application and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-07-12 04:19:20 -0400 (Mon, 12 Jul 2010)
New Revision: 17940
Added:
root/tests/metamer/trunk/build.sh
Modified:
root/tests/metamer/trunk/application/pom.xml
root/tests/metamer/trunk/release.sh
Log:
removed tomcat6 classifier from released application (necessary to run ftest without need of classifier); modified release.sh to perform release; added build.sh which disables ftest run
Modified: root/tests/metamer/trunk/application/pom.xml
===================================================================
--- root/tests/metamer/trunk/application/pom.xml 2010-07-12 08:10:50 UTC (rev 17939)
+++ root/tests/metamer/trunk/application/pom.xml 2010-07-12 08:19:20 UTC (rev 17940)
@@ -159,9 +159,6 @@
</configuration>
</execution>
</executions>
- <configuration>
- <classifier>tomcat6</classifier>
- </configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
Added: root/tests/metamer/trunk/build.sh
===================================================================
--- root/tests/metamer/trunk/build.sh (rev 0)
+++ root/tests/metamer/trunk/build.sh 2010-07-12 08:19:20 UTC (rev 17940)
@@ -0,0 +1,2 @@
+#!/bin/bash
+mvn clean install -Dselenium.server.skip=true -Dselenium.test.skip=true $*
Modified: root/tests/metamer/trunk/release.sh
===================================================================
--- root/tests/metamer/trunk/release.sh 2010-07-12 08:10:50 UTC (rev 17939)
+++ root/tests/metamer/trunk/release.sh 2010-07-12 08:19:20 UTC (rev 17940)
@@ -17,3 +17,5 @@
mvn release:clean
read -p 'Press ENTER to prepare...'
mvn clean release:prepare ${CONF} || exit 1
+read -p 'Press ENTER to perform...'
+mvn release:perform ${CONF} || exit 1
14 years, 6 months
JBoss Rich Faces SVN: r17939 - root/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-07-12 04:10:50 -0400 (Mon, 12 Jul 2010)
New Revision: 17939
Modified:
root/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java
Log:
* added header to class Attribute
Modified: root/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java
===================================================================
--- root/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java 2010-07-12 06:52:55 UTC (rev 17938)
+++ root/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java 2010-07-12 08:10:50 UTC (rev 17939)
@@ -1,3 +1,25 @@
+/*******************************************************************************
+ * 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.tests.metamer;
import java.util.List;
@@ -4,90 +26,74 @@
import javax.faces.model.SelectItem;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Representation an attribute of a JSF component.
+ *
+ * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
+ * @version $Revision$
+ */
public class Attribute {
+
+ private Logger logger;
private String name;
private Object value;
private Class<?> type;
+ private String help;
private List<SelectItem> selectOptions;
- private String help;
- public Attribute(String name) {
- this.name = name;
+ public Attribute() {
+ logger = LoggerFactory.getLogger(getClass());
}
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * @param name the name to set
- */
- public void setName(String name) {
+ public Attribute(String name) {
+ logger = LoggerFactory.getLogger(getClass());
this.name = name;
}
- /**
- * @return the value
- */
public Object getValue() {
return value;
}
- /**
- * @param value the value to set
- */
public void setValue(Object value) {
this.value = value;
}
- /**
- * @return the type
- */
- public Class<?> getType() {
- return type;
+ public String getHelp() {
+ return help;
}
- /**
- * @param type the type to set
- */
- public void setType(Class<?> type) {
- this.type = type;
+ public void setHelp(String help) {
+ this.help = help;
}
- /**
- * @return the selectOptions
- */
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
public List<SelectItem> getSelectOptions() {
return selectOptions;
}
- /**
- * @param selectOptions the selectOptions to set
- */
public void setSelectOptions(List<SelectItem> selectOptions) {
this.selectOptions = selectOptions;
}
- /**
- * @return the help
- */
- public String getHelp() {
- return help;
+ public Class<?> getType() {
+ return type;
}
- /**
- * @param help the help to set
- */
- public void setHelp(String help) {
- this.help = help;
+ public void setType(Class<?> type) {
+ this.type = type;
}
-
+
public boolean isBoolean() {
return type == Boolean.class || type == boolean.class;
}
-
-
}
14 years, 6 months
JBoss Rich Faces SVN: r17938 - root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-07-12 02:52:55 -0400 (Mon, 12 Jul 2010)
New Revision: 17938
Modified:
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/Component_Development_Kit_Guide.xml
Log:
Removed legacy entity reference
Modified: root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/Component_Development_Kit_Guide.xml
===================================================================
--- root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/Component_Development_Kit_Guide.xml 2010-07-12 02:19:08 UTC (rev 17937)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/Component_Development_Kit_Guide.xml 2010-07-12 06:52:55 UTC (rev 17938)
@@ -1,9 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-<!ENTITY % BOOK_ENTITIES SYSTEM "Component_Development_Kit_Guide.ent">
-%BOOK_ENTITIES;
]>
-
<book status="draft">
<xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
<!--<xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>-->
14 years, 6 months
JBoss Rich Faces SVN: r17937 - root/cdk/trunk/docs/Component_Development_Kit_Guide.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-07-11 22:19:08 -0400 (Sun, 11 Jul 2010)
New Revision: 17937
Removed:
root/cdk/trunk/docs/Component_Development_Kit_Guide/Makefile
Log:
Removed legacy Makefile
Deleted: root/cdk/trunk/docs/Component_Development_Kit_Guide/Makefile
===================================================================
--- root/cdk/trunk/docs/Component_Development_Kit_Guide/Makefile 2010-07-12 02:06:34 UTC (rev 17936)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/Makefile 2010-07-12 02:19:08 UTC (rev 17937)
@@ -1,14 +0,0 @@
-#Makefile for Component_Development_Kit_Guide
-
-XML_LANG = en-US
-DOCNAME = Component_Development_Kit_Guide
-PRODUCT = RichFaces
-
-#OTHER_LANGS = as-IN bn-IN de-DE es-ES fr-FR gu-IN hi-IN it-IT ja-JP kn-IN ko-KR ml-IN mr-IN or-IN pa-IN pt-BR ru-RU si-LK ta-IN te-IN zh-CN zh-TW
-
-# Extra Parameters start here
-SHOW_REMARKS = 1
-# Extra Parameters stop here
-COMMON_CONFIG = /usr/share/publican
-include $(COMMON_CONFIG)/make/Makefile.common
-
14 years, 6 months
JBoss Rich Faces SVN: r17936 - in root/cdk/trunk/docs: Component_Development_Kit_Guide and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SeanRogers
Date: 2010-07-11 22:06:34 -0400 (Sun, 11 Jul 2010)
New Revision: 17936
Added:
root/cdk/trunk/docs/Component_Development_Kit_Guide/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US/
root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg
Removed:
root/cdk/trunk/docs/Component_Development_Kit_Guide/en-US/
root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg
root/cdk/trunk/docs/guide/
Modified:
root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml
root/cdk/trunk/docs/pom.xml
Log:
Restructured CDK Guide to match other documentation
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide (from rev 17935, root/cdk/trunk/docs/guide)
Modified: root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml
===================================================================
--- root/cdk/trunk/docs/guide/pom.xml 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/pom.xml 2010-07-12 02:06:34 UTC (rev 17936)
@@ -1,267 +1,114 @@
-<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>
- <groupId>org.richfaces.cdk.docs</groupId>
- <artifactId>guide-${translation}</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- <packaging>jdocbook</packaging>
- <name>${bookname}-(${translation})</name>
-
- <parent>
- <groupId>org.richfaces.cdk</groupId>
- <artifactId>docs</artifactId>
- <version>4.0.0-SNAPSHOT</version>
- </parent>
+<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">
- <properties>
- <translation>en-US</translation>
- <docname>Component_Development_Kit_Guide</docname>
- <bookname>Component Development Kit Guide</bookname>
- </properties>
+ <modelVersion>4.0.0</modelVersion>
- <repositories>
- <repository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <url>https://repository.jboss.org/nexus/content/groups/public</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
+ <groupId>org.richfaces.cdk-guide</groupId>
+ <artifactId>richfaces-cdk-guide</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ <packaging>jdocbook</packaging>
+ <name>RichFaces CDK Guide</name>
+ <url>http://www.jboss.org/richfaces</url>
+
+ <parent>
+ <groupId>org.richfaces.docs</groupId>
+ <artifactId>docs-parent</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository-group</id>
- <name>JBoss Repository</name>
- <layout>default</layout>
- <url>https://repository.jboss.org/nexus/content/groups/public</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-
- <profiles>
+ <properties>
+ <docname>Component_Development_Kit_Guide</docname>
+ <bookname>Component Development Kit Guide</bookname>
+ </properties>
- <!-- mvn compile -->
- <profile>
- <id>all</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
+ <build>
+ <defaultGoal>process-classes</defaultGoal>
+ <plugins>
+ <plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ </plugin>
+ <!--
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <configuration>
+ <tasks>
+ <copy file="${basedir}/target/docbook/publish/en-US/pdf/${pdf.name}" todir="${basedir}" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-zip</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.build.outputDirectory}/${project.artifactId}-${project.version}.war</file>
+ <type>war</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ -->
+ </plugins>
+ </build>
- <!-- mvn compile -Phtml -->
- <profile>
- <id>html</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profiles>
- <!-- mvn compile -Phtml-single -->
- <profile>
- <id>html-single</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>translations</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ </execution>
+ </executions>
- <!-- mvn compile -Ppdf -->
- <profile>
- <id>pdf</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- </formats>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <!-- mvn compile -Pdocs -->
- <!-- For compiling from parent pom.xml -->
- <profile>
- <id>docs</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <configuration>
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/pdf.xsl</stylesheetResource>
- <finalName>${docname}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <imageResource>
- <directory>guide/${translation}</directory>
- <includes>
- <include>images/*</include>
- </includes>
- </imageResource>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <configuration>
+ <translations>
+ <translation>it-IT</translation>
+ <translation>zh-CN</translation>
+ <translation>zh-TW</translation>
+ <translation>es-ES</translation>
+ <translation>ko-KR</translation>
+ <translation>de-DE</translation>
+ <translation>pt-BR</translation>
+ </translations>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- </profiles>
+ </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.2.0</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>${docname}.xml</sourceDocumentName>
- <sourceDirectory>.</sourceDirectory>
- <imageResource>
- <directory>${project.basedir}/${translation}</directory>
- <includes>
- <include>images/*</include>
- </includes>
- </imageResource>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
- <!-- could also locate the docbook dependency and inspect its version... -->
- <docbookVersion>1.72.0</docbookVersion>
- <transformerParameters>
- <property>
- <name>javax.xml.parsers.DocumentBuilderFactory</name>
- <value>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</value>
- </property>
- <property>
- <name>javax.xml.parsers.SAXParserFactory</name>
- <value>org.apache.xerces.jaxp.SAXParserFactoryImpl</value>
- </property>
- </transformerParameters>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/root/cdk/trunk/docs/guide</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/root/cdk/trunk/docs/guide</developerConnection>
+ <url>http://fisheye.jboss.org/browse/richfaces/</url>
+ </scm>
</project>
-
Deleted: root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg
===================================================================
--- root/cdk/trunk/docs/guide/publican.cfg 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/publican.cfg 2010-07-12 02:06:34 UTC (rev 17936)
@@ -1,7 +0,0 @@
-# Config::Simple 4.59
-# Fri Nov 20 15:18:13 2009
-
-show_remarks: 1
-debug: 1
-xml_lang: en-US
-#brand: jboss-community-richfaces
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/en-US (from rev 17935, root/cdk/trunk/docs/guide/en-US)
Copied: root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg (from rev 17935, root/cdk/trunk/docs/guide/publican.cfg)
===================================================================
--- root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg (rev 0)
+++ root/cdk/trunk/docs/Component_Development_Kit_Guide/src/main/docbook/publican.cfg 2010-07-12 02:06:34 UTC (rev 17936)
@@ -0,0 +1,7 @@
+# Config::Simple 4.59
+# Fri Nov 20 15:18:13 2009
+
+show_remarks: 1
+debug: 1
+xml_lang: en-US
+#brand: jboss-community-richfaces
Modified: root/cdk/trunk/docs/pom.xml
===================================================================
--- root/cdk/trunk/docs/pom.xml 2010-07-12 00:57:52 UTC (rev 17935)
+++ root/cdk/trunk/docs/pom.xml 2010-07-12 02:06:34 UTC (rev 17936)
@@ -9,7 +9,7 @@
<packaging>pom</packaging>
<name>Components Development Kit documentation</name>
<modules>
- <module>guide</module>
+ <module>Component_Development_Kit_Guide</module>
</modules>
<!-- Minimal build configuration -->
<build>
14 years, 6 months
JBoss Rich Faces SVN: r17935 - in root/core/trunk/impl/src/main: resources/META-INF/resources and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-07-11 20:57:52 -0400 (Sun, 11 Jul 2010)
New Revision: 17935
Modified:
root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js
Log:
Removed overriding of client-side AJAX events by server-side ones
Modified: root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
===================================================================
--- root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2010-07-11 23:13:32 UTC (rev 17934)
+++ root/core/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2010-07-12 00:57:52 UTC (rev 17935)
@@ -154,18 +154,6 @@
return behavior.getOnbegin();
}
},
- beforedomupdate {
- @Override
- public String getAttributeValue(AjaxClientBehavior behavior) {
- return behavior.getOnbeforedomupdate();
- }
- },
- complete {
- @Override
- public String getAttributeValue(AjaxClientBehavior behavior) {
- return behavior.getOncomplete();
- }
- },
error {
@Override
public String getAttributeValue(AjaxClientBehavior behavior) {
@@ -188,29 +176,6 @@
public abstract String getAttributeValue(AjaxClientBehavior behavior);
}
- private static enum EventOptionsData {
- begin {
- @Override
- public String getAttributeValue(UIComponent component) {
- return getAjaxOnBegin(component);
- }
- },
- beforedomupdate {
- @Override
- public String getAttributeValue(UIComponent component) {
- return getAjaxOnBeforeDomUpdate(component);
- }
- },
- complete {
- @Override
- public String getAttributeValue(UIComponent component) {
- return getAjaxOncomplete(component);
- }
- };
-
- public abstract String getAttributeValue(UIComponent component);
- }
-
/**
* Build JavaScript onclick event for given component
*
@@ -346,19 +311,17 @@
private static void appendComponentOptions(FacesContext facesContext, UIComponent component,
AjaxEventOptions ajaxEventOptions) {
- for (EventOptionsData eventOptionsData : EventOptionsData.values()) {
- String behaviorName = eventOptionsData.toString();
- HandlersChain handlersChain = new HandlersChain(component);
- String inlineHandler = eventOptionsData.getAttributeValue(component);
+ String behaviorName = "begin";
+ HandlersChain handlersChain = new HandlersChain(component);
+ String inlineHandler = getAjaxOnBegin(component);
- handlersChain.addInlineHandlerAsValue(facesContext, inlineHandler);
- handlersChain.addBehaviors(facesContext, behaviorName);
+ handlersChain.addInlineHandlerAsValue(facesContext, inlineHandler);
+ handlersChain.addBehaviors(facesContext, behaviorName);
- String handlerScript = handlersChain.toScript();
+ String handlerScript = handlersChain.toScript();
- if (isNotEmpty(handlerScript)) {
- ajaxEventOptions.set(behaviorName, handlerScript);
- }
+ if (isNotEmpty(handlerScript)) {
+ ajaxEventOptions.set(behaviorName, handlerScript);
}
ajaxEventOptions.set("incId", "1");
Modified: root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js
===================================================================
--- root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js 2010-07-11 23:13:32 UTC (rev 17934)
+++ root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js 2010-07-12 00:57:52 UTC (rev 17935)
@@ -546,10 +546,12 @@
}
}
+ if (clientHandler) {
+ clientHandler.call(window, event, data);
+ }
+
if (serverHandler) {
serverHandler.call(window, event, data);
- } else if (clientHandler) {
- clientHandler.call(window, event, data);
}
};
14 years, 6 months
JBoss Rich Faces SVN: r17934 - root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-07-11 19:13:32 -0400 (Sun, 11 Jul 2010)
New Revision: 17934
Modified:
root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/component/AbstractList.java
Log:
Lists component updated to comply with CDK
Modified: root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/component/AbstractList.java
===================================================================
--- root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/component/AbstractList.java 2010-07-11 23:00:53 UTC (rev 17933)
+++ root/ui/iteration/trunk/lists/ui/src/main/java/org/richfaces/component/AbstractList.java 2010-07-11 23:13:32 UTC (rev 17934)
@@ -29,6 +29,7 @@
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.Facet;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
@@ -39,7 +40,8 @@
* JSF component class
*
*/
-@JsfComponent(type = "org.richfaces.List", family = "org.richfaces.List", facets = @Facet(name = AbstractList.TERM))
+@JsfComponent(type = "org.richfaces.List", family = "org.richfaces.List", facets = @Facet(name = AbstractList.TERM),
+ renderer = @JsfRenderer(type = "org.richfaces.ListRenderer"))
public abstract class AbstractList extends UISequence {
public static final String TERM = "term";
14 years, 6 months
JBoss Rich Faces SVN: r17933 - root/ui/core/trunk/ui/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-07-11 19:00:53 -0400 (Sun, 11 Jul 2010)
New Revision: 17933
Modified:
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java
root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java
Log:
Added explicit renderers declaration to components
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxFunction.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -26,6 +26,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -35,7 +36,8 @@
*
*/
@JsfComponent(
- tag = @Tag(name = "jsFunction", type = TagType.Facelets)
+ renderer = @JsfRenderer(type = "org.richfaces.FunctionRenderer"),
+ tag = @Tag(name = "jsFunction", type = TagType.Facelets)
)
public abstract class AbstractAjaxFunction extends AbstractActionComponent {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxLog.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -43,7 +43,7 @@
})
@JsfComponent(
tag = @Tag(name = "log", type = TagType.Facelets),
- renderer = @JsfRenderer(template = "/org/ajax4jsf/renderkit/html/log.template.xml")
+ renderer = @JsfRenderer(type = "org.richfaces.AjaxLogRenderer")
)
public abstract class AbstractAjaxLog extends UIComponentBase {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractAjaxStatus.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -23,17 +23,18 @@
package org.richfaces.component;
+import javax.faces.component.UIOutput;
+
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
-import javax.faces.component.UIOutput;
-
/**
* @author Nick Belaevski
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.StatusRenderer"))
public abstract class AbstractAjaxStatus extends UIOutput {
public static final String COMPONENT_TYPE = "org.richfaces.Status";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandButton.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -28,12 +28,13 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
/**
* @author Nick Belaevski
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.CommandButtonRenderer"))
public abstract class AbstractCommandButton extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.CommandButton";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractCommandLink.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -27,6 +27,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -34,6 +35,7 @@
* @author Nick Belaevski
*/
@JsfComponent (
+ renderer = @JsfRenderer(type = "org.richfaces.CommandLinkRenderer"),
tag = @Tag(type = TagType.Facelets)
)
public abstract class AbstractCommandLink extends AbstractActionComponent {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractMediaOutput.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -37,6 +37,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Signature;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -50,7 +51,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.MediaOutputHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.MediaOutputHandler", type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.MediaOutputRenderer")
)
public abstract class AbstractMediaOutput extends UIOutput implements ResourceComponent2 {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractOutputPanel.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -23,19 +23,20 @@
package org.richfaces.component;
+import javax.faces.component.UIPanel;
+
import org.ajax4jsf.component.AjaxOutput;
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
-import javax.faces.component.UIPanel;
-
/**
* @author asmirnov(a)exadel.com (latest modification by $Author: alexsmirnov $)
* @version $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:58:26 $
*
*/
-@JsfComponent
+@JsfComponent(renderer = @JsfRenderer(type = "org.richfaces.OutputPanelRenderer"))
public abstract class AbstractOutputPanel extends UIPanel implements AjaxOutput {
public static final String COMPONENT_TYPE = "org.richfaces.OutputPanel";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPoll.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -26,6 +26,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -35,7 +36,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.AjaxPollHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.AjaxPollHandler", type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.PollRenderer")
)
public abstract class AbstractPoll extends AbstractActionComponent {
public static final String COMPONENT_TYPE = "org.richfaces.Poll";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractPush.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -34,6 +34,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.EventName;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Signature;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -44,7 +45,8 @@
*
*/
@JsfComponent(
- tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.AjaxPushHandler", type = TagType.Facelets)
+ tag = @Tag(generate = false, handler = "org.richfaces.view.facelets.html.AjaxPushHandler", type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.PushRenderer")
)
public abstract class AbstractPush extends AbstractActionComponent {
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/AbstractQueue.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -25,6 +25,7 @@
import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -33,7 +34,8 @@
*
*/
@JsfComponent(tag = @Tag(name = "queue",
- generate = false, type = TagType.Facelets))
+ generate = false, type = TagType.Facelets),
+ renderer = @JsfRenderer(type = "org.richfaces.QueueRenderer"))
public abstract class AbstractQueue extends UIComponentBase {
public static final String GLOBAL_QUEUE_NAME = "org.richfaces.queue.global";
Modified: root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java
===================================================================
--- root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java 2010-07-11 22:58:06 UTC (rev 17932)
+++ root/ui/core/trunk/ui/src/main/java/org/richfaces/component/UIRepeat.java 2010-07-11 23:00:53 UTC (rev 17933)
@@ -22,6 +22,7 @@
package org.richfaces.component;
import org.richfaces.cdk.annotations.JsfComponent;
+import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -29,7 +30,7 @@
* @author Nick Belaevski
*
*/
-@JsfComponent(generate = "", tag = @Tag(name = "repeat", type = TagType.Facelets))
+@JsfComponent(generate = "", tag = @Tag(name = "repeat", type = TagType.Facelets), renderer = @JsfRenderer(type = "org.richfaces.RepeatRenderer"))
public class UIRepeat extends UISequence {
public static final String COMPONENT_TYPE = "org.richfaces.Repeat";
14 years, 6 months