Package de.xima.fc.gui.bean.designer
Class DesignerPreviewPageBean
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.DesignerPreviewPageBean
-
- All Implemented Interfaces:
Serializable
@ViewScoped @Named public class DesignerPreviewPageBean extends Object implements Serializable
Controller for the form preview XHTML page. That page contains an iframe with the form preview, and a debug tools dialog for displaying the form with a certain state, user group etc.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DesignerPreviewPageBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Status>
getAllStates()
Deprecated.List<BenutzerGruppe>
getAllUserGroups()
List<WorkflowState>
getAllWorkflowStates()
org.primefaces.model.TreeNode<FormFieldDataModel>
getDataRoot()
List<String>
getPagesList()
String
getPreviewUri()
String
getSelectedPage()
Status
getSelectedState()
BenutzerGruppe
getSelectedUserGroup()
WorkflowState
getSelectedWfState()
boolean
isDataRootEmpty()
void
loadFormPreviewData()
Remote command that creates the HTML for the form preview.void
sendPreviewSubmitData()
Remote command handler when a form was submitted.void
setPagesList(List<String> pagesList)
void
setSelectedPage(String selectedPage)
void
setSelectedState(Status selectedState)
Deprecated.void
setSelectedUserGroup(BenutzerGruppe selectedUserGroup)
void
setSelectedWfState(WorkflowState selectedWfState)
-
-
-
Method Detail
-
getAllUserGroups
public List<BenutzerGruppe> getAllUserGroups()
-
getAllWorkflowStates
public List<WorkflowState> getAllWorkflowStates()
-
getAllStates
@Deprecated public List<Status> getAllStates()
Deprecated.
-
getDataRoot
public org.primefaces.model.TreeNode<FormFieldDataModel> getDataRoot()
-
getPreviewUri
public String getPreviewUri()
-
getSelectedPage
public String getSelectedPage()
-
getSelectedUserGroup
public BenutzerGruppe getSelectedUserGroup()
-
getSelectedWfState
public WorkflowState getSelectedWfState()
-
getSelectedState
public Status getSelectedState()
-
isDataRootEmpty
public boolean isDataRootEmpty()
-
setSelectedPage
public void setSelectedPage(String selectedPage)
-
setSelectedUserGroup
public void setSelectedUserGroup(BenutzerGruppe selectedUserGroup)
-
setSelectedWfState
public void setSelectedWfState(WorkflowState selectedWfState)
-
setSelectedState
@Deprecated public void setSelectedState(Status selectedState)
Deprecated.
-
loadFormPreviewData
public void loadFormPreviewData()
Remote command that creates the HTML for the form preview.
-
sendPreviewSubmitData
public void sendPreviewSubmitData()
Remote command handler when a form was submitted. Reads the body of the HTTPRequest that was stored on the disk, parses it, and shows submitted data.
-
-