Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-22 Thread Matthias Müller
Thanks for the provided link, Robby. Now it would be interesting to see how you consume your movie webservice within a cocoon 2.2 pipeline. Do you call the webservice within a sitemap using a custom generator? Or via flow script? Matthias Von: Robby

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Matthias Müller
the a spring webservice here? Regards, Matthias Von: Francesco Chicchiriccò ilgro...@apache.org An: users@cocoon.apache.org Gesendet: 12:32 Samstag, 19.Januar 2013 Betreff: Re: [C2.2] Provide or consume Webservices with Cocoon 2.2 On 17/01/2013 14:26, Matthias

Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-21 Thread Matthias Müller
I thought that the spring integration is also part of Cocoon 2.2 !? Von: Jos Snellings jos.snelli...@upperware.biz An: users@cocoon.apache.org; Matthias Müller pym...@yahoo.de Gesendet: 9:28 Montag, 21.Januar 2013 Betreff: Re: [C2.2] Provide or consume

[C2.2] Provide or consume Webservices with Cocoon 2.2

2013-01-17 Thread Matthias Müller
Hi there, are there any tutorials / samples about implementing webservice support in cocoon 2.2. All the sources I found are based on Cocoon 2.1x, e.g. http://wiki.apache.org/cocoon/WebServiceServer Regards, Matthias

[C2.2] Bad performance with Cocoon/Tomcat

2011-11-22 Thread Matthias Müller
I'm running a Cocoon 2.2 Webapp on a Tomcat 7 Server and facing some performance issues. I do some aggregations of large xml files, transform them multiple times and finally serialize the streams to pdf that could contain 1000 pages. These input xml files grew over the last years and so did

Re: [C2.2] Get Element from uploaded file

2011-11-17 Thread Matthias Müller
your PrototypeFileNameExtractor. String id contains the filename, how do I create a dom object with it? Von: Robby Pelssers robby.pelss...@nxp.com An: users@cocoon.apache.org users@cocoon.apache.org; Matthias Müller pym...@yahoo.de Gesendet: 15:04 Donnerstag, 17

Re: [C2.2] Get Element from uploaded file

2011-11-17 Thread Matthias Müller
('XPathEvaluator').evaluate(inputStream, xpath); Thanks again, Matthias Von: Robby Pelssers robby.pelss...@nxp.com An: Matthias Müller pym...@yahoo.de; users@cocoon.apache.org users@cocoon.apache.org Gesendet: 16:22 Donnerstag, 17.November 2011 Betreff: RE

AW: [C2.2] Original name of uploaded file

2011-04-19 Thread Matthias Müller
org.apache.cocoon.servlet.multipart.Part It contains upload filename and content regards Thomas Am 18.04.2011 14:46, schrieb Matthias Müller: Hi there, in my cocoon app i have a simple transformation xml - fo - pdf. The resulting pdf needs to be named as the uploaded xml file + .pdf

AW: [C2.2] Original name of uploaded file

