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


---------------------------------------------------------------------
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