Author: igorz
Date: 2007-12-20 08:02:47 -0500 (Thu, 20 Dec 2007)
New Revision: 91700

Modified:
   branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.cs
   branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.jvm.cs
Log:
refactoring

Modified: branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.cs
===================================================================
--- branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.cs    
2007-12-20 12:42:11 UTC (rev 91699)
+++ branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.cs    
2007-12-20 13:02:47 UTC (rev 91700)
@@ -1028,7 +1028,8 @@
                writer.WriteLine ("\telse {{ {0} = document.{1}; }}", theForm, 
formUniqueID);
                writer.WriteLine ("\t{0}._instanceVariableName = '{0}';", 
theForm);
 #if TARGET_J2EE
-               string serverUrl = EncodeURL (Request.RawUrl);
+               // TODO implement callback on portlet
+               string serverUrl = Request.RawUrl;
                writer.WriteLine ("\t{0}.serverURL = {1};", theForm, 
ClientScriptManager.GetScriptLiteral (serverUrl));
                writer.WriteLine ("\twindow.TARGET_J2EE = true;");
                writer.WriteLine ("\twindow.IsMultiForm = {0};", IsMultiForm ? 
"true" : "false");

Modified: branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.jvm.cs
===================================================================
--- branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.jvm.cs        
2007-12-20 12:42:11 UTC (rev 91699)
+++ branches/mainsoft/JSF/mcs/class/System.Web/System.Web.UI/Page.jvm.cs        
2007-12-20 13:02:47 UTC (rev 91700)
@@ -84,11 +84,5 @@
                                return _isMultiForm;
                        }
                }
-
-               internal string EncodeURL (string raw) {
-                       //kostat: BUGBUG: complete
-                       return raw;
-               }
-
        }
 }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to