Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 21726 invoked from network); 7 Nov 2010 11:15:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Nov 2010 11:15:06 -0000 Received: (qmail 4298 invoked by uid 500); 7 Nov 2010 11:15:37 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4074 invoked by uid 500); 7 Nov 2010 11:15:35 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Delivered-To: moderator for dev@cocoon.apache.org Received: (qmail 2007 invoked by uid 99); 7 Nov 2010 11:10:12 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mahdoui@hotmail.de designates 65.55.90.166 as permitted sender) Message-ID: Content-Type: multipart/alternative; boundary="_e32b2976-9ef9-4bb0-868a-c772ba47c3ba_" X-Originating-IP: [92.193.30.177] From: Ali Mahdoui To: Cocoon users , Subject: Set Encoding for XMLSerializer dynamically Date: Sun, 7 Nov 2010 12:09:40 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 07 Nov 2010 11:09:41.0215 (UTC) FILETIME=[465B56F0:01CB7E6C] X-Virus-Checked: Checked by ClamAV on apache.org --_e32b2976-9ef9-4bb0-868a-c772ba47c3ba_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2Ci am using cocoon 2.2 and i want to set the encoding for the xml seria= lizer dynamically depending on the return value of a previous action.for ex= ample like this ...For the moment i can only set the encoding in the be= an definition... Is that possible? Thanks = --_e32b2976-9ef9-4bb0-868a-c772ba47c3ba_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C
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.<= /div>
for example like this <=3Bserialize type=3D"xhtml" status-code= =3D"200" encoding=3D"{charsetEncoding}"/>=3B ...
For the moment= i can only set the encoding in the bean definition...  =3B
I= s that possible? Thanks

= --_e32b2976-9ef9-4bb0-868a-c772ba47c3ba_--