RE: Set Encoding for XMLSerializer dynamically

2010-11-08 Thread Ali Mahdoui
Hi,no that does not help (and the syntax is not allowed in the schema of the sitemap)thanksAli Subject: RE: Set Encoding for XMLSerializer dynamically Date: Mon, 8 Nov 2010 12:56:11 +0100 From: lmedi...@odyssey-group.com To: users@cocoon.apache.org Hi, have you tried: serialize

Set Encoding for XMLSerializer dynamically

2010-11-07 Thread Ali Mahdoui
Hi,i am using cocoon 2.2 and i want to set the encoding for the xml serializer dynamically depending on the return value of a previous action.for example like this serialize type=xhtml status-code=200 encoding={charsetEncoding}/ ...For the moment i can only set the encoding in the bean

Howto get block mount path programmatically

2010-08-24 Thread Ali Mahdoui
Hi, howto get the actual block mount path for example inside an action in cocoon 2.2? thanks! Ali Mahdoui

RE: AW: Hand over XSL variable value - wrong list?

2010-07-26 Thread Ali Mahdoui
Hi Immanuel, i think it will work in this way: write a new transformer which writes the value of your variable for example in the session, in the next step in the sitemap you can ask for the value with the session attribute input module 1- call old transformer 2- call java transformer to

RE: Aggregated Transformer

2010-06-11 Thread Ali Mahdoui
this chainedTransformer? Robby -Original Message- From: Luca Morandini [mailto:lmorand...@ieee.org] Sent: Friday, June 11, 2010 1:36 AM To: users@cocoon.apache.org Subject: Re: Aggregated Transformer On 10/06/10 11:19, Ali Mahdoui wrote: Hi, The answer to my question is sure

RE: Cocoon 2.2 + openjpa

2010-06-11 Thread Ali Mahdoui
to your pom. -Start configuring some beans in your block-application-context.xml -write your pojo’s and annotate them -from flowscript do the work you need to do by var mybean = cocoon.getComponent(“mybean”); mybean.doSomething(); Robby From: Ali Mahdoui [mailto:mahd

RE: Cocoon 2.2 + openjpa

2010-06-11 Thread Ali Mahdoui
From: robby.pelss...@ciber.com To: users@cocoon.apache.org You might want to disable everything from the rcl.properties file. I had similar issues in the past and that helped fixing the classloader issue. Robby From: Ali Mahdoui [mailto:mahd...@hotmail.de] Sent

ClassCastException for session bean

2010-06-10 Thread Ali Mahdoui
Hi, i am using cocoon 2.2 like this - Block1: defines a framework for manipulating session beans - Block2: defines an application which uses Block1 a- Block 2 contains classes which will be used from Block 1 to manipulate the session (lets say FromBlock1CalledClass) b- Block 2

Aggregated Transformer

2010-06-10 Thread Ali Mahdoui
Hi, The answer to my question is sure simple but i dont find out how i ca do it. i am writing a cocoon block that has three sax transformers which should be always called after each other. I there a possibility to aggregate these transformers in only one? this will make the usage of my block

Cocoon 2.2 + openjpa

2010-06-10 Thread Ali Mahdoui
Hi,is there any tutorial or example how to use openjpa with cocoon 2.2?Thanks!Ali _ http://redirect.gimas.net/?n=M1006xHMTL5 Tschüss Werbung im E-Mail-Abbinder!

Passing POST Parameters to a block call, cocoon 2.2, please urgent!

2009-08-27 Thread Ali Mahdoui
Hi, i want to forewoard my form data to a servlet:... pipeline request. My Form: form action=pattern1 method=post input type=text name=data /form The source pipeline calls a block like this map:match pattern=pattern1 map:generate src=servlet:block-id:/pattern2/