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: AW: AW: [C2.2] Problem after Hosting Block
Date Wed, 22 Oct 2008 06:37:13 GMT
after searching for the error (for days!!!) i finally localized the source of my problem. it's
a dependency to Saxon xslt processor (net.sf.saxon). it looks like the FormManager has problems
to parse form definition files when saxon is bound to the project.
is this a known problem?





----- Ursprüngliche Mail ----
Von: Matthias Müller <pymote@yahoo.de>
An: users@cocoon.apache.org
Gesendet: Freitag, den 17. Oktober 2008, 11:22:03 Uhr
Betreff: AW: AW: [C2.2] Problem after Hosting Block

Hi again, i tried to host my block with another cocoon block (not webapp !) and there it works.
so it's something special with the cocoon webapp archetype. i really don't know what to do
anymore




----- Ursprüngliche Mail ----
Von: Matthias Müller <pymote@yahoo.de>
An: users@cocoon.apache.org
Gesendet: Mittwoch, den 15. Oktober 2008, 12:25:13 Uhr
Betreff: AW: [C2.2] Problem after Hosting Block

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

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.

http://mail.yahoo.com

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