geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r520501 - /geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml
Date Tue, 20 Mar 2007 18:08:41 GMT
Author: pmcmahan
Date: Tue Mar 20 11:08:40 2007
New Revision: 520501

URL: http://svn.apache.org/viewvc?view=rev&rev=520501
Log:
GERONIMO-2960 explicitly declare the injection target class and member variable in web.xml.
this makes the dependency injection in the managed bean work and the surefire testcase pass.
still investigating if Geronimo's current behavior which requires the env-entry XML to
explicitly declare an injection target is a bug or not.

Modified:
    geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml

Modified: geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml?view=diff&rev=520501&r1=520500&r2=520501
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml
(original)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-myfaces/src/main/webapp/WEB-INF/web.xml
Tue Mar 20 11:08:40 2007
@@ -174,6 +174,10 @@
         <env-entry-name>testDouble</env-entry-name>
         <env-entry-type>java.lang.Double</env-entry-type>
         <env-entry-value>0.99</env-entry-value>
+        <injection-target>
+            <injection-target-class>org.apache.myfaces.blank.HelloWorldBacking</injection-target-class>
+            <injection-target-name>testDouble</injection-target-name>
+        </injection-target>
     </env-entry>
 
 </web-app>



Mime
View raw message