myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r889479 - /myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Date Fri, 11 Dec 2009 00:23:12 GMT
Author: lu4242
Date: Fri Dec 11 00:23:11 2009
New Revision: 889479

URL: http://svn.apache.org/viewvc?rev=889479&view=rev
Log:
MYFACES-2433 Variable name error in oamClearHiddenInput and oamSetHiddenInput: use formname
instead of formName

Modified:
    myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java

Modified: myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java?rev=889479&r1=889478&r2=889479&view=diff
==============================================================================
--- myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
(original)
+++ myfaces/shared/trunk_4.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Fri Dec 11 00:23:11 2009
@@ -1137,7 +1137,7 @@
         context.prettyLine();
         context.append("if (typeof form == 'undefined')");
         context.append("{");
-        context.append("form = document.getElementById(formName);");
+        context.append("form = document.getElementById(formname);");
         context.append("}");
         context.prettyLine();
         context.append("if(typeof form.elements[name]!='undefined' && (form.elements[name].nodeName=='INPUT'
|| form.elements[name].nodeName=='input'))");
@@ -1173,7 +1173,7 @@
         context.prettyLine();
         context.append("if (typeof form == 'undefined')");
         context.append("{");
-        context.append("form = document.getElementById(formName);");
+        context.append("form = document.getElementById(formname);");
         context.append("}");
         context.prettyLine();
         context.append("var hInput = form.elements[name];");



Mime
View raw message