jueves, 29 de enero de 2015

GEL Scripting -



 GEL (Generic Execution Language) is a scripting language over XML, and based on the Apache Jakarta and Jelly libraries


This script code can be executed from Process actions (Custom Script) or from the command line (though few people use from CLI).

Basis:





Notes for SQL:

Be careful with SQL symbols < > inside GEL code, because cos they will be interpreted by gel interpreter,
replace by BETWEEN

<![CDATA[  my_SQL_queries ]]>




Differences between GEL for Clarity and Command-line:
in Clarity:


in CLI:
    "Total: " ${myrow[0]} 



Beginning of GEL script

log - ${texto_esf_est} ${texto_fechafin} ---

Definition of  libraries:
This is the most common lines for libraries definition

            xmlns:core="jelly:core"
            xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
            xmlns:pbk="jelly:com.niku.pbk.gel.GELTagLibrary"
            xmlns:sql="jelly:sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">



No hay comentarios: