Class WorkflowResourceBundleBean
java.lang.Object
de.xima.fc.workflow.designer.bean.WorkflowResourceBundleBean
- All Implemented Interfaces:
Serializable
@Named
@RequestScoped
public class WorkflowResourceBundleBean
extends Object
implements Serializable
Bean for making resource bundles available to XHTML pages of the workflow designer.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormattedKeyValueText
(ResourceBundle bundle1, ResourceBundle bundle2, ISummaryKeyValueText model)
-
Constructor Details
-
WorkflowResourceBundleBean
public WorkflowResourceBundleBean()
-
-
Method Details
-
getFormattedKeyValueText
public String getFormattedKeyValueText(ResourceBundle bundle1, ResourceBundle bundle2, ISummaryKeyValueText model) - Parameters:
bundle1
- First resource bundle with messages.bundle2
- Second resource bundle with messages to try when first resource bundle does not contain the key.model
- Model with a message to format.- Returns:
- The formatted text.
-
getResourceBundleForElementInfo
- Returns:
- The resource bundle that should be used by the element info panel that is currently being shown (node or
trigger). This takes into account the
IElementHandler.getResourceBundle(java.util.Locale)
.
-
getResourceBundleForSelected
- Returns:
- The resource bundle that should be used by the currently selected workflow element (node or trigger).
This takes into account the
IElementHandler.getResourceBundle(java.util.Locale)
.
-