myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r889471 - /myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Date Thu, 10 Dec 2009 23:54:32 GMT
Author: lu4242
Date: Thu Dec 10 23:54:31 2009
New Revision: 889471

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

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

Modified: myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java?rev=889471&r1=889470&r2=889471&view=diff
==============================================================================
--- myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
(original)
+++ myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Thu Dec 10 23:54:31 2009
@@ -1015,7 +1015,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'))");
@@ -1051,7 +1051,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