Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

Introduction to Groovy

Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of PythonRubyPerl, and Smalltalk. It can be used as a scripting language for the Java Platform. To know more about Groovy, see the Groovy Documentation.

Groovy in JMWE

Groovy script results in JMWE are used to:

On this page:

Building Groovy scripts

You can learn writing groovy scripts either by going through the learning material or from the tutorials listed below:

Tutorials

  • Getting Started
    • Explain what this tutorial about
    • By the end of this tutorial...
    • List what do you need before you begin
  • Basics of Groovy
    • Skip this is you already know Groovy
    • Detail few basic concepts of Groovy
      • if, for, closure, lambda expressions, safe-navigation operator etc
    • References to Groovy tutorials (external)
  • Where do you write your Groovy script
    • Add a post-function,select "Groovy expression", Groovy editor is displayed.
    • Rough introduction on Groovy editor and reference to its page.
  • Tutorial - Value of a text field
  • Tutorial - Write a condition
    • Simple condition - A text field is empty (either using if or return the result of the comparision)
    • Check the current user name. Using if 2. return the result of the comparision
  • Tutorial -
    • Using if
    • Directly returning the result
  • Comment
  • Value
  • Tutorial - Fetch the value of a text field
  • Tutorial - Safe access
  • Tutorial on
  • Return
  • Write a script that returns a user

Reference material


  • No labels