Scriptlet

From PresenceWiki
Revision as of 15:54, 30 March 2010 by Mattpryor (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Scriptlets

Scriptlets are bits of Java code which can appear in a dynamic text area which will be compiled and executed at runtime.

Scriptlets are identified by surrounding <java> tags, for example:

<java> .... some code ... </java>

In order to correctly compile and run, Presence must know the location of the Java compiler. This can be set in presenceconfig.xml.