In Intrexx, there exist internal editors for use in the integration of
JavaScript, Groovy, and Velocity into your portal. With them, you can
compose and administer your own code comfortably and easily.
Alternatively, you have the ability to integrate external editors if
you wish as well.
This ability exists in a central, module-spanning location: in the
editor settings, which you can reach via the menu item Extras
/ Options.
Click on Browse here in order to enter the program path to your external editor.
If a file (such as the JavaScript file for the application) is opened
in an external editor, the script button cannot be used as long as the
external editor is running.
The external editor writes first to a temporary file, which will be
applied to the application only after the editor is closed.
Please do not change the temporary file name. Use the
"Save" function in the external editor.
Here are some examples for the setup of an external editor:
Notepad++
"\notepad++.exe" -multiInst ${file}
Editplus
"\editplus.exe" ${file}
gedit
"/usr/bin/gedit" --new-window ${file}
Entering the parameter ${file} is usually not required; however, it can
be entered if the external editor expects or supports additional
parameters after the file name. The file path must be enclosed in
quotation marks, the parameters follow thereafter.
With the setting Field suggestion list in Groovy editor inserts ValueHolder the
Field suggestion listin the Groovy editor inserts g_record["GUID"].
If the setting is not enabled, the Field suggestion list inserts g_record["GUID"].value.
Stylesheet Editor
In the Design module, you can reach this editor
via the menu item Edit / Edit Stylesheet.
JavaScript Editor
In the Applications module, you can find this
editor via the Script tab of the properties dialog
of many application elements.
Groovy Script Editor
You can find the Groovy Script Editor in the Integration module
in a data transfer, if Groovy is selected as a data source or
target. Additionally, it can be reached from the Processes and the Applications module.
Velocity
The Velocity Editor can be reached from the Processes module.
If you define an e-mail action, you can compose messages depending on
the context.
XML Editor
In the Applications module, you will find the XML
tab in the Details dialog, assuming
expert options have been activated. The XML of the corresponding
element will be shown here.
Filter Editor
In the Applications module, filters
can also be directly edited in the XML, if expert options are active.
You can find filters, for example, in the properties dialog of the
application elements tableor selection list. Click
on Expert in the filter
dialog in order to open the filter editor.