cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject Re: Some CalendarGenerator code
Date Sat, 08 May 2004 13:58:03 GMT
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 
> <day><>
> 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 <day> 
> 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/


Mime
View raw message