src/main/java/org/efaps/ui/wicket/pages/dialog/DialogPage.java
public static String getLabel(final String _cmdName,
                                   final String _keytype)
    {
        final String ret;
        if (DBProperties.hasProperty(_cmdName + ".Button." + _keytype)) {
            ret = DBProperties.getProperty(_cmdName + ".Button." + _keytype);
        } else {
            ret = DBProperties.getProperty("default.Button." + _keytype);
        }
        return ret;
    }
public static String getLabel(final String _cmdName,
                                   final String _keytype)
    {
        final String ret;
        if (DBProperties.hasProperty(_cmdName + ".Button." + _keytype)) {
            ret = DBProperties.getProperty(_cmdName + ".Button." + _keytype);
        } else {
            ret = DBProperties.getProperty("default.Button." + _keytype);
        }
        return ret;
    }
public static String getLabel ( final String _cmdName , final String _keytype ) { final String ret ; if ( DBProperties . hasProperty ( _cmdName + ".Button." + _keytype ) ) { ret = DBProperties . getProperty ( _cmdName + ".Button." + _keytype ) ; } else { ret = DBProperties . getProperty ( "default.Button." + _keytype ) ; } return ret ; }
Method that gets the Value for the Buttons from the DBProperties.

@param _cmdName Name of the Command, that Label for the Button should be
retrieved
@param _keytype type of the key e.g. "Cancel", "Submit", "Close"
@return Label
Method that gets the Value for the Buttons from the DBProperties .