Class FormMessage


  • public class FormMessage
    extends Object
    Message (eg. error) to be shown in form.
    Author:
    Vlastimil Elias (velias at redhat dot com)
    • Constructor Detail

      • FormMessage

        public FormMessage()
      • FormMessage

        public FormMessage​(String field,
                           String message,
                           Object... parameters)
        Create message.
        Parameters:
        field - this message is for. GLOBAL is used if null
        message - key for the message
        parameters - to be formatted into message
      • FormMessage

        public FormMessage​(String message,
                           Object... parameters)
      • FormMessage

        public FormMessage​(String field,
                           String message)
        Create message without parameters.
        Parameters:
        field - this message is for. GLOBAL is used if null
        message - key for the message