@Override
    public String getWidgetStringValue(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) {

        String result = super.getWidgetStringValue(cms, widgetDialog, param);
        String configuration = CmsMacroResolver.resolveMacros(getConfiguration(), cms, widgetDialog.getMessages());
        if (configuration == null) {
            configuration = param.getDefault(cms);
        }
        List<CmsSelectWidgetOption> options = CmsSelectWidgetOption.parseOptions(configuration);
        for (int m = 0; m < options.size(); m++) {
            CmsSelectWidgetOption option = options.get(m);
            if (result.equals(option.getValue())) {
                result = option.getOption();
                break;
            }
        }
        return result;
    }
@ Override public String getWidgetStringValue ( CmsObject cms , I_CmsWidgetDialog widgetDialog , I_CmsWidgetParameter param ) { String result = super . getWidgetStringValue ( cms , widgetDialog , param ) ; String configuration = CmsMacroResolver . resolveMacros ( getConfiguration ( ) , cms , widgetDialog . getMessages ( ) ) ; if ( configuration == null ) { configuration = param . getDefault ( cms ) ; } List < CmsSelectWidgetOption > options = CmsSelectWidgetOption . parseOptions ( configuration ) ; for ( int m = 0 ; m < options . size ( ) ; m ++ ) { CmsSelectWidgetOption option = options . get ( m ) ; if ( result . equals ( option . getValue ( ) ) ) { result = option . getOption ( ) ; break ; } } return result ; }
@see org.opencms.widgets.A_CmsWidget#getWidgetStringValue(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)