Antonio Gallardo wrote:

Hi:

Hi:

Some of us wanted to see Groovy support in Cocoon. Now we can "play" a
little with Groovy using the recently added support for Groovy script
generator under the BSF block. More info about how to use it is here:

http://cocoon.apache.org/2.1/userdocs/generators/script-generator.html

SITEMAP CONFIGURATION FOR GROOVY:
======================

In components section add:

<map:generator name="script"
    src="org.apache.cocoon.generation.ScriptGenerator"
    logger="sitemap.generation.scriptgenerator">
  <!-- Groovy support -->
  <add-languages>
    <language name="groovy" src="org.codehaus.groovy.bsf.GroovyEngine">
      <extension>groovy</extension>
      <extension>gy</extension>
    </language>
  </add-languages>
</map:generator>

I hope this will have a good welcome in the Cocoon Community.

Best Regards,

Antonio Gallardo


Next I would like to see is a groovy implementation of flow ;-)

--
Stefano.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to