mail-archives/mono-list/2003-October/016238.html

98 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gonzalo%40ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016208.html">
<LINK REL="Next" HREF="016245.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</H1>
<B>Gonzalo Paniagua Javier
</B>
<A HREF="mailto:gonzalo%40ximian.com"
TITLE="[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js">gonzalo@ximian.com
</A><BR>
<I>Fri, 10 Oct 2003 03:12:19 +0200</I>
<P><UL>
<LI> Previous message: <A HREF="016208.html">[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</A></li>
<LI> Next message: <A HREF="016245.html">[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16238">[ date ]</a>
<a href="thread.html#16238">[ thread ]</a>
<a href="subject.html#16238">[ subject ]</a>
<a href="author.html#16238">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>&gt;<i> El jue, 09-10-2003 a las 08:00, Gaurav Vaish escribió:
</I>&gt;<i> &gt; Hi,
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; In the method
</I>&gt;<i> &gt; System.Web.UI.WebControls.BaseValidator::RegisterValidatorCommonScript()
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I need information about the location of the WebUIValidator.js file kept
</I>&gt;<i> &gt; in system_web subdirectories when ASP.Net is registered using
</I>&gt;<i> &gt; aspnet_regiis.exe (-i option).
</I>&gt;<i>
</I>&gt;<i> We can put the .js files somewhere down ${prefix}/etc/mono/ and add that
</I>&gt;<i> &lt;webControl&gt; and its handler to CVS. Of course, we should cook our own
</I>&gt;<i> javascript.
</I>
Okay. It's done now. From inside System.Web assembly you can do:
using System.Web.Configuration;
.....
WebControlsConfig c = WebControlsConfig.Instance;
Console.WriteLine (c.ScriptsPhysicalDirectory);
Console.WriteLine (c.ScriptsVirtualDirectory);
....
And that, in my system, prints:
/home/gpanjav/go-mono/install/etc/mono/web_scripts
/web_scripts
Now I will map the request from that virtual directory to the physical
one.
What's needed now?
1. We need someone to either write or search for some scripts that
provide similar functionality as those by MS
2. Tell me the javascript code I should have to produce from the
data in the page.
Any taker?
-Gonzalo
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016208.html">[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</A></li>
<LI> Next message: <A HREF="016245.html">[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16238">[ date ]</a>
<a href="thread.html#16238">[ thread ]</a>
<a href="subject.html#16238">[ subject ]</a>
<a href="author.html#16238">[ author ]</a>
</LI>
</UL>
</body></html>