Scripting in general

In general, for scripting capabilties in JPortal I use BeanShell (Look at: http://www.beanshell.org/)

"BeanShell" gives you nearly full Java syntax for your scripting and which fits seemlessly into your own programming. Passing a class from your own program to a beanshell script goes like:

i.set("match", match);

Which sets the "match" to a variable in the scripting environment called match. "i" is the actual interpreter instance.)

Yes it is THAT easy!

None the less I wrote some small wrappers, which can be found in the package "csa.jportal.script".