myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r1352006 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
Date Wed, 20 Jun 2012 09:21:55 GMT
Author: bommel
Date: Wed Jun 20 09:21:54 2012
New Revision: 1352006

URL: http://svn.apache.org/viewvc?rev=1352006&view=rev
Log:
(TOBAGO-1076)
Move the generated javascripts for the components to the end of the html document

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java?rev=1352006&r1=1352005&r2=1352006&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
Wed Jun 20 09:21:54 2012
@@ -233,7 +233,9 @@ public final class HtmlRendererUtils {
   public static void writeScriptLoader(FacesContext facesContext, String[] scripts, String[]
afterLoadCmds)
       throws IOException {
     TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
-
+    if (scripts != null) {
+      LOG.error("Scripts argument for writeScriptLoader not supported anymore!");
+    }
     /*String allScripts = "[]";
     if (scripts != null) {
       allScripts = ResourceManagerUtils.getScriptsAsJSArray(facesContext, scripts);



Mime
View raw message