org.apache.wicket.validation
Interface IErrorMessageSource


public interface IErrorMessageSource

Interface representing a message source that stores messages by key and can perform variable substitution.

Since:
1.2.6
Author:
Igor Vaynberg (ivaynberg)

Method Summary
 String getMessage(String key, Map<String,Object> vars)
          Retrieves a message with the given key.
 

Method Detail

getMessage

String getMessage(String key,
                  Map<String,Object> vars)
Retrieves a message with the given key.

Parameters:
key - a message key
vars - variables to substitute
Returns:
message or null if not found


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.