Class AFormShareScriptBuilder
java.lang.Object
de.xima.fc.gui.builder.AFormShareScriptBuilder
- Direct Known Subclasses:
FormAjaxScriptBuilder, FormApiScriptBuilder
Abstract base class for generating form share scripts
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringstatic final booleanstatic final Stringstatic final Stringstatic final booleanstatic final Stringstatic final Stringstatic final booleanstatic final booleanstatic final booleanstatic final booleanstatic final booleanprotected booleanprotected booleanprotected Stringprotected Stringprotected booleanprotected Projektprotected booleanprotected booleanprotected FormThemeReferenceprotected booleanprotected booleanprotected ServerSelectionModel.Server -
Constructor Summary
ConstructorsConstructorDescriptionAFormShareScriptBuilder(ServerSelectionModel.Server server, Projekt project) -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringbuild()Builds the for loading script based on the given propertiesprotected StringgetIndentationSpaces(int indent) protected StringgetRequestData(int indent) withAjaxAuto(boolean ajaxAuto) withContainerId(String containerId) protected AFormShareScriptBuilderwithForceInline(boolean forceInline) withLoadJqueryFirst(boolean loadJqueryFirst) withPpErrorUrl(String ppErrorUrl) withPpSuccessUrl(String ppSuccessUrl) withPpUseBaseUrl(boolean ppUseBaseUrl) withProject(Projekt project) withRpFormOnly(boolean rpFormOnly) withRpKeepAlive(boolean rpKeepAlive) withRpTheme(Textbaustein rpTheme) Deprecated.withRpTheme(FormThemeReference formThemeReference) Sets the form theme to use for the form.withRpUseJq(boolean rpUseJq) withRpUseUi(boolean rpUseUi)
-
Field Details
-
DEFAULT_LOAD_JQUERY_FIRST
public static final boolean DEFAULT_LOAD_JQUERY_FIRST- See Also:
-
DEFAULT_RP_FORM_ONLY
public static final boolean DEFAULT_RP_FORM_ONLY- See Also:
-
DEFAULT_RP_USE_JQ
public static final boolean DEFAULT_RP_USE_JQ- See Also:
-
DEFAULT_RP_KEEP_ALIVE
public static final boolean DEFAULT_RP_KEEP_ALIVE- See Also:
-
DEFAULT_RP_USE_UI
public static final boolean DEFAULT_RP_USE_UI- See Also:
-
DEFAULT_AJAX_AUTO
public static final boolean DEFAULT_AJAX_AUTO- See Also:
-
DEFAULT_PP_USE_BASE_URL
public static final boolean DEFAULT_PP_USE_BASE_URL- See Also:
-
DEFAULT_PP_SUCCESS_URL
- See Also:
-
DEFAULT_PP_ERROR_URL
- See Also:
-
DEFAULT_CONTAINER_ID
- See Also:
-
DEFAULT_INDENTATION
- See Also:
-
server
-
project
-
loadJqueryFirst
protected boolean loadJqueryFirst -
rpFormOnly
protected boolean rpFormOnly -
rpKeepAlive
protected boolean rpKeepAlive -
rpUseJq
protected boolean rpUseJq -
rpUseUi
protected boolean rpUseUi -
ajaxAuto
protected boolean ajaxAuto -
ppUseBaseUrl
protected boolean ppUseBaseUrl -
forceInline
protected boolean forceInline -
rpTheme
-
ppSuccessUrl
-
ppErrorUrl
-
containerId
-
-
Constructor Details
-
AFormShareScriptBuilder
-
-
Method Details
-
withRpTheme
Deprecated. -
withRpTheme
Sets the form theme to use for the form. This is an override, when not set, the theme that was configured for the form is used.- Parameters:
formThemeReference- The form theme to use instead of the theme configured for the form.- Returns:
- The builder instance for chaining method calls.
-
withLoadJqueryFirst
-
withRpFormOnly
-
withRpKeepAlive
-
withPpUseBaseUrl
-
withRpUseJq
-
withRpUseUi
-
withAjaxAuto
-
withPpSuccessUrl
-
withPpErrorUrl
-
withContainerId
-
withServer
-
withProject
-
withForceInline
-
build
-
getRequestData
-
getIndentationSpaces
-