[seam-commits] Seam SVN: r12316 - in modules/xml/trunk/core/src: test/java/org/jboss/seam/xml/test/fieldset and 1 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Mar 30 00:29:27 EDT 2010
Author: swd847
Date: 2010-03-30 00:29:25 -0400 (Tue, 30 Mar 2010)
New Revision: 12316
Modified:
modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java
modules/xml/trunk/core/src/test/java/org/jboss/seam/xml/test/fieldset/FieldValueBean.java
modules/xml/trunk/core/src/test/resources/org/jboss/seam/xml/test/fieldset/set-field-value-beans.xml
Log:
test of new field setter behavior
Modified: modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java
===================================================================
--- modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java 2010-03-30 04:24:28 UTC (rev 12315)
+++ modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java 2010-03-30 04:29:25 UTC (rev 12316)
@@ -33,9 +33,7 @@
public void postConstruct(T instance)
{
-
target.postConstruct(instance);
-
}
public void preDestroy(T instance)
Modified: modules/xml/trunk/core/src/test/java/org/jboss/seam/xml/test/fieldset/FieldValueBean.java
===================================================================
--- modules/xml/trunk/core/src/test/java/org/jboss/seam/xml/test/fieldset/FieldValueBean.java 2010-03-30 04:24:28 UTC (rev 12315)
+++ modules/xml/trunk/core/src/test/java/org/jboss/seam/xml/test/fieldset/FieldValueBean.java 2010-03-30 04:29:25 UTC (rev 12316)
@@ -11,6 +11,11 @@
public class FieldValueBean
{
+ public void init()
+ {
+ assert ivalue != 20;
+ }
+
private int ivalue = 20;
public String stringValue;
Modified: modules/xml/trunk/core/src/test/resources/org/jboss/seam/xml/test/fieldset/set-field-value-beans.xml
===================================================================
--- modules/xml/trunk/core/src/test/resources/org/jboss/seam/xml/test/fieldset/set-field-value-beans.xml 2010-03-30 04:24:28 UTC (rev 12315)
+++ modules/xml/trunk/core/src/test/resources/org/jboss/seam/xml/test/fieldset/set-field-value-beans.xml 2010-03-30 04:29:25 UTC (rev 12316)
@@ -4,6 +4,9 @@
<test:FieldValueBean>
<override/>
+ <test:init>
+ <Inject/>
+ </test:init>
<test:ivalue>10</test:ivalue>
<test:stringValue>hello world</test:stringValue>
<test:enumValue>A</test:enumValue>
More information about the seam-commits
mailing list