Package de.xima.fc.gui.builder
Class AFormShareScriptBuilder
- java.lang.Object
-
- de.xima.fc.gui.builder.AFormShareScriptBuilder
-
- Direct Known Subclasses:
FormAjaxScriptBuilder,FormApiScriptBuilder
public abstract class AFormShareScriptBuilder extends Object
Abstract base class for generating form share scripts- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanajaxAutoprotected StringcontainerIdstatic booleanDEFAULT_AJAX_AUTOstatic StringDEFAULT_CONTAINER_IDstatic StringDEFAULT_INDENTATIONstatic booleanDEFAULT_LOAD_JQUERY_FIRSTstatic StringDEFAULT_PP_ERROR_URLstatic StringDEFAULT_PP_SUCCESS_URLstatic booleanDEFAULT_PP_USE_BASE_URLstatic booleanDEFAULT_RP_FORM_ONLYstatic booleanDEFAULT_RP_INLINEstatic booleanDEFAULT_RP_KEEP_ALIVEstatic booleanDEFAULT_RP_USE_CSSstatic booleanDEFAULT_RP_USE_JQstatic booleanDEFAULT_RP_USE_UIprotected booleanloadJqueryFirstprotected StringppErrorUrlprotected StringppSuccessUrlprotected booleanppUseBaseUrlprotected Projektprojectprotected booleanrpFormOnlyprotected booleanrpInlineprotected booleanrpKeepAliveprotected StringrpThemeprotected booleanrpUseCssprotected booleanrpUseJqprotected booleanrpUseUiprotected ServerSelectionModel.Serverserver
-
Constructor Summary
Constructors Constructor Description AFormShareScriptBuilder(ServerSelectionModel.Server server, Projekt project)
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_LOAD_JQUERY_FIRST
public static final boolean DEFAULT_LOAD_JQUERY_FIRST
- See Also:
- Constant Field Values
-
DEFAULT_RP_INLINE
public static final boolean DEFAULT_RP_INLINE
- See Also:
- Constant Field Values
-
DEFAULT_RP_FORM_ONLY
public static final boolean DEFAULT_RP_FORM_ONLY
- See Also:
- Constant Field Values
-
DEFAULT_RP_USE_JQ
public static final boolean DEFAULT_RP_USE_JQ
- See Also:
- Constant Field Values
-
DEFAULT_RP_KEEP_ALIVE
public static final boolean DEFAULT_RP_KEEP_ALIVE
- See Also:
- Constant Field Values
-
DEFAULT_RP_USE_CSS
public static final boolean DEFAULT_RP_USE_CSS
- See Also:
- Constant Field Values
-
DEFAULT_RP_USE_UI
public static final boolean DEFAULT_RP_USE_UI
- See Also:
- Constant Field Values
-
DEFAULT_AJAX_AUTO
public static final boolean DEFAULT_AJAX_AUTO
- See Also:
- Constant Field Values
-
DEFAULT_PP_USE_BASE_URL
public static final boolean DEFAULT_PP_USE_BASE_URL
- See Also:
- Constant Field Values
-
DEFAULT_PP_SUCCESS_URL
public static final String DEFAULT_PP_SUCCESS_URL
- See Also:
- Constant Field Values
-
DEFAULT_PP_ERROR_URL
public static final String DEFAULT_PP_ERROR_URL
- See Also:
- Constant Field Values
-
DEFAULT_CONTAINER_ID
public static final String DEFAULT_CONTAINER_ID
- See Also:
- Constant Field Values
-
DEFAULT_INDENTATION
public static final String DEFAULT_INDENTATION
- See Also:
- Constant Field Values
-
server
protected ServerSelectionModel.Server server
-
project
protected Projekt project
-
loadJqueryFirst
protected boolean loadJqueryFirst
-
rpInline
protected boolean rpInline
-
rpFormOnly
protected boolean rpFormOnly
-
rpKeepAlive
protected boolean rpKeepAlive
-
rpUseJq
protected boolean rpUseJq
-
rpUseCss
protected boolean rpUseCss
-
rpUseUi
protected boolean rpUseUi
-
ajaxAuto
protected boolean ajaxAuto
-
ppUseBaseUrl
protected boolean ppUseBaseUrl
-
rpTheme
protected String rpTheme
-
ppSuccessUrl
protected String ppSuccessUrl
-
ppErrorUrl
protected String ppErrorUrl
-
containerId
protected String containerId
-
-
Constructor Detail
-
AFormShareScriptBuilder
public AFormShareScriptBuilder(ServerSelectionModel.Server server, Projekt project)
-
-
Method Detail
-
withRpInline
public AFormShareScriptBuilder withRpInline(boolean rpInline)
-
withRpTheme
public AFormShareScriptBuilder withRpTheme(Textbaustein rpTheme)
-
withLoadJqueryFirst
public AFormShareScriptBuilder withLoadJqueryFirst(boolean loadJqueryFirst)
-
withRpFormOnly
public AFormShareScriptBuilder withRpFormOnly(boolean rpFormOnly)
-
withRpKeepAlive
public AFormShareScriptBuilder withRpKeepAlive(boolean rpKeepAlive)
-
withPpUseBaseUrl
public AFormShareScriptBuilder withPpUseBaseUrl(boolean ppUseBaseUrl)
-
withRpUseJq
public AFormShareScriptBuilder withRpUseJq(boolean rpUseJq)
-
withRpUseCss
public AFormShareScriptBuilder withRpUseCss(boolean rpUseCss)
-
withRpUseUi
public AFormShareScriptBuilder withRpUseUi(boolean rpUseUi)
-
withAjaxAuto
public AFormShareScriptBuilder withAjaxAuto(boolean ajaxAuto)
-
withPpSuccessUrl
public AFormShareScriptBuilder withPpSuccessUrl(String ppSuccessUrl)
-
withPpErrorUrl
public AFormShareScriptBuilder withPpErrorUrl(String ppErrorUrl)
-
withContainerId
public AFormShareScriptBuilder withContainerId(String containerId)
-
withServer
public AFormShareScriptBuilder withServer(ServerSelectionModel.Server server)
-
withProject
public AFormShareScriptBuilder withProject(Projekt project)
-
build
public abstract String build() throws Exception
Builds the for loading script based on the given properties
-
getRequestData
protected String getRequestData(int indent)
-
getIndentationSpaces
protected String getIndentationSpaces(int indent)
-
-