cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rayed Al-Rashed <ra...@mail.com>
Subject FP & ESQL taglib don't work in the same page
Date Sun, 29 Oct 2000 00:15:24 GMT
Hello everyone,

I am trying to use FP taglib and ESQL taglib in the same page, but I
get an error without writing any statements, and both taglib work fine
separately, any ideas on how to resolve this problem, I am using
cocoon 1.8
_____________________________________________
<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<xsp:page 
  language="java" 
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
  xmlns:esql="http://apache.org/cocoon/SQL/v2"
  xmlns:fp="http://apache.org/cocoon/XSP/FP/1.0"
>

<page>
<!--  <fp:redirect>article.xml</fp:redirect> -->
</page>
</xsp:page>

_____________________________________________
Error found handling the request.

java.lang.Exception: XSP Java Compiler: Compilation failed for
_test.java
66: Type expected.
((Element) xspCurrentNode).setAttribute(
^
1 error

at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
at java.lang.Exception.(Exception.java, Compiled Code)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java,
Compiled Code)
at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled
Code)
at java.lang.Thread.run(Thread.java:479)
_____________________________________________


Thnaks

- Rayed

Mime
View raw message