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:[EMAIL PROTECTED]]
> 
> 
> 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to