Package de.xima.fc.gui.builder
Class FormApiScriptBuilder
- java.lang.Object
-
- de.xima.fc.gui.builder.AFormShareScriptBuilder
-
- de.xima.fc.gui.builder.FormApiScriptBuilder
-
public class FormApiScriptBuilder extends AFormShareScriptBuilder
Generates a script for loading form via the form include API (see include.js)- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_API_ASYNC
-
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 FormApiScriptBuilder(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 propertiesFormApiScriptBuilder
withApiAsync(boolean apiAsync)
-
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_API_ASYNC
public static final boolean DEFAULT_API_ASYNC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FormApiScriptBuilder
public FormApiScriptBuilder(ServerSelectionModel.Server server, Projekt project)
-
-
Method Detail
-
withApiAsync
public FormApiScriptBuilder withApiAsync(boolean apiAsync)
-
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
-
-