src/main/java/org/efaps/ui/wicket/components/footer/FooterPanel.java
private String getLabel(final ICmdUIObject _cmdObject,
                            final String _keytype)
        throws EFapsException
    {
        final String ret;
        if (DBProperties.hasProperty(_cmdObject.getCommand().getName()  + ".Button." + _keytype)) {
            ret = DBProperties.getProperty(_cmdObject.getCommand().getName() + ".Button." + _keytype);
        } else {
            ret = DBProperties.getProperty("default.Button." + _keytype);
        }
        return ret;
    }
private String getLabel(final ICmdUIObject _cmdObject,
                            final String _keytype)
        throws EFapsException
    {
        final String ret;
        if (DBProperties.hasProperty(_cmdObject.getCommand().getName()  + ".Button." + _keytype)) {
            ret = DBProperties.getProperty(_cmdObject.getCommand().getName() + ".Button." + _keytype);
        } else {
            ret = DBProperties.getProperty("default.Button." + _keytype);
        }
        return ret;
    }
Method that searches a DBProperty for the Label.

@param _cmdObject the cmd object
@param _keytype what Label should be searched
@return if found DBProperty of the CommandAbstract, else a Default
@throws EFapsException on error