Skip to end of banner
Go to start of banner

Live Fields Routines

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Standard routines

 

The standard routines are listed in our SIL space. These routines are available to all our SIL-enabled plugins, namely:

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

lfHideHides a field.lfHide(field)
lfShowShows a field.lfShow(field)
lfDisableDisables a field.lfDisable(field)
lfEnableEnables a field.lfEnable(field)
lfHideAllExceptHides all the given fields, panels and tabs except the ones given as parameters.lfHideAllExcept(fields_tabs_and_panels)
lfShowAllShows the given fields, panels and tabs.lfShowAll(fields_tabs_and_panels)
lfShowFieldMessageDisplays a message for the given field.lfShowFieldMessage(field, message, messageClass)
lfHideFieldMessageHides a message for the given field.lfHideFieldMessage(field)
lfGlobalMessageDisplays a global message.lfGlobalMessage(message, messageClass)
lfDialogMessageDisplays a global message in a dialog box.lfDialogMessage(message, messageClass)
lfSetSets a field with the given values.lfSet(field, value)
lfWatchAttach listeners for the given events.lfWatch(field, relatedFields, scriptPath[,javaScriptEvents])
lfExecuteJSGives you the possibility to run your own javascript code.lfExecuteJS(jsFilePath)
lfRestrictSelectOptionsRestricts the list of given options from the options of the field.lfRestrictSelectOptions(field, options)
lfRefreshScreenPerforms a page reload.lfRefreshScreen()
lfRedirectRedirects to a given URL.lfRedirect(url)
lfInstantHookExecutes the given SIL script, passing the screen values for relatedFields as parameters to the script.lfInstantHook(relatedFields, scriptPath)
  • No labels