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 boolean
ajaxAuto
protected String
containerId
static boolean
DEFAULT_AJAX_AUTO
static String
DEFAULT_CONTAINER_ID
static String
DEFAULT_INDENTATION
static boolean
DEFAULT_LOAD_JQUERY_FIRST
static String
DEFAULT_PP_ERROR_URL
static String
DEFAULT_PP_SUCCESS_URL
static boolean
DEFAULT_PP_USE_BASE_URL
static boolean
DEFAULT_RP_FORM_ONLY
static boolean
DEFAULT_RP_INLINE
static boolean
DEFAULT_RP_KEEP_ALIVE
static boolean
DEFAULT_RP_USE_CSS
static boolean
DEFAULT_RP_USE_JQ
static boolean
DEFAULT_RP_USE_UI
protected boolean
loadJqueryFirst
protected String
ppErrorUrl
protected String
ppSuccessUrl
protected boolean
ppUseBaseUrl
protected Projekt
project
protected boolean
rpFormOnly
protected boolean
rpInline
protected boolean
rpKeepAlive
protected String
rpTheme
protected boolean
rpUseCss
protected boolean
rpUseJq
protected boolean
rpUseUi
protected ServerSelectionModel.Server
server
-
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)
-
-