Class 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:
    Serialized Form
    • Constructor Detail

      • WorkflowResourceBundleBean

        public WorkflowResourceBundleBean()
    • Method Detail

      • 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.