@Override
    protected void validateParamaters() throws Exception {

        if (!isNewSearchIndex()) {
            // test the needed parameters: if initial we have "indexname", if from same widget we have name.0
            if ((getParamIndexName() == null) && (getJsp().getRequest().getParameter("name.0") == null)) {
                throw new CmsIllegalStateException(
                    Messages.get().container(Messages.ERR_SEARCHINDEX_EDIT_MISSING_PARAM_1, PARAM_INDEXNAME));
            }
        }
    }
@ Override protected void validateParamaters ( ) throws Exception { if ( ! isNewSearchIndex ( ) ) { if ( ( getParamIndexName ( ) == null ) && ( getJsp ( ) . getRequest ( ) . getParameter ( "name.0" ) == null ) ) { throw new CmsIllegalStateException ( Messages . get ( ) . container ( Messages . ERR_SEARCHINDEX_EDIT_MISSING_PARAM_1 , PARAM_INDEXNAME ) ) ; } } }
@see org.opencms.workplace.CmsWidgetDialog#validateParamaters()