[Mono-list] Script Locations of WebUIValidation.js, SmartNav.js

John BouAntoun jbouantoun@rogen.com.au
Fri, 10 Oct 2003 09:36:23 +1000


Was thinking about this last night....

All the js files need to be web accessible so that they can be added in =
script tags.

This means that we not only need a specific protcol or rule for location =
for the files, we also need one for the "virtual folder" or the url that =
the script will be accessible from the web server root.

There's no point saying that all js files should be in =
${prefix}/etc/mono/web_scripts whithout also saying how they will be =
available to xsp. That is, if xsp can't serve files from =
${prefix}/etc/mono/ then the js files can't reside there.

May I suggest that we say the following:
files go in=20

${prefix}/etc/mono/web_scripts

on the file system, and are then mapped to the virtual folder:=20

aspnet_client\system_web\mono_0_28

inside xsp

Hope that makes sense,

JBA

-----Original Message-----
From: Gonzalo Paniagua Javier [mailto:gonzalo@ximian.com]
Sent: Thursday, 9 October 2003 4:55 PM
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] Script Locations of WebUIValidation.js,
SmartNav.js


El jue, 09-10-2003 a las 08:00, Gaurav Vaish escribi=F3:
> Hi,
>=20
>     In the method
> =
System.Web.UI.WebControls.BaseValidator::RegisterValidatorCommonScript()
>=20
>     I need information about the location of the WebUIValidator.js =
file kept
> in system_web subdirectories when ASP.Net is registered using
> aspnet_regiis.exe (-i option).

We can put the .js files somewhere down ${prefix}/etc/mono/ and add that
<webControl> and its handler to CVS. Of course, we should cook our own
javascript.

-Gonzalo



_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list