You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Artur Bialecki <ar...@digitalfairway.com> on 2002/04/11 22:05:28 UTC
[C2] How do I import form logicsheets ???
I useto to this in C1 for imports in my logicsheets (not XSPs)
<xsl:template match="xsp:page">
<xsp:page>
<xsl:copy>
<xsl:apply-templates select="@*"/>
</xsl:copy>
<xsp:structure>
<xsp:include>dfc.cocoon.*</xsp:include>
<xsp:include>dfc.cocoon.ErrorWrapper</xsp:include>
<xsp:include>dfc.servlet.MainMenu</xsp:include>
</xsp:structure>
<xsl:apply-templates/>
</xsp:page>
</xsl:template>
but this doesn't seem to work in C2. My generated Java
files are missing both package and class names,
and I hava dangling dependencies like this:
dependencies = new File[] { new File("
What is the right way to import packages in C2 logicsheets.
Thanks,
Artur...
---------------------------------------------------------------------
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: [C2] How do I import form logicsheets ???
Posted by giacomo <gi...@apache.org>.
On Thu, 11 Apr 2002, Artur Bialecki wrote:
>
> I useto to this in C1 for imports in my logicsheets (not XSPs)
>
> <xsl:template match="xsp:page">
> <xsp:page>
> <xsl:copy>
> <xsl:apply-templates select="@*"/>
> </xsl:copy>
> <xsp:structure>
> <xsp:include>dfc.cocoon.*</xsp:include>
> <xsp:include>dfc.cocoon.ErrorWrapper</xsp:include>
> <xsp:include>dfc.servlet.MainMenu</xsp:include>
> </xsp:structure>
> <xsl:apply-templates/>
> </xsp:page>
> </xsl:template>
>
> but this doesn't seem to work in C2. My generated Java
> files are missing both package and class names,
> and I hava dangling dependencies like this:
> dependencies = new File[] { new File("
>
> What is the right way to import packages in C2 logicsheets.
Look into xml-cocoon2/src/webapp/docs/samples/xsp/cacheable.xsp
Giacomo
>
> Thanks,
>
>
> Artur...
>
> ---------------------------------------------------------------------
> 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>
>
>
>
>
---------------------------------------------------------------------
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: [C2] How do I import form logicsheets ???
Posted by Vadim Gritsenko <va...@verizon.net>.
Take a look at the session logicsheet:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon
/components/language/markup/xsp/java/session.xsl?annotate=1.13
Lines 68-89.
Vadim
> From: Artur Bialecki [mailto:artur@digitalfairway.com]
>
>
> I useto to this in C1 for imports in my logicsheets (not XSPs)
>
> <xsl:template match="xsp:page">
> <xsp:page>
> <xsl:copy>
> <xsl:apply-templates select="@*"/>
> </xsl:copy>
> <xsp:structure>
> <xsp:include>dfc.cocoon.*</xsp:include>
> <xsp:include>dfc.cocoon.ErrorWrapper</xsp:include>
> <xsp:include>dfc.servlet.MainMenu</xsp:include>
> </xsp:structure>
> <xsl:apply-templates/>
> </xsp:page>
> </xsl:template>
>
> but this doesn't seem to work in C2. My generated Java
> files are missing both package and class names,
> and I hava dangling dependencies like this:
> dependencies = new File[] { new File("
>
> What is the right way to import packages in C2 logicsheets.
>
> Thanks,
>
>
> Artur...
>
---------------------------------------------------------------------
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>