cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tricia Williams <>
Subject Re: Importing Hand-made Java Packages For Use in Flowscript
Date Wed, 28 Jun 2006 19:57:44 GMT

    I think my problem has to do with the path to the source class that I'm 
referencing.  Where should the class I'm referencing be relative to 
cocoon in order for cocoon to recognize it?  Could I include a .jar 
instead?  Do I need to set anything in cocoon.xconf or the sitemap?

Thanks for any advice!

On Tue, 27 Jun 2006, Tricia Williams wrote:

> Hi All,
>   I have a Cocoon pipeline which could be done with a lot of awkward 
> branching, or use Flowscript to abstract out some of the complexity and reuse 
> a java class that was built for a similar purpose.  The awkwardness and 
> complexity comes from the need to validate and in some cases re-form the 
> parameters to call another pipe.  The Flowscript would use the class I 
> mentioned to form a uri and then call coocoon.redirectTo(...) to redirect to 
> that page.
>   I've implemented the Flowscript idea but am getting the following error:
> org.mozilla.javascript.EvaluatorException: 
> "file:/c:/Development/martini-peel/cocoonproject/flowscript/martini-flow.js", 
> line 44: Not a Java class: [JavaPackage 
>   I'm using: importClass(; To 
> import my class.
>   Does anyone have an understanding of what is causing the error I'm getting 
> and can offer me a solution.  Is there an alternate way to build the uri with 
> the validation and transformation of parameters in Cocoon?
> Thanks,
> Tricia
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message