On 7/1/05, Victoria Vitaver <[EMAIL PROTECTED]> wrote:
> The script is visible so thats not the problem (however my URL =
> http://localhost:8080/lenya/demo/authoring/search.htm),
> I'm more concerned about
> a. IE just displaying a XML representation of my desired website instead of
> the HTML representation
Did you notice:
<map:match pattern="**/search.htm">
...
<map:serialize type="xml"/>
</map:match>
If you want HTML, it should be:
<map:serialize type="html"/>
> b. the <script .. /> having such profound effects ...
http://localhost:8080/lenya/demo/authoring/search.htm
+
../scripts/calendar.js
=
http://localhost:8080/lenya/demo/scripts/calendar.js
Is this on Tomcat or Jetty?
Tomcat should strip the "lenya" and use your match to look for:
{pub:demo}/resources/shared/scripts/calendar.js
Jetty would match on "lenya" and go looking for:
lenya/webapp/lenya/resources/demo/scripts/calendar.js
I just tested your JS Match with Jetty, but my URLs do not have
"/lenya" so it would act like your URLs using Tomcat.
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="/mypub/resource/shared/scripts/test.js"/>
became:
<SCRIPT SRC="/mypub/resource/shared/scripts/test.js"
LANGUAGE="JAVASCRIPT"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="../scripts/test.js"/>
became
<SCRIPT SRC="../scripts/test.js" LANGUAGE="JAVASCRIPT"></SCRIPT>
Both tests worked in MSIE6.0 and Mozilla1.7.3 (using Lenya 1.2.2. You
are using later releases?)
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]