Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 28304 invoked from network); 13 Dec 2008 10:52:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2008 10:52:33 -0000 Received: (qmail 53018 invoked by uid 500); 13 Dec 2008 10:52:44 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 52925 invoked by uid 500); 13 Dec 2008 10:52:44 -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 Received: (qmail 52916 invoked by uid 99); 13 Dec 2008 10:52:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Dec 2008 02:52:44 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Dec 2008 10:52:22 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LBS6F-00060b-Gi for dev@cocoon.apache.org; Sat, 13 Dec 2008 10:51:55 +0000 Received: from adsl-ull-32-163.49-151.net24.it ([151.49.163.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Dec 2008 10:51:55 +0000 Received: from lmorandini by adsl-ull-32-163.49-151.net24.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Dec 2008 10:51:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Luca Morandini Subject: Re: WURFL + COCOON (WALL Serializer) Date: Sat, 13 Dec 2008 11:51:41 +0100 Lines: 39 Message-ID: References: <001201c95ad3$2c57a330$8506e990$@mobi> <000301c95cb6$c7ff4b50$57fde1f0$@mobi> Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-ull-32-163.49-151.net24.it User-Agent: Thunderbird 2.0.0.18 (X11/20081119) In-Reply-To: <000301c95cb6$c7ff4b50$57fde1f0$@mobi> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Remon wrote: > Hi Luca, > > I just want to integrate WALL in cocoon, I need to find a way to pass a > universal markup (understood by my program) which is in XML format from > cocoon XML transformer or generator to the custom serializer and let this > serializer decides whether to serve the client with WML or HTML or CHTML ... > > This means that the output markup and content type will be decided by the > serializer. Look, serializers are meant to be "dumb" components in Cocoon while the routing is done by the sitemap itself (or flowscript/javaflow). If I were you I'd call the HTML (or WML) serializer from the sitemap itself using the browser seletor, hence dropping this logic from your package: this solution would add some flexibility and play on the existing Cocoon components. The sitemap would look something like: Regards, -------------------- Luca Morandini www.lucamorandini.it --------------------