2011-04-19 Thread Matthias Müller
and change extension } regards Thomas Am 19.04.2011 09:47, schrieb Matthias Müller: I am using a fileupload widget and flowscript. My flow function looks like that: function myTask() { var form = new Form(cocoon.parameters[definitionURI]); form.showForm(myTask-form); var file

AW: AW: [C2.2] Original name of uploaded file

2011-04-19 Thread Matthias Müller
I searched the cocoon trunk for a similar case and found the solution: var filename = widget.getValue().getUploadName(); ... does the job. Thanks, Matthias - Ursprüngliche Mail Von: Matthias Müller pym...@yahoo.de An: users@cocoon.apache.org Gesendet: Dienstag, den 19. April 2011

[C2.2] Original name of uploaded file

2011-04-18 Thread Matthias Müller
Hi there, in my cocoon app i have a simple transformation xml - fo - pdf. The resulting pdf needs to be named as the uploaded xml file + .pdf extension. How can I achieve that? Is there a way to access the data of the uploaded file in the sitemap.xmap / flow.js? Matthias

AW: [C2.2] Fop Performance Issue with large documents

2010-11-14 Thread Matthias Müller
a possibility? As an alternative to FOP you could try iText which is completely procedural if you want! Jos On 11/12/2010 11:16 AM, Matthias Müller wrote: Hi there, i ran into massive performance problems using Fop serializing large FO files (PDFs with 500+ pages). It takes up to 30 minutes

[C2.2] Fop Performance Issue with large documents

2010-11-12 Thread Matthias Müller
Hi there, i ran into massive performance problems using Fop serializing large FO files (PDFs with 500+ pages). It takes up to 30 minutes for a single PDF and needs a lot of memory and cpu power. If i do the processing locally (no Cocoon but fop.bat), it takes about 2 minutes. I know that FOP

[C2.2] Xerces Configuration

2010-04-21 Thread Matthias Müller
Hi there, how can i set the properties for Xerces? I want to switch off a certain feature: http://apache.org/xml/features/nonvalidating/load-external-dtd matthias - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org

[C2.2] Repeater Action without submit

2009-08-03 Thread Matthias Müller
Hi, i have problems uploading multiple files using the repeater action widget (add-row command). Initially i have one upload widget (file1), if i choose a file for it and afterwards i add another upload widget (file2) by pressing the repeater action widget, it uploads the file1. If i then

[C2.2] Repeater Action in Sitemap

2009-07-29 Thread Matthias Müller
Hi there, in my form i have multiple upload widgets within a repeater widget. on submit i want to aggregate the content of the uploaded files. how can i create that aggregation with map:aggregate in the sitemap? any ideas? matthias

[C2.2] No Initial-Value at Binding

2009-07-14 Thread Matthias Müller
Hi there, i noticed that it's not possible to set a default value (fd:initial-value/) for a field that is used for binding. is there a reason for? thanks, matthias - To unsubscribe, e-mail:

AW: [C2.2] No Initial-Value at Binding

2009-07-14 Thread Matthias Müller
ok, it works with the attribute direction=save in the binding.xml - Ursprüngliche Mail Von: Matthias Müller pym...@yahoo.de An: users cocoon.apache.org users@cocoon.apache.org Gesendet: Dienstag, den 14. Juli 2009, 12:04:05 Uhr Betreff: [C2.2] No Initial-Value at Binding Hi

[C2.2] Forms: Textarea NewLine Characters

2009-04-23 Thread Matthias Müller
Hi, i store the data from several input widgets to a xml file using cocoon binding. one of these widgets is rendered as a textarea with multiple rows. the data from that textarea is meant to be stored with the newline characters that separates the lines. but after creating the xml file, there

[C2.2] Request Views from Forms

2009-01-28 Thread Matthias Müller
Hi, is there a way to request a View within a pipeline that is accessed trough a form? all i know is that you only can request a view with adding the parameter cocoon-view to your URI. if it's possible, i want to avoid using a fix ?cocoon-view=debugview into the ft:form-template action

AW: AW: [C2.2] Display Upload Progress

2009-01-20 Thread Matthias Müller
Hi David, first, a big THANKS for helping me and at the same time sorry that i destroyed your sample webapp. i had the same result (warning and error messages) like you and finally some working examples. what i didn't understand so far is: which instance decides which version of an artifact is

AW: [C2.2] Display Upload Progress

2009-01-19 Thread Matthias Müller
Hi David, thanks for the advice. i always wondered how to get these nice samples ;-) matthias - Ursprüngliche Mail Von: David Legg david.l...@searchevent.co.uk An: users@cocoon.apache.org Gesendet: Freitag, den 16. Januar 2009, 17:50:04 Uhr Betreff: Re: [C2.2] Display Upload Progress

AW: AW: AW: [C2.2] Display Upload Progress

2009-01-19 Thread Matthias Müller
hi david, i already built the cocoon trunk as described in [1]. the problem is that the cocoon-webapp tries to download the latest artifacts (e.g. cocoon-core:2.2.1-SNAPSHOT) from the remote repositories specified in the parent project, since there is no version argument for them.

AW: AW: [C2.2] Display Upload Progress

2009-01-19 Thread Matthias Müller
/~gkossakowski/maven2/repository) - apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository) i tried to manually download the artifacts, but didn't find them regards, matthias - Ursprüngliche Mail Von: Matthias Müller pym...@yahoo.de An: users@cocoon.apache.org Gesendet: Montag, den

AW: [C2.2] Display Upload Progress

2009-01-19 Thread Matthias Müller
Hi i compiled all the samples as you described. but when i type mvn -P allblocks jetty:run in core/cocoon-webapp i still have the problem with the missing artifacts. don't you have problem that maven wants to download artifacts that doesn't exist in the specified remote repositories? regards

[C2.2] Display Upload Progress

