You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2008/01/19 17:28:30 UTC
svn commit: r613411 -
/myfaces/shared/trunk_3.0.x/core/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Author: imario
Date: Sat Jan 19 08:28:29 2008
New Revision: 613411
URL: http://svn.apache.org/viewvc?rev=613411&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-1805
Make oamSetHiddenInput fully compatible with IE
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=613411&r1=613410&r2=613411&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 Sat Jan 19 08:28:29 2008
@@ -6,9 +6,9 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -1000,6 +1000,8 @@
context.prettyLine();
context.append("newInput.setAttribute('type','hidden');");
context.prettyLine();
+ context.append("newInput.setAttribute('id',name);");
+ context.prettyLine();
context.append("newInput.setAttribute('name',name);");
context.prettyLine();
context.append("newInput.setAttribute('value',value);");
@@ -1625,7 +1627,7 @@
context.append("setViewState();\n");
context.decreaseIndent();
-
+
writer.writeText(context.toString(), null);
writer.endElement(HTML.SCRIPT_ELEM);