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 StringDEFAULT_AFUNCTION_COMMENTstatic booleanDEFAULT_AJAX_ASYNCstatic booleanDEFAULT_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_KEEP_ALIVE, DEFAULT_RP_USE_CSS, DEFAULT_RP_USE_JQ, DEFAULT_RP_USE_UI, forceInline, loadJqueryFirst, ppErrorUrl, ppSuccessUrl, ppUseBaseUrl, project, rpFormOnly, 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 Stringbuild()Builds the for loading script based on the given propertiesFormAjaxScriptBuilderwithAjaxAsync(boolean ajaxAsync)FormAjaxScriptBuilderwithAjaxCache(boolean ajaxCache)FormAjaxScriptBuilderwithFunctionComment(String functionComment)- 
Methods inherited from class de.xima.fc.gui.builder.AFormShareScriptBuilder
getIndentationSpaces, getRequestData, withAjaxAuto, withContainerId, withForceInline, withLoadJqueryFirst, withPpErrorUrl, withPpSuccessUrl, withPpUseBaseUrl, withProject, withRpFormOnly, withRpKeepAlive, withRpTheme, 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:AFormShareScriptBuilderBuilds the for loading script based on the given properties- Specified by:
 buildin classAFormShareScriptBuilder- Returns:
 Stringform loading script- Throws:
 Exception- on errors during the build process
 
 - 
 
 -