Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 85456 invoked from network); 8 May 2004 13:58:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 May 2004 13:58:09 -0000 Received: (qmail 85167 invoked by uid 500); 8 May 2004 13:58:04 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 84681 invoked by uid 500); 8 May 2004 13:58:01 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 84665 invoked from network); 8 May 2004 13:58:01 -0000 Received: from unknown (HELO grid4.hypergrid.it) (80.22.58.138) by daedalus.apache.org with SMTP; 8 May 2004 13:58:01 -0000 Received: (qmail 25584 invoked by uid 1005); 8 May 2004 13:58:01 -0000 Received: from ugo@apache.org by mail with HyperGrid Anti-Virus System Processed in 4.575708 secs; 08 May 2004 13:58:01 -0000 Received: from unknown (HELO ?80.117.39.244?) (ugo.cei@ymail.it@80.117.39.244) by 0 with RC4-SHA encrypted SMTP; 8 May 2004 13:57:56 -0000 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: References: <9677E2AE-9B83-11D8-A886-000A95DC4186@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ugo Cei Subject: Re: Some CalendarGenerator code Date: Sat, 8 May 2004 15:58:03 +0200 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.613) X-Spam-Checker-Version: SpamAssassin 3.0.0-r9592-hypergrid (2004-03-18) on mail.hypergrid.it X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Il giorno 08/mag/04, alle 10:14, roy huang ha scritto: > After a long Labor Day holiday,I checked this message today.The > source > code contains Chinese characters so you may not recognize.I don't know > the > coding standard in cocoon,so this source code is sent to you for > reference. > What should I do is better now? Simple ASCII encoding is fine. I would appreciate if you at least kept the original javadoc comments and license statement. > The second point is generator is still not easy to show data in > <> > element,you must write java code to extend the original Calendar. > I think many users won't like this idea.My suggestion is why not > create a CalendarTransformer > to transform a predefine of configurable format xml stream to calendar > format,then users can using > xml file or SQLTransformer to get the information and set it in > element. > WDYT? You can do the same with the existing generator. What would the input of your transformer be? Ugo -- Ugo Cei - http://beblogging.com/