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"/>
Yes, I thought it might be that ... but .. when I change it to html I get a
Null Pointer Exception [1] :/
I really dont understand why I get a null pointer exception out of this change
?!
(Thats why I kept it as 'xml' for the time being, contrary to my better
judgment)
I just tested your JS Match with Jetty, but my URLs do not have
"/lenya" so it would act like your URLs using Tomcat.
Yes you are right, I am using Tomcat, sorry for not specifying it earlier.
<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>
Funny .. must be different versions interpreting things differently.
Both tests worked in MSIE6.0 and Mozilla1.7.3 (using Lenya 1.2.2. You
are using later releases?)
I am using MSIE6.0 and Firefox 1.0.4 and Lenya 1.2.3.
Thank you for your help.
Vica
solprovider
----
[1]
cause: java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.NullPointerException
full exception chain stacktrace:
org.apache.cocoon.ProcessingException: Error executing pipeline.:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.NullPointerException
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:940)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
etc ...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]