no special protocol (so i think it's file).
maybe it helps when you know that i use a flow.js
------
cocoon.load("servlet:forms:/resource/internal/flow/javascript/Form.js");
function myFunc() {
var form = new Form(cocoon.parameters["definitionURI"]);
form.showForm("myFunc-display-pipeline");
}
-------
and the definitionURI parameter is is the filepath relative to the sitemap.xmap
the error occurs in the Form function of the imported Form.js
regards, matthias
----- Ursprüngliche Mail ----
Von: Reinhard Pötz <[EMAIL PROTECTED]>
An: [email protected]
Gesendet: Mittwoch, den 15. Oktober 2008, 11:48:47 Uhr
Betreff: Re: [C2.2] Problem after Hosting Block
Matthias Müller wrote:
> i also used jetty for this, with the same effect. so, i don't think
> that's a tomcat problem. the question is, why do i have problems only
> when loading my block with a hosting webapp.
What protocol do you use to get access to your form definitions?
servlet, cocoon or (the implicit) file protocol?
> i need a way to make a
> war that includes my block and as far as i understood the only way to
> do this is to create a new cocoon webapp project (with the block as
> dependency) and deploy this as war. is this right?
yes
--
Reinhard Pötz Managing Director, {Indoqa} GmbH
http://www.indoqa.com/en/people/reinhard.poetz/
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member [EMAIL PROTECTED]
________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]