cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <Robby.Pelss...@nxp.com>
Subject RE: [ cocoon3 ] map parameters
Date Mon, 07 Nov 2011 11:51:44 GMT
At least this tells you that the default file generator receives the parameter correctly as
default the filegenerator will look for the file starting with COB-INF as root folder.

Robby

-----Original Message-----
From: Andre Juffer [mailto:ajuffer@cc.oulu.fi] 
Sent: Monday, November 07, 2011 12:49 PM
To: users@cocoon.apache.org
Subject: Re: [ cocoon3 ] map parameters

On 11/07/2011 01:43 PM, Francesco Chicchiriccò wrote:
> On 07/11/2011 12:35, Andre Juffer wrote:
>
> What happens if you use one of standard generators - like the XML
> generator in the first example? I mean:
>
> <map:match pattern="create/image/creator/*">
> <map:generate src="sax-pipeline/{map:1}.xml" />
>
> You should now get an exception for something missing: is it
> "sax-pipeline/3276800.xml" or "sax-pipeline/null.xml"?
>

This is exactly the error I get. I tried:

<map:generate src="{map:1}.xml" />

The exception I get

Caused by: java.io.FileNotFoundException: 
/home/juffer/TriBC/projects/cocoon3-webapp/tribc-img/src/main/resources/COB-INF/3276800.xml

(No such file or directory)

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
Triacle Biocomputing         | WWW: www.triacle-bc.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