struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r773903 - /struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java
Date Tue, 12 May 2009 13:59:48 GMT
Author: musachy
Date: Tue May 12 13:59:48 2009
New Revision: 773903

URL: http://svn.apache.org/viewvc?rev=773903&view=rev
Log:
WW-3124 make IoC dependency not required

Modified:
    struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java

Modified: struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java?rev=773903&r1=773902&r2=773903&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java
(original)
+++ struts/struts2/trunk/plugins/javatemplates/src/main/java/org/apache/struts2/views/java/JavaTemplateEngine.java
Tue May 12 13:59:48 2009
@@ -78,7 +78,7 @@
      *
      * @param themeClasses a comma delimited list of custom theme class names
      */
-    @Inject("struts.javatemplates.customThemes")
+    @Inject(value = "struts.javatemplates.customThemes", required = false)
     public void setThemeClasses(String themeClasses) {
 
         StringTokenizer customThemes = new StringTokenizer(themeClasses, ",");



Mime
View raw message