cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roy huang" <lingererhu...@hotmail.com>
Subject Re: Some CalendarGenerator code
Date Sun, 09 May 2004 03:04:13 GMT
1.I just extend the original class,so didn't think of about license
2.Use current generator user must extend it and using java .I believe many cocoon users don't
know java much but just now xml.Using transformer user can just use xml to define data.
----- Original Message ----- 
From: "Ugo Cei" <ugo@apache.org>
To: <dev@cocoon.apache.org>
Sent: Saturday, May 08, 2004 9:58 PM
Subject: Re: Some CalendarGenerator code


> 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