Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

this code sample were taken from
specialpurpose/googlecheckout//script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
it is a good example of how to extend simple-methods using java scripting (BSH).
though dated this is a source also http://ofbiz.apache.org/docs/minilang.html#MethodExampleI am showing how to use Groovy to accomplish the same processes mostly as examples

the Scripting using Java is accomplished using Beanshell (bsh) or Groovy (script)
both can use standard java, but each can use the unique scripting for that script.


Note: work in progress feel free to add you examples.

...