You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2012/06/20 11:21:55 UTC
svn commit: r1352006 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtils.java
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);