Class MultistepFormApp
java.lang.Object
sk.iway.iwcm.components.WebjetComponentAbstract
sk.iway.iwcm.components.multistep_form.mvc.MultistepFormApp
- All Implemented Interfaces:
WebjetComponentInterface
-
Field Summary
FieldsFields inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
cacheMinutes, device, showForLoggedUser -
Constructor Summary
ConstructorsConstructorDescriptionMultistepFormApp(FormStepsRepository formStepsRepository, FormSettingsRepository formSettingsRepository, FormsRepository formsRepository) -
Method Summary
Modifier and TypeMethodDescriptiongetAppOptions(ComponentRequest componentRequest, javax.servlet.http.HttpServletRequest request) Returns list of options for app editor in webpagevoidinit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Initialization method for custom component initialization Called every time a component is inserted into the pagevoidsetFormName(String formName) view(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) Methods inherited from class sk.iway.iwcm.components.WebjetComponentAbstract
addCurrentValueToOptions, addCurrentValueToOptions, addOptions, getCacheMinutes, getDevice, getShowForLoggedUser, getViewFolder, init, initAppEditor, setCacheMinutes, setDevice, setShowForLoggedUser, setViewFolder
-
Field Details
-
DOC_ID
- See Also:
-
PERMITTED
- See Also:
-
-
Constructor Details
-
MultistepFormApp
@Autowired public MultistepFormApp(FormStepsRepository formStepsRepository, FormSettingsRepository formSettingsRepository, FormsRepository formsRepository)
-
-
Method Details
-
init
public void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Description copied from class:WebjetComponentAbstractInitialization method for custom component initialization Called every time a component is inserted into the page- Specified by:
initin interfaceWebjetComponentInterface- Overrides:
initin classWebjetComponentAbstract
-
view
public String view(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request) -
getAppOptions
public Map<String,List<OptionDto>> getAppOptions(ComponentRequest componentRequest, javax.servlet.http.HttpServletRequest request) Description copied from class:WebjetComponentAbstractReturns list of options for app editor in webpage- Specified by:
getAppOptionsin interfaceWebjetComponentInterface- Overrides:
getAppOptionsin classWebjetComponentAbstract
-
getFormStepsRepository
-
getFormSettingsRepository
-
getFormsRepository
-
getFormName
-
setFormName
-