[seam-commits] Seam SVN: r12315 - modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Mar 30 00:24:29 EDT 2010
Author: swd847
Date: 2010-03-30 00:24:28 -0400 (Tue, 30 Mar 2010)
New Revision: 12315
Modified:
modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java
Log:
field values are now set before injection, rather than before PostConstruct
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-29 21:53:24 UTC (rev 12314)
+++ modules/xml/trunk/core/src/main/java/org/jboss/seam/xml/fieldset/InjectionTargetWrapper.java 2010-03-30 04:24:28 UTC (rev 12315)
@@ -24,16 +24,16 @@
public void inject(T instance, CreationalContext<T> ctx)
{
+ for (FieldValueObject f : fieldValues)
+ {
+ f.setValue(instance);
+ }
target.inject(instance, ctx);
-
}
public void postConstruct(T instance)
{
- for (FieldValueObject f : fieldValues)
- {
- f.setValue(instance);
- }
+
target.postConstruct(instance);
}
More information about the seam-commits
mailing list