Class 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 Detail

      • DesignerPreviewPageBean

        public DesignerPreviewPageBean()
    • Method Detail

      • getPagesList

        public List<String> getPagesList()
      • getPreviewUri

        public String getPreviewUri()
      • getSelectedPage

        public String getSelectedPage()
      • getSelectedState

        public Status getSelectedState()
      • isDataRootEmpty

        public boolean isDataRootEmpty()
      • setPagesList

        public void setPagesList​(List<String> pagesList)
      • 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.