Package de.xima.fc.gui.builder
Class FormAjaxScriptBuilder
java.lang.Object
de.xima.fc.gui.builder.AFormShareScriptBuilder
de.xima.fc.gui.builder.FormAjaxScriptBuilder
Generates a script for loading form via ajax
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsFields inherited from class de.xima.fc.gui.builder.AFormShareScriptBuilder
ajaxAuto, containerId, DEFAULT_AJAX_AUTO, DEFAULT_CONTAINER_ID, DEFAULT_INDENTATION, DEFAULT_LOAD_JQUERY_FIRST, DEFAULT_PP_ERROR_URL, DEFAULT_PP_SUCCESS_URL, DEFAULT_PP_USE_BASE_URL, DEFAULT_RP_FORM_ONLY, DEFAULT_RP_INLINE, DEFAULT_RP_KEEP_ALIVE, DEFAULT_RP_USE_CSS, DEFAULT_RP_USE_JQ, DEFAULT_RP_USE_UI, loadJqueryFirst, ppErrorUrl, ppSuccessUrl, ppUseBaseUrl, project, rpFormOnly, rpInline, rpKeepAlive, rpTheme, rpUseCss, rpUseJq, rpUseUi, server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the for loading script based on the given propertieswithAjaxAsync
(boolean ajaxAsync) withAjaxCache
(boolean ajaxCache) withFunctionComment
(String functionComment) Methods inherited from class de.xima.fc.gui.builder.AFormShareScriptBuilder
getIndentationSpaces, getRequestData, withAjaxAuto, withContainerId, withLoadJqueryFirst, withPpErrorUrl, withPpSuccessUrl, withPpUseBaseUrl, withProject, withRpFormOnly, withRpInline, withRpKeepAlive, withRpTheme, withRpUseCss, withRpUseJq, withRpUseUi, withServer
-
Field Details
-
DEFAULT_AJAX_ASYNC
public static final boolean DEFAULT_AJAX_ASYNC- See Also:
-
DEFAULT_AJAX_CACHE
public static final boolean DEFAULT_AJAX_CACHE- See Also:
-
DEFAULT_AFUNCTION_COMMENT
- See Also:
-
-
Constructor Details
-
FormAjaxScriptBuilder
-
-
Method Details
-
withAjaxCache
-
withAjaxAsync
-
withFunctionComment
-
build
Description copied from class:AFormShareScriptBuilder
Builds the for loading script based on the given properties- Specified by:
build
in classAFormShareScriptBuilder
- Returns:
String
form loading script- Throws:
Exception
- on errors during the build process
-