Package de.xima.fc.gui.builder
Class FormAjaxScriptBuilder
- java.lang.Object
-
- de.xima.fc.gui.builder.AFormShareScriptBuilder
-
- de.xima.fc.gui.builder.FormAjaxScriptBuilder
-
public class FormAjaxScriptBuilder extends AFormShareScriptBuilder
Generates a script for loading form via ajax- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_AFUNCTION_COMMENT
static boolean
DEFAULT_AJAX_ASYNC
static boolean
DEFAULT_AJAX_CACHE
-
Fields 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 Constructor Description FormAjaxScriptBuilder(ServerSelectionModel.Server server, Projekt project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build()
Builds the for loading script based on the given propertiesFormAjaxScriptBuilder
withAjaxAsync(boolean ajaxAsync)
FormAjaxScriptBuilder
withAjaxCache(boolean ajaxCache)
FormAjaxScriptBuilder
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 Detail
-
DEFAULT_AJAX_ASYNC
public static final boolean DEFAULT_AJAX_ASYNC
- See Also:
- Constant Field Values
-
DEFAULT_AJAX_CACHE
public static final boolean DEFAULT_AJAX_CACHE
- See Also:
- Constant Field Values
-
DEFAULT_AFUNCTION_COMMENT
public static final String DEFAULT_AFUNCTION_COMMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FormAjaxScriptBuilder
public FormAjaxScriptBuilder(ServerSelectionModel.Server server, Projekt project)
-
-
Method Detail
-
withAjaxCache
public FormAjaxScriptBuilder withAjaxCache(boolean ajaxCache)
-
withAjaxAsync
public FormAjaxScriptBuilder withAjaxAsync(boolean ajaxAsync)
-
withFunctionComment
public FormAjaxScriptBuilder withFunctionComment(String functionComment)
-
build
public String build() throws Exception
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
-
-