JBoss Rich Faces SVN: r17612 - in root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main: webapp/WEB-INF and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-11 09:50:28 -0400 (Fri, 11 Jun 2010)
New Revision: 17612
Modified:
root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/java/RichBean.java
root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
Log:
Archetype updated due to the problem covered by https://jira.jboss.org/browse/RF-8763: bean annotations converted into faces-config.xml declaration
Modified: root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/java/RichBean.java
===================================================================
--- root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/java/RichBean.java 2010-06-11 13:47:47 UTC (rev 17611)
+++ root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/java/RichBean.java 2010-06-11 13:50:28 UTC (rev 17612)
@@ -5,28 +5,21 @@
import java.io.Serializable;
-import javax.annotation.PostConstruct;
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.ViewScoped;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-@ManagedBean
-@ViewScoped
public class RichBean implements Serializable {
private static final long serialVersionUID = -2403138958014741653L;
private Logger logger;
private String name;
- @PostConstruct
- public void initialize() {
+ public RichBean() {
logger = LoggerFactory.getLogger(RichBean.class);
logger.info("post construct: initialize");
name = "John";
}
-
+
public String getName() {
return name;
}
Modified: root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml 2010-06-11 13:47:47 UTC (rev 17611)
+++ root/archetypes/richfaces-archetype-simpleapp/branches/richfaces-archetype-simpleapp-4.0.0.Alpha2/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml 2010-06-11 13:50:28 UTC (rev 17612)
@@ -2,4 +2,14 @@
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude"
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-facesconfig_2_0.xsd">
+ <!--
+ This is a workaround for JBoss AS 6 currently not processing JSF annotations.
+ TODO: review and revert back to annotations.
+ -->
+ <managed-bean>
+ <managed-bean-name>richBean</managed-bean-name>
+ <managed-bean-class>${package}.RichBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+
</faces-config>
14 years, 6 months
JBoss Rich Faces SVN: r17611 - in root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main: webapp/WEB-INF and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-06-11 09:47:47 -0400 (Fri, 11 Jun 2010)
New Revision: 17611
Modified:
root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/java/RichBean.java
root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
Log:
Archetype updated due to the problem covered by https://jira.jboss.org/browse/RF-8763: bean annotations converted into faces-config.xml declaration
Modified: root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/java/RichBean.java
===================================================================
--- root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/java/RichBean.java 2010-06-11 13:30:52 UTC (rev 17610)
+++ root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/java/RichBean.java 2010-06-11 13:47:47 UTC (rev 17611)
@@ -5,28 +5,21 @@
import java.io.Serializable;
-import javax.annotation.PostConstruct;
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.ViewScoped;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-@ManagedBean
-@ViewScoped
public class RichBean implements Serializable {
private static final long serialVersionUID = -2403138958014741653L;
private Logger logger;
private String name;
- @PostConstruct
- public void initialize() {
+ public RichBean() {
logger = LoggerFactory.getLogger(RichBean.class);
logger.info("post construct: initialize");
name = "John";
}
-
+
public String getName() {
return name;
}
Modified: root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml 2010-06-11 13:30:52 UTC (rev 17610)
+++ root/archetypes/richfaces-archetype-simpleapp/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/faces-config.xml 2010-06-11 13:47:47 UTC (rev 17611)
@@ -2,4 +2,14 @@
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude"
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-facesconfig_2_0.xsd">
+ <!--
+ This is a workaround for JBoss AS 6 currently not processing JSF annotations.
+ TODO: review and revert back to annotations.
+ -->
+ <managed-bean>
+ <managed-bean-name>richBean</managed-bean-name>
+ <managed-bean-class>${package}.RichBean</managed-bean-class>
+ <managed-bean-scope>view</managed-bean-scope>
+ </managed-bean>
+
</faces-config>
14 years, 6 months
JBoss Rich Faces SVN: r17610 - root/cdk/branches.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-06-11 09:30:52 -0400 (Fri, 11 Jun 2010)
New Revision: 17610
Added:
root/cdk/branches/richfaces-cdk-4.0.0.Alpha2/
Log:
Create proper branch for CDK Alpha2 release
Copied: root/cdk/branches/richfaces-cdk-4.0.0.Alpha2 (from rev 17609, root/cdk/tags/richfaces-cdk-4.0.0.Alpha2)
14 years, 6 months
JBoss Rich Faces SVN: r17609 - root/cdk/tags.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-06-11 09:30:19 -0400 (Fri, 11 Jun 2010)
New Revision: 17609
Added:
root/cdk/tags/richfaces-cdk-4.0.0.Alpha2/
Removed:
root/cdk/tags/richfaces-cdk-4.0.0.Alpha2_tmp/
Log:
Create proper tag for CDK for Alpha2 release
Copied: root/cdk/tags/richfaces-cdk-4.0.0.Alpha2 (from rev 17608, root/cdk/tags/richfaces-cdk-4.0.0.Alpha2_tmp)
14 years, 6 months
JBoss Rich Faces SVN: r17608 - root/cdk/tags.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-06-11 09:29:53 -0400 (Fri, 11 Jun 2010)
New Revision: 17608
Removed:
root/cdk/tags/richfaces-cdk-4.0.0.Alpha2/
Log:
Remove incorrect tag for CDK Alpha2
14 years, 6 months
JBoss Rich Faces SVN: r17607 - root/cdk/tags.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-06-11 09:29:21 -0400 (Fri, 11 Jun 2010)
New Revision: 17607
Added:
root/cdk/tags/richfaces-cdk-4.0.0.Alpha2_tmp/
Log:
First step to fix tagging/branch issue with CDK release for Alpha2
Copied: root/cdk/tags/richfaces-cdk-4.0.0.Alpha2_tmp (from rev 17606, root/cdk/tags/richfaces-cdk-4.0.0.Alpha2/trunk)
14 years, 6 months
JBoss Rich Faces SVN: r17604 - in root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main: config and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2010-06-11 08:46:29 -0400 (Fri, 11 Jun 2010)
New Revision: 17604
Added:
root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main/config/
root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main/config/faces-config.xml
Log:
fix for AS6 support
Added: root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main/config/faces-config.xml
===================================================================
--- root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main/config/faces-config.xml (rev 0)
+++ root/ui/misc/branches/richfaces-ui-misc-4.0.0.Alpha2/componentcontrol/src/main/config/faces-config.xml 2010-06-11 12:46:29 UTC (rev 17604)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<faces-config version="2.0" metadata-complete="false" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:cdk="http://richfaces.org/cdk/extensions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+- <render-kit>
+ <render-kit-id>HTML_BASIC</render-kit-id>
+- <client-behavior-renderer>
+ <client-behavior-renderer-type>org.richfaces.behavior.ComponentControlBehavior</client-behavior-renderer-type>
+ <client-behavior-renderer-class>org.richfaces.renderkit.ComponentControlBehaviorRenderer</client-behavior-renderer-class>
+ </client-behavior-renderer>
+ </render-kit>
+</faces-config>
\ No newline at end of file
14 years, 6 months