Class FormDesignerPluginBean

  • All Implemented Interfaces:
    Serializable

    @RequestScoped
    @Named("formDesignerPluginBean")
    public class FormDesignerPluginBean
    extends Object
    implements Serializable
    Bean for the form designer. Handles plugin-related functions, such as providing the JavaScript and CSS required by widget plugins.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Constructor Detail

      • FormDesignerPluginBean

        public FormDesignerPluginBean()
    • Method Detail

      • getPluginCssStreamedContent

        public org.primefaces.model.StreamedContent getPluginCssStreamedContent​(long clientId)
        Parameters:
        clientId - ID of the client for which to fetch the data.
        Returns:
        The CSS required by widget plugin for the given client.
      • getPluginCssUrl

        public String getPluginCssUrl()
        Returns:
        The URL for the resource that serves the CSS required by widget plugins.
      • getPluginJavaScriptStreamedContent

        public org.primefaces.model.StreamedContent getPluginJavaScriptStreamedContent​(long clientId)
        Parameters:
        clientId - ID of the client for which to fetch the data.
        Returns:
        The JavaScript required by widget plugin for the given client.
      • getPluginJavaScriptUrl

        public String getPluginJavaScriptUrl()
        Returns:
        The URL for the resource that serves the JavaScript required by widget plugins.