You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sc...@apache.org on 2006/02/09 01:42:03 UTC

svn commit: r376130 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java

Author: schof
Date: Wed Feb  8 16:42:01 2006
New Revision: 376130

URL: http://svn.apache.org/viewcvs?rev=376130&view=rev
Log:
fixed compile error

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java?rev=376130&r1=376129&r2=376130&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojo/DojoUtils.java Wed Feb  8 16:42:01 2006
@@ -36,7 +36,7 @@
  * filter due to the fact
  * that we can mix and match header and body scripts
  * as needed (we do not want to lose portal functionality do we?)
- * 
+ *
  * @author Werner Punz (latest modification by $Author$)
  * @version $Revision$ $Date$
  */
@@ -76,9 +76,9 @@
     }
 
     /**
-     * adds a dojo require include to our mix 
+     * adds a dojo require include to our mix
      * of stuff used
-     * 
+     *
      * @param context
      * @param required
      */
@@ -87,7 +87,7 @@
         if (isInlineScriptSet(context, "dojo.require:" + required))
             return;
 
-        AddResource addResource = AddResource.getInstance(context);
+        AddResource addResource = AddResourceFactory.getInstance(context);
         String requiredBuilder = createDojoRequireString(required);
 
         addResource.addInlineScriptAtPosition(context, AddResource.HEADER_BEGIN, requiredBuilder);
@@ -167,7 +167,7 @@
         if (isInlineScriptSet(context, "dojo.provide:" + provided))
             return;
 
-        AddResource addResource = AddResource.getInstance(context);
+        AddResource addResource = AddResourceFactory.getInstance(context);
         String providedBuilder = createDojoProvideScript(provided);
 
         addResource.addInlineScriptAtPosition(context, AddResource.HEADER_BEGIN, providedBuilder);