cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <>
Subject RE: Python Generator example
Date Thu, 24 Apr 2003 19:35:49 GMT
On Thu, 24 Apr 2003, e nio wrote:

> Can you look at cocoon.xconf again, there are some definitions there
> regarding python like it, under built-in logicsheets and under
> languages.  But you seemed right though, I could not figure out how
> cocoon handles the mapping of *.py.  the contents are BSF and I
> have not learned those yet. Keep posting, I hope I'll learn from you.

Looking at the

It seems to be getting a list of "programming languages" (around line
113), which are set in WEB-INF/cocoon.xconf.  Likewise, the "python"
language class seems to reside in


The very bottom at: public String getSourceExtension(), which is overriden
from the ProgrammingLanguage interface, seems to be where the actual
extension is set.



Tony Collen
ICQ: 12410567
Cocoon: Internet Glue (A Cocoon Weblog)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message