@Override
    public void setConfiguration(String configuration) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(configuration)) {
            int heightIndex = configuration.indexOf(CONFIGURATION_HEIGHT);
            if (heightIndex != -1) {
                // the height is set
                String height = configuration.substring(heightIndex + CONFIGURATION_HEIGHT.length() + 1);
                if (height.indexOf('|') != -1) {
                    // cut eventual following configuration values
                    height = height.substring(0, height.indexOf('|'));
                }
                m_height = height;
            }
        }
        super.setConfiguration(configuration);
    }
@ Override public void setConfiguration ( String configuration ) { if ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( configuration ) ) { int heightIndex = configuration . indexOf ( CONFIGURATION_HEIGHT ) ; if ( heightIndex != - 1 ) { String height = configuration . substring ( heightIndex + CONFIGURATION_HEIGHT . length ( ) + 1 ) ; if ( height . indexOf ( '|' ) != - 1 ) { height = height . substring ( 0 , height . indexOf ( '|' ) ) ; } m_height = height ; } } super . setConfiguration ( configuration ) ; }
@see org.opencms.widgets.A_CmsWidget#setConfiguration(java.lang.String)