cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Müller <pym...@yahoo.de>
Subject AW: [C2.2] Problem after Hosting Block
Date Wed, 15 Oct 2008 10:25:13 GMT
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 <reinhard@apache.org>
An: users@cocoon.apache.org
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                  reinhard@apache.org
________________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message