public interface GuiScriptContext extends ClientScriptContext, BaseContext
BaseContext.Env
Modifier and Type | Method and Description |
---|---|
Host |
getGuiHost()
Returns the currently active gui host.
|
Script |
getScript()
Returns the actual executed
script to which this GuiScriptContext belongs |
boolean |
isOnHomePage()
Indicates whether the underlying
script will be executed on the homepage or not. |
FormData |
showForm()
Opens a dialog showing the whole form of the underlying
getScript() without language tabs
and returns the FormData resulting on user input. |
FormData |
showForm(boolean showLanguages)
Opens a dialog showing the whole form of the underlying
getScript()
and returns the FormData resulting on user input. |
FormData |
showForm(boolean showLanguages,
String name)
Opens a dialog showing a sub part (specified by given name) of the form of the underlying
getScript()
and returns the FormData resulting on user input. |
Data |
showGui()
Deprecated.
since 4.2.472 -> use
showForm() instead |
Data |
showGui(boolean showLanguages)
Deprecated.
since 4.2.472 -> use
showForm(boolean) instead |
Data |
showGui(boolean showLanguages,
String name)
Deprecated.
since 4.2.472 -> use
showForm(boolean, String) instead |
Data |
showGui(String name)
Deprecated.
since 4.2.472 -> use
showForm(boolean, String) instead |
getElement, getStoreElement, getUser, getUserGroups
getProject, getUserService
getConnection, getProperties, getProperty, logDebug, logError, logError, logInfo, logWarning, removeProperty, setProperty
is
requestSpecialist, requireSpecialist
Host getGuiHost()
@Deprecated Data showGui()
showForm()
instead@Deprecated Data showGui(String name)
showForm(boolean, String)
instead@Deprecated Data showGui(boolean showLanguages)
showForm(boolean)
instead@Deprecated Data showGui(boolean showLanguages, String name)
showForm(boolean, String)
insteadFormData showForm()
getScript()
without language tabs
and returns the FormData
resulting on user input.FormData
resulting on user input or null
if user cancels the dialog.FormData showForm(boolean showLanguages)
getScript()
and returns the FormData
resulting on user input.showLanguages
- indicates whether the language tabs should be shown in the opened dialog or notFormData
resulting on user input or null
if user cancels the dialog.FormData showForm(boolean showLanguages, String name)
getScript()
and returns the FormData
resulting on user input.showLanguages
- indicates whether the language tabs should be shown in the opened dialog or notname
- the name of sub part of the form to showFormData
resulting on user input or null
if user cancels the dialog.Script getScript()
script
to which this GuiScriptContext belongsscript
to which this GuiScriptContext belongsCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408