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

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

Author: mmarinschek
Date: Wed Feb  8 22:02:42 2006
New Revision: 376198

URL: http://svn.apache.org/viewcvs?rev=376198&view=rev
Log:
Fixed problem with AddResource being changed to AddResourceFactory

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=376198&r1=376197&r2=376198&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 22:02:42 2006
@@ -53,7 +53,7 @@
     public static final boolean DOJO_COMPRESSED                  = false;
     public static final boolean DOJO_DEBUG                       = false;
 
-    public static final void addMainInclude(FacesContext context, String javascriptLocation, DojoConfig config)
+    public static void addMainInclude(FacesContext context, String javascriptLocation, DojoConfig config)
     {
         AddResource addResource = AddResourceFactory.getInstance(context);
         /*
@@ -82,7 +82,7 @@
      * @param context
      * @param required
      */
-    public static final void addRequire(FacesContext context, String required) throws IOException
+    public static void addRequire(FacesContext context, String required)
     {
         if (isInlineScriptSet(context, "dojo.require:" + required))
             return;
@@ -96,7 +96,7 @@
     /**
      * helper method for the proper dojo require script creation
      * @param required the creation package for the require functionality
-     * @return
+     * @return dojoRequire String
      */
     public static String createDojoRequireString(String required)
     {
@@ -139,7 +139,7 @@
      * @param required
      * @throws IOException
      */
-    public static final void addRequire(FacesContext context, UIComponent component, String required)
+    public static void addRequire(FacesContext context, UIComponent component, String required)
             throws IOException
     {
 
@@ -160,9 +160,9 @@
      * of definitions within the header
      * @param context the faces context for accessing the resources internally
      * @param provided the package with the class provided by this implementation
-     * @see http://dojotoolkit.org/docs/fast_widget_authoring.html for an example on this
+     * @see <a href="http://dojotoolkit.org/docs/fast_widget_authoring.html">Dojo-Widget-Authoring</a> for an example on this
      */
-    public static final void addProvide(FacesContext context, String provided) throws IOException
+    public static void addProvide(FacesContext context, String provided)
     {
         if (isInlineScriptSet(context, "dojo.provide:" + provided))
             return;
@@ -173,7 +173,7 @@
         addResource.addInlineScriptAtPosition(context, AddResource.HEADER_BEGIN, providedBuilder);
     }
 
-    public static final void addProvide(FacesContext context, UIComponent component, String provided)
+    public static void addProvide(FacesContext context, UIComponent component, String provided)
             throws IOException
     {
         if (isInlineScriptSet(context, "dojo.provide:" + provided))
@@ -192,7 +192,7 @@
     /**
      * helper method which does the proper dojo provide script creation
      * @param provided the provided class name
-     * @return
+     * @return dojoProvide String
      */
     public static String createDojoProvideScript(String provided)
     {