Configuration
Each module takes its own set of configuration files. Within a module, each Calyxo component is configured through individual configuration files.
Generally, all Calyxo configuration files are in XML format and share the ability to
-
import another configuration file: the imported configuration
is merged into the importing configuration.
<base:import file="../calyxo-control-config-shared.xml"/>
This feature greatly supports sharing of common configuration parts between modules. -
define, initialize and store Java objects as local variables or as module
(or application) scope attributes:
<base:set var="content" value="/WEB-INF/content"/>
or even<base:set var="mybean" scope="module"> <base:object class="...MyBean"> <base:property name="foo" value="bar"/> </base:object> </base:set>Simple, but very useful... -
use JSP EL expressions in so called dynamic attributes
to reference local variables and attributes in module- or application scope.
<foo value="${mybean}"/> -
declare functions to be used in dynamic attributes:
you can provide you own function libraries.
<base:functions prefix="bar" class="...MyFunctions"/>


