With JavaServer Faces the viewer and designer are backed by session-scoped managed beans, and each is shown on its own Facelets page.

Declare the managed beans. In faces-config.xml:
<managed-bean>
    <managed-bean-name>webviewerBean</managed-bean-name>
    <managed-bean-class>com.stimulsoft.StiWebViewerBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
    <managed-bean-name>webdesignerBean</managed-bean-name>
    <managed-bean-class>com.stimulsoft.StiWebDesignerBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
</managed-bean>

How it works. JSF manages the component lifecycle through the beans, so the viewer and designer integrate into a Faces application as ordinary managed beans.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.