boon/src/main/java/org/boon/messages/MessageUtils.java
public static String createToolTipWithNameSpace( final String namespace, final String fieldName,
                                                     final ResourceBundle bundle, final String toolTipType ) {

        String toolTip = null;
        try {
            try {
                /** Look for name-space + . + fieldName, e.g., Employee.firstName.toolTip. */
                toolTip = bundle.getString( namespace + '.' + fieldName + '.'
                        + toolTipType );
            } catch ( MissingResourceException mre ) {
                /** Look for fieldName only, e.g., firstName.toolTip. */
                toolTip = bundle.getString( fieldName + '.' + toolTipType );
            }
        } catch ( MissingResourceException mre ) {
        }

        return toolTip;
    }
public static String createToolTipWithNameSpace( final String namespace, final String fieldName,
                                                     final ResourceBundle bundle, final String toolTipType ) {

        String toolTip = null;
        try {
            try {
                /** Look for name-space + . + fieldName, e.g., Employee.firstName.toolTip. */
                toolTip = bundle.getString( namespace + '.' + fieldName + '.'
                        + toolTipType );
            } catch ( MissingResourceException mre ) {
                /** Look for fieldName only, e.g., firstName.toolTip. */
                toolTip = bundle.getString( fieldName + '.' + toolTipType );
            }
        } catch ( MissingResourceException mre ) {
        }

        return toolTip;
    }
public static String createToolTipWithNameSpace ( final String namespace , final String fieldName , final ResourceBundle bundle , final String toolTipType ) { String toolTip = null ; try { try { /** Look for name-space + . + fieldName, e.g., Employee.firstName.toolTip. */ toolTip = bundle . getString ( namespace + ' ' + fieldName + ' ' + toolTipType ) ; } catch ( MissingResourceException mre ) { /** Look for fieldName only, e.g., firstName.toolTip. */ toolTip = bundle . getString ( fieldName + ' ' + toolTipType ) ; } } catch ( MissingResourceException mre ) { } return toolTip ; }
Get the tool tip.

@param namespace Namespace is a qualifier usually the name of a Form or Entity.
@param fieldName fieldName is the name of the tool tip we want to look up.
@param bundle    bundle
@return Tool Tip from the Message Source.
Get the tool tip .