cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <>
Subject <xsp:include> seems not working in some cases (?)
Date Mon, 16 Feb 2004 21:45:01 GMT

I have such a problem in my logicsheet. I defined my own package
where I have functions for creating and deleting user directories.
If I use them  in my logicsheet with the full package path, they
work correctly, for example:


But when I want to get rid of the long name and want import the
package with <xsp:include> it seems not working, because I get an
error. The particular part of logicsheet looks like this:

<xsl:template match="xsp:page">

      <xsl:apply-templates select="@*"/>




And the function call then:

File dir=new File(<xsl:copy-of select="$path"/>);

I got the following error message:

org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException:
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error
compiling benutzer_delete_xsp: ERROR 1
... (fullpath) ); // start error (lines 565-565) "The method
deleteDir(File) is undefined for the type benutzer_delete_xsp"
XSPObjectHelper.xspExpr(contentHandler, deleteDir(dir)); // end
error this.characters("\n\t\t\t\t\t\t\t");
this.characters("\n\t\t\t"); ... Line 565, column 0: The method
deleteDir(File) is undefined for the type benutzer_delete_xsp

What might be the problem?]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message