On Fri, 03 Dec 2010 13:12:15 -0200, Angelo C. <angelochen...@gmail.com> wrote:

Hi,

Hi!

I need some scripting functions in t5 app, what are the options available? looks like Groovy is easier, I have included the groovy-all-minimal into the app, but how to use it? looking for a sample usage, say just a service class in Groovy returning a string 'Hello', and how to call this from a page class so that it could be rendered to the browser? thanks,

This isn't specific to Tapestry. Just try to find out how you can invoke Groovy code from Java. Another option is to use JavaScript (Rhino).

By the way, you can write page, component, mixin and service classes in Groovy and Scala (which is not a scripting language, I know. :)).

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to