Standard routines
The standard routines are listed in our SIL space. These routines are available to all our SIL-enabled plugins, namely:
- JJUPIN (this plugin)
- JJUPA - with the power of SIL and JJupin for the Agile ninjas
- Blitz Actions - creates a non-transition screen. The companion of JJupin
- KCF - Kepler Custom Fields - varia CF for your fun time (free)
- DBCF - Database Custom Field - The only free plugin getting data from databases
- Kontinuum - Our time-tracking solution
For the technical minded
There is just one routine registry, and that belongs to the katl-commons plugin. This makes sharing of the routines possible among plugins !
Routines added by JJupin
The following routines are JJupin specific.
Routine | Description | Syntax |
---|---|---|
lfHide | Hides a field. | lfHide(field) |
lfShow | Shows a field. | lfShow(field) |
lfDisable | Disables a field. | lfDisable(field) |
lfEnable | Enables a field. | lfEnable(field) |
lfHideAllExcept | Hides all the given fields, panels and tabs except the ones given as parameters. | lfHideAllExcept(fields_tabs_and_panels) |
lfShowAll | Shows the given fields, panels and tabs. | lfShowAll(fields_tabs_and_panels) |
lfShowFieldMessage | Displays a message for the given field. | lfShowFieldMessage(field, message, messageClass) |
lfHideFieldMessage | Hides a message for the given field. | lfHideFieldMessage(field) |
lfGlobalMessage | Displays a global message. | lfGlobalMessage(message, messageClass) |
lfDialogMessage | Displays a global message in a dialog box. | lfDialogMessage(message, messageClass) |
lfSet | Sets a field with the given values. | lfSet(field, value) |
lfWatch | Attach listeners for the given events. | lfWatch(field, relatedFields, scriptPath[,javaScriptEvents]) |
lfExecuteJS | Gives you the possibility to run your own javascript code. | lfExecuteJS(jsFilePath) |
lfRestrictSelectOptions | Restricts the list of given options from the options of the field. | lfRestrictSelectOptions(field, options) |
lfRefreshScreen | Performs a page reload. | lfRefreshScreen() |
lfRedirect | Redirects to a given URL. | lfRedirect(url) |
lfInstantHook | Executes the given SIL script, passing the screen values for relatedFields as parameters to the script. | lfInstantHook(relatedFields, scriptPath) |