From Documentation

Jump to: navigation, search

Currently ZK supports Java, JavaScript, Ruby and Groovy. However, it is easy to extend:

  1. Provides a class that implements the Interpreter interface. Instead of implementing it directly, you can derive from the GenericInterpreter class, if you'd like to handle namespaces directly. Or, you can derive from the BSHInterpreter class, if the interpreter supports BSF (Bean Scripting Framework).
  2. Declares the scripting language in either WEB-INF/zk.xml, or zk/config.xml.
        <language-name>SuperJava</language-name><!-- case insensitive -->

Refer to the Developer's Reference for the details about WEB-INF/zk.xml. Refer to the Component Development Guide for the details about zk/config.xml.

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.