Class WidgetPluginHelper
- java.lang.Object
-
- de.xima.fc.gui.designer.form.utils.WidgetPluginHelper
-
public final class WidgetPluginHelper extends Object
Utilities for handling widget plugins in the form designer, seeFormDesignerPluginBean
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.primefaces.model.StreamedContent
createPluginCssStreamedContent(long clientId)
static String
createPluginCssUrl(javax.faces.context.FacesContext context, Mandant client)
static org.primefaces.model.StreamedContent
createPluginJavaScriptStreamedContent(long clientId)
static String
createPluginJavaScriptUrl(javax.faces.context.FacesContext context, Mandant client)
-
-
-
Method Detail
-
createPluginCssStreamedContent
public static org.primefaces.model.StreamedContent createPluginCssStreamedContent(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.
-
createPluginCssUrl
public static String createPluginCssUrl(javax.faces.context.FacesContext context, Mandant client)
- Parameters:
context
- Current faces context.client
- Current client who opened the designer.- Returns:
- The URL for the resource that serves the CSS required by widget plugins.
-
createPluginJavaScriptStreamedContent
public static org.primefaces.model.StreamedContent createPluginJavaScriptStreamedContent(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.
-
createPluginJavaScriptUrl
public static String createPluginJavaScriptUrl(javax.faces.context.FacesContext context, Mandant client)
- Parameters:
context
- Current faces context.client
- Current client who opened the designer.- Returns:
- The URL for the resource that serves the JavaScript required by widget plugins.
-
-