You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andre Juffer <aj...@sun3.oulu.fi> on 2001/08/23 21:02:21 UTC
C2: About taglibs
Dear All,
I have a practical question. I have this taglib that I have written
earlier for C1. With C1, one could tell cocoon where to find the
corresponding xsl file through an entry in cocoon.properties. What is
the best way of doing this with C2. The cocoon.xconf file contains
entries like
<builtin-logicsheet>
<parameter name="prefix" value="session"/>
<parameter name="uri" value="http://apache.org/xsp/session/2.0"/>
<parameter name="href"
value="resource://org/apache/cocoon/components/language/markup/xsp/java/session.xsl"/>
</builtin-logicsheet>
If I want to use my own taglibs, should I also make a similar entry in
cocoon.xconf, so that my taglib would be identified as a
"builtin-logicsheet" as well. Or are there other procedures that one
should follow to ensure that C2 recognizes my taglib. For instance, is
it possible to have a cocoon.xconf in a separate directory where my own
application lives (e.g. /cocoon/MyApplication) that is specific for that
application? One would do this also with the sitemap.xmap. This would be
a convenient way since then one could easily install a newer version of
cocoon2 and only have to tell it where to look for MyApplication by a
simple entry in the new sitemap in /cocoon. There is no need then to
update the new cocoon.xconf as well (although, I admit, it is not really
much work to do so).
Thanks for your help,
--
Andre H. Juffer | Phone: +358-8-553 1683
The Biocenter and | Fax: +358-8-553-1141
the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XSPJavaPreprocessor error
Posted by Ekrem Aksoy <fo...@yahoo.com>.
is there any other parser at JDK_HOME/lib or anyother path?
----- Original Message -----
From: "Vic Cekvenich" <vi...@proj.com>
To: <co...@xml.apache.org>
Sent: Thursday, August 23, 2001 11:08 PM
Subject: XSPJavaPreprocessor error
> I have the bellow error runing some samples:
>
> java.lang.NoSuchMethodError
> at
>
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
> PJavaPreprocessor.java:116)
> at
>
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
> PJavaPreprocessor.java:123)
>
> I have renamed zXML and zParser and zCrimson in tomcat/lib, and have
Xerces
> as first on my classpath.
> Suggestions?
> What jar has this class?
>
> TIA,
> Vic
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
XSPJavaPreprocessor error
Posted by Vic Cekvenich <vi...@proj.com>.
I have the bellow error runing some samples:
java.lang.NoSuchMethodError
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:116)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:123)
I have renamed zXML and zParser and zCrimson in tomcat/lib, and have Xerces
as first on my classpath.
Suggestions?
What jar has this class?
TIA,
Vic
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>