public class FormAjaxScriptBuilder extends AFormShareScriptBuilder
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_AFUNCTION_COMMENT  | 
static boolean | 
DEFAULT_AJAX_ASYNC  | 
static boolean | 
DEFAULT_AJAX_CACHE  | 
ajaxAuto, containerId, DEFAULT_AJAX_AUTO, DEFAULT_CONTAINER_ID, DEFAULT_INDENTATION, DEFAULT_LOAD_JQUERY_FIRST, DEFAULT_PP_ERROR_URL, DEFAULT_PP_SUCCESS_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, project, rpFormOnly, rpInline, rpKeepAlive, rpTheme, rpUseCss, rpUseJq, rpUseUi, server| Constructor and Description | 
|---|
FormAjaxScriptBuilder(ServerSelectionModel.Server server,
                     Projekt project)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
build()
Builds the for loading script based on the given properties 
 | 
FormAjaxScriptBuilder | 
withAjaxAsync(boolean ajaxAsync)  | 
FormAjaxScriptBuilder | 
withAjaxCache(boolean ajaxCache)  | 
FormAjaxScriptBuilder | 
withFunctionComment(String functionComment)  | 
getIndentationSpaces, getRequestData, withAjaxAuto, withContainerId, withLoadJqueryFirst, withPpErrorUrl, withPpSuccessUrl, withProject, withRpFormOnly, withRpInline, withRpKeepAlive, withRpTheme, withRpUseCss, withRpUseJq, withRpUseUi, withServerpublic static final boolean DEFAULT_AJAX_ASYNC
public static final boolean DEFAULT_AJAX_CACHE
public static final String DEFAULT_AFUNCTION_COMMENT
public FormAjaxScriptBuilder(ServerSelectionModel.Server server, Projekt project)
public FormAjaxScriptBuilder withAjaxCache(boolean ajaxCache)
public FormAjaxScriptBuilder withAjaxAsync(boolean ajaxAsync)
public FormAjaxScriptBuilder withFunctionComment(String functionComment)
public String build() throws Exception
AFormShareScriptBuilderbuild in class AFormShareScriptBuilderString form loading scriptException - on errors during the build processCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.