Interface UserNotificationOperationBuilder.Growl

    • Method Detail

      • text

        UserNotificationOperationBuilder.Growl.Text text​(java.lang.String text)
                                                  throws ValidationException
        This method returns a UserNotificationOperationBuilder.Growl.Text instance which is able to display a user notification with a text message.
        Parameters:
        text - the text message of the growl notification
        Returns:
        the UserNotificationOperationBuilder.Growl.Text
        Throws:
        ValidationException - if the text message is not valid
        Since:
        12.13
      • html

        UserNotificationOperationBuilder.Growl.Html html​(java.lang.String html)
                                                  throws ValidationException
        This method returns a UserNotificationOperationBuilder.Growl.Html instance which is able to display a user notification with a html message. The parameter should only contain simple html elements like div, span, a, b. Not allowed are elements like iframe, embed, script, etc. Any type of script or event handler is also not allowed.
        Parameters:
        html - the html message of the growl notification
        Returns:
        the UserNotificationOperationBuilder.Growl.Html
        Throws:
        ValidationException - if the html message is not valid
        Since:
        12.13