<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I personally prefer the direcetory based system.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Bruno Scott skrev:
<blockquote cite="mid:1231939552264-2156859.post@n2.nabble.com"
type="cite">
<pre wrap="">
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This would load all js files for every weblayout application?
Could this be tweaked to somehow take the WebLayout into consideration,
so layout1 loads some files, and layout2 loads others?
</pre>
</blockquote>
<pre wrap=""><!---->This is a good idea
It would be easy to mofify that code to include specific weblayout js files
Lets take for an example
library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout
we could end up with something like this
www/
----Customjs/
--------jsFileCommonForAllLayout.js
--------Samples/
------------Sheboygan/
----------------Layouts/
--------------------jsFileCommonForAllSheboyganLayout.js
--------------------SheboyganAsp/
------------------------jsFileOnlyForSheboyganAsp.js
or
www/
----Customjs/
--------jsfileCommonForAllLayout.js
--------Samples.Sheboygan.Layouts.jsFileCommonForAllSheboyganLayout.js
--------Samples.Sheboygan.Layouts.SheboyganAsp.jsFileOnlyForSheboyganAsp.js
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">The problem with including such functionality, is that there are three
different languages (php, jsp and aspx),
and you will need all three versions of the code before it can be
included in an official release.
</pre>
</blockquote>
<pre wrap=""><!---->I understand this and there is no problem writing the patch for all 3
languages
Bruno Scott
</pre>
</blockquote>
</body>
</html>