2009-01-16 Thread Matthias Müller
Hi there, is there already something like a working upload progress bar for CForms? I red about a Dojo Widget (http://ajaxian.com/archives/dojo-file-upload-progress-bar-widget), but didn't found a concrete implementation. Alternatively i could use something like Fancy Upload

AW: AW: [C2.2] Display Block Information

2008-10-27 Thread Matthias Müller
- Ursprüngliche Mail Von: Matthias Müller [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Freitag, den 24. Oktober 2008, 10:53:43 Uhr Betreff: AW: [C2.2] Display Block Information hmm. i didn't think that it would be so cumbersome. i like your approach of generating an additional

AW: [C2.2] Display Block Information

2008-10-24 Thread Matthias Müller
Von: Luca Morandini [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Donnerstag, den 23. Oktober 2008, 17:11:24 Uhr Betreff: Re: [C2.2] Display Block Information Matthias Müller wrote: Hi list, does someone have an idea how to access block information from within a xslt stylesheet

[C2.2] Display Block Information

2008-10-23 Thread Matthias Müller
Hi list, does someone have an idea how to access block information from within a xslt stylesheet / jx template / sitemap? my idea is to display the current version and the blocks name, description, etc. on a special about page. i know that there's the mvn site command, but for my concerns

AW: AW: AW: [C2.2] Problem after Hosting Block

2008-10-22 Thread Matthias Müller
? - Ursprüngliche Mail Von: Matthias Müller [EMAIL PROTECTED] 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

AW: [C2.2] Problem after Hosting Block

2008-10-22 Thread Matthias Müller
To finish this thread, after renaming the saxon.jar to z-saxon.jar the FormManager finally accepted the form definition files. thanks again for your help, matthias - Ursprüngliche Mail Von: Matthias Müller [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Mittwoch, den 22

AW: [2.2] Cocoon and XSLT 2.0

2008-10-20 Thread Matthias Müller
Yes, it works. so, what`s the question? matthias - Ursprüngliche Mail Von: Luca Morandini [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Freitag, den 17. Oktober 2008, 17:07:03 Uhr Betreff: [2.2] Cocoon and XSLT 2.0 Anyone tried Saxon on Cocoon 2.2 (possibly with Forms and

AW: AW: [C2.2] Problem after Hosting Block

2008-10-17 Thread Matthias Müller
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 [EMAIL PROTECTED] An: users@cocoon.apache.org

AW: Generate HTML from 2 XMLs

2008-10-15 Thread Matthias Müller
Hi, 1. you need to aggregate the output of these two xml transformation map:match pattern=firstXSLT map:generate type=file src=firstXML/ map:transform type=xslt src=firstXSL.xsl / map:serialize type=xml/ /map:match map:match pattern=secondXSLT

AW: [C2.2] Problem after Hosting Block

2008-10-15 Thread Matthias Müller
: Mittwoch, den 15. Oktober 2008, 09:41:33 Uhr Betreff: Re: [C2.2] Problem after Hosting Block Matthias Müller wrote: Hi, I finally converted my C2.1 App to C2.2. I used the block archetype for that, so my project is packaged as jar. To deploy it as a war (for tomcat5.x) i created a small webapp

AW: AW: [C2.2] Problem after Hosting Block

2008-10-15 Thread Matthias Müller
] Problem after Hosting Block Matthias Müller wrote: i use the latest xercesImpl 2.8.1 what i found out so far: the error i receive: -- Could not parse form definition. at [FormManager] - file:///pathToMyWebapp/target/work/blocks/myBlock/forms/myForm_definition.xml at Form

AW: [C2.2] Problem after Hosting Block

2008-10-15 Thread Matthias Müller
. 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

[C2.2] Problem after Hosting Block

2008-10-14 Thread Matthias Müller
Hi, I finally converted my C2.1 App to C2.2. I used the block archetype for that, so my project is packaged as jar. To deploy it as a war (for tomcat5.x) i created a small webapp-archetype project that hosts my block project (added as dependency). If i call my deployed project everything looks

AW: How to force a Save As prompt?

2008-10-08 Thread Matthias Müller
Aah, thanks for that, Geert's workaround works in my case. BTW, I don't care about older browser versions. The users of my project all uses at least IE6 best regards, matthias - Ursprüngliche Mail Von: David Legg [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Dienstag, den

AW: How to force a Save As prompt?

2008-10-08 Thread Matthias Müller
. Aan dit bericht kunnen geen rechten worden ontleend. From: Matthias Müller [mailto:[EMAIL PROTECTED] Sent: dinsdag 7 oktober 2008 14:28 To: users cocoon.apache.org Subject: How to force a Save As prompt? Hi there, is there a way or workaround how i can force a Save As prompt for my cocoon

How to force a Save As prompt?

2008-10-07 Thread Matthias Müller
Hi there, is there a way or workaround how i can force a Save As prompt for my cocoon output? The problem is that the browser knows the mime types of the generated files (xml, pdfs) and displays it instead of prompting. regards, matthias

[C2.2] Sitemap: Block Context Path

2008-10-06 Thread Matthias Müller
Hi there, what's the easiest way to get the context path of the current block (the project root)? i want to to use a parameter $myContextPath in my sitemap to work in a jx template, like this: map:generate type=jx src=resource/internal/fonts/fop-config.jxt map:parameter

[C2.2] Where's the JXTemplateGenerator?

2008-10-02 Thread Matthias Müller
Hi there, i want to convert my C2.11 project to C2.2. While trying to generate a JXTemplate i receive the following error: Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Unable to create class for

AW: [C2.2] set web.xml params

2008-07-25 Thread Matthias Müller
/properties/core.properties Matthias Müller wrote: hi there, i try to migrate my cocoon 2.1 project to 2.2 i need to set the enable-uploads param to true in WEB-INF/web.xml since my upload widgets won't work properly otherwise. but as far as i understand, the web..xml is generated during

[C2.2] Form Request Params in Sitemap

2008-07-25 Thread Matthias Müller
hi again, in a sitemap, how can i access request params sent by a form? i need to redirect a continuation-id sent by a form to another pipeline.. i tried it like this: map:match pattern=DO_IT map:redirect-to uri=cocoon:/{$cocoon/request/parameters/continuation-id}.continue/

[C2.2] set web.xml params

2008-07-24 Thread Matthias Müller
hi there, i try to migrate my cocoon 2.1 project to 2.2 i need to set the enable-uploads param to true in WEB-INF/web.xml since my upload widgets won't work properly otherwise. but as far as i understand, the web..xml is generated during the deployment process. so, where do i have to set

AW: Replacing FOP Jars

2007-07-17 Thread Matthias Müller
Hi there, thanks for your quick responses. Here's a little bit code: Attached you can find the CocoonFopSerializer which i got from a user in the fop-user mailing list. By the way, this class needs additional classes libs explicitly added to the build path. Then i registered/deregistered the

AW: AW: Replacing FOP Jars

2007-07-17 Thread Matthias Müller
for helping me, matthias - Ursprüngliche Mail Von: Matthias Müller [EMAIL PROTECTED] An: users@cocoon.apache.org Gesendet: Dienstag, den 17. Juli 2007, 08:24:48 Uhr Betreff: AW: Replacing FOP Jars Hi there, thanks for your quick responses. Here's a little bit code: Attached you can find

Replacing FOP Jars

2007-07-16 Thread Matthias Müller
Hi, I try to get FOP 0.9x working with Cocoon 2.1.9. Therefore i added a special FopSerializer class to my build path. That works. But when i put the 0.93 fop libs to the lib directory and replace the new fop.jar with the old one, i receive an initialization error:

AW: Has anyone written a xsl template for transforming tabs to dojo's TabContainer?

2007-03-22 Thread Matthias Müller
Hi Rice, which cocoon version do you use? i'm using the 2.1.9 and there is an existing example for your needs. Look at http://localhost:8080/cocoon/samples/blocks/forms/form1 (all-included installation) greetings Matthias - Ursprüngliche Mail Von: Rice Yeh [EMAIL PROTECTED] An:

Upload Resource not found

2007-03-12 Thread Matthias Müller
Hi, i have problems with a simple upload form. everything worked so far, but when i use the back button to step back from the result page to the form page and press the submit button again (without reloading the page !!!) i receive an error that the uploaded file cannot be found. my assumption:

Relative 'fontBaseDir' path with FOP 0.20.5

2007-03-08 Thread Matthias Müller
Hi there, I use Cocoon 2.1.9 and FOP 0.20.5 (since i don't have a clue how to upgrade the FOP version), to generate PDF output. I embed special fonts as described in the FOP Configuration: http://xmlgraphics.apache.org/fop/0.20.5/configuration.html Somehow the entry fontBaseDir except only

AW: Relative 'fontBaseDir' path with FOP 0.20.5

2007-03-08 Thread Matthias Müller
kerning=yes embed-file=arial.ttf font-triplet name=Arial style=normal weight=normal/ /font -- this should work also, not? greetings Matthias Matthias Müller wrote Is there a possibility to add a relative path here? I had a similar problem when I tried to embed fonts