Author: igorz
Date: 2007-04-04 03:33:03 -0400 (Wed, 04 Apr 2007)
New Revision: 75375
Modified:
trunk/mcs/class/System.Web/System.Web.J2EE/PageMapper.cs
trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
Log:
* TemplateControl: GetAssemblyResource is called with absolute virtual path
* PageMapper: dynamic compilation currently is not supported
Modified: trunk/mcs/class/System.Web/System.Web.J2EE/PageMapper.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.J2EE/PageMapper.cs 2007-04-04
03:32:43 UTC (rev 75374)
+++ trunk/mcs/class/System.Web/System.Web.J2EE/PageMapper.cs 2007-04-04
07:33:03 UTC (rev 75375)
@@ -400,7 +400,7 @@
Console.WriteLine("fullFileName=" + fullFileName);
#endif
//type not found - run aspxparser
- if (File.Exists(fullFileName) ||
Directory.Exists(fullFileName))
+ if (false/*File.Exists(fullFileName) ||
Directory.Exists(fullFileName)*/) //dynamic compilation currently is not
supported
{
string[] command =
GetParserCmd(fileName.ToLower() == "global.asax");
if (J2EEUtils.RunProc(command) != 0)
Modified: trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
2007-04-04 03:32:43 UTC (rev 75374)
+++ trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.jvm.cs
2007-04-04 07:33:03 UTC (rev 75375)
@@ -352,7 +352,7 @@
java.lang.ClassLoader contextClassLoader =
c.getClassLoader ();
//TODO:move this code to page mapper
- string assemblyName = PageMapper.GetAssemblyResource
(HttpContext.Current, this.AppRelativeVirtualPath);
+ string assemblyName = PageMapper.GetAssemblyResource
(Context, Context.Request.FilePath);
if (assemblyName == null)
throw new HttpException (404, "The requested
resource (" + this.AppRelativeVirtualPath + ") is not available.");